Open nikmagini opened 7 years ago
More info from Kate:
On average once every two weeks this query with a bad plan is being execute by 30 sessions concurrently and causes a load so high it bring one of CMSR instances close to reboot. We are alerted by our monitoring or CMS’es monitoring team and we have to remove those sessions manually, so the impact is quite severe.
Reported by Kate from IT-DB.
The query below is used by the 'subscriptions' datasvc API.
The query below is experiencing some plan instabilities. For the moment we can propose creating an index on dataset.time_create. It might be useful to create it in the descending order, if that's how it is most frequently used.
Cheers, Kate
SELECT sp.request ,
FROM t_dps_subs_param sp