Almost empty plan cache

前端 未结 1 1151
南旧
南旧 2021-01-26 01:52

I am experiencing a strange situation - my plan cache is almost empty. I use the following query to see what\'s inside:

SELECT dec.plan_handle,qs.sql_handle, dec         


        
1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-26 02:14

    The main purpose of the question is to learn the possible reasons for an empty plan cache.

    If it is to learn,the answer from Martin Smith,in the thread you referred will help you

    If you want to know in particular,why plan is getting emptied,i recommend using extended events and try below extended event

    0 讨论(0)
提交回复
热议问题