July 2012
Intermediate to advanced
478 pages
10h 3m
English
In this chapter we will cover:
When a query, a batch, or a stored procedure is submitted to SQL Server for execution for the first time, the query gets parsed and then compiled. The result of a compiled query is a query plan that is cached in the procedure cache. The procedure cache is a portion of memory that SQL Server allocates to cache its query plans.
When the query is executed, an execution plan with its execution context is derived from the cached query plan, in order to save time during query execution, because ...
Read now
Unlock full access