May 2019
Intermediate to advanced
484 pages
11h 23m
English
When a query is compiled, its query text and plan (the same plan that gets stored in the plan cache) are captured in Query Store's memory structures to minimize the I/O overhead. When the query's first execution completes (and any subsequent execution), runtime execution statistics are also stored in memory. In the background, an asynchronous process runs to bucketize the information in time window aggregates and stores all this data in internal tables that reside in the user database. Both the aggregation time intervals and storage for on-disk tables are configurable, and we will cover them in the Inner workings of the Query Store section of this chapter.
Storing internal tables in the user database means ...
Read now
Unlock full access