We are running into performance issues with our website and they want to blame our system so we have been using the plan cache to look at a few things and today we did a DBMON and I was trying to get a count of which statements they are running the most and the most run sql statement is blank. I am assuming I am doing something wrong. I guess the question is do I just ignore where qq1000 is blank or is there something else going on.
Code:
select sum(ifnull(qvp15f,1)),qq1000 from misjssql/qzg0000612 where qqjnum = 294643 and qqrid = 1000 group by grouping sets ((),(qq1000)) order by sum(ifnull(qvp15f,1)) desc
Comment