Microsoft SQL Server 2014 Unleashed
by Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access