O'Reilly logo

Microsoft SQL Server 2014 Unleashed by Paul Bertucci, Alex T. Silverstein, Chris Gallelli, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Native Compilation

Native compilation allows faster data access and more efficient query execution than normal T-SQL stored procedures which are processed as interpreted Transact-SQL. Although you may see a 2X-3X performance improvement accessing memory-optimized tables using the interop engine, the overhead of using interpreted SQL is the limiting factor in the performance improvements that can be achieved with In-Memory OLTP. Even simple interpreted T-SQL statements may still require thousands, and possibly millions, of CPU instructions to execute. Significantly greater performance can be achieved utilizing native compilation.

The first step in native compilation is to convert the row-data manipulation and access logic into C code, which is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required