August 16, 2019 at 10:24 pm
Hi,
I' have query running an avg 14 seconds every time it gets executed and I'm trying to find what that session is waiting for.
I'm using sp_whoisactive procedure and I'm seeing wait_info as NULL. What does that mean? how to find what this session is waiting for?
August 17, 2019 at 11:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
August 19, 2019 at 3:09 am
It means it's not waiting on anything. Since you're doing more than 4 million reads (more than 31GB of I/O), you likely have some performance challenged code that needs to be reworked.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2019 at 8:09 pm
Thanks Jeff,
How did you convert 4 million reads to 31 GB of IO ?
August 19, 2019 at 9:59 pm
A logical read is an 8K page. Divide the reads by 128 to get the MB. Divide by 1024 to get GB.
Sue
August 20, 2019 at 12:17 am
Thanks Jeff,
How did you convert 4 million reads to 31 GB of IO ?
A logical read is an 8K page. Divide the reads by 128 to get the MB. Divide by 1024 to get GB.
Sue
Just to clarify what Sue wrote... dividing the number of pages by 128 will return the number of MB the pages represent. You would have to divide THAT number of MB by 1024 to get GB. Or, you can just divide by 131,072, which is 128*1024.
So, 4,075,902 / 131,072 = ~31.096664GB.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply