May 2019
Intermediate to advanced
484 pages
11h 23m
English
SQL Server 2019 introduced a new DMF named sys.dm_exec_query_plan_stats, which leverages LWP by default, and like the DMF in the previous section, it also works if Standard Profiling is enabled. This DMF outputs the last known equivalent of a query execution plan for any given query whose query plan can still be found in the plan cache. In other words, every data professional can now have the last actual execution plan always available for any query.