June 2015
Intermediate to advanced
1800 pages
70h 6m
English
Natively compiled stored procedures can only access memory-optimized tables and currently support a smaller subset of T-SQL features as compared to the query interop engine.
The performance benefit of using natively compiled stored procedures increases with the number of rows and the complexity of the procedure code, or if the number of executions per second of the stored procedure is very high. If a procedure needs to process just a single row only occasionally, it’s unlikely to benefit much from native compilation. A natively compiled stored procedure will likely exhibit much better performance improvement than an interpreted procedure if it uses aggregation, nested-loop joins, multi-statement SELECT, INSERT ...
Read now
Unlock full access