Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20490

Re: Old Query Plans

$
0
0

It could be that the plan hash didn't change so DPA is not gathering the plan text. If you clear the plan text from the database it should force the new plan text to be recollected.

 

select id, name from cond; -- note the id for the instance name in question

select PLAN_HASH_VALUE,PIECE,QUERY_PLAN_XML from conspt_<id from cond> where plan_hash_value = '<our hash value>'

 

If you remove the rows for this plan you should get the new plan text on next collection. Note, we highly recommend backing up the DPA/Ignite table (conspt_id) prior to doing this.


Viewing all articles
Browse latest Browse all 20490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>