Hi everyone,
got a strange occurrence that takes place often and I wondered if anyone had come across this type of behavior before.
I have a test server that is running SQL 2005 sp4 (don't believe the version is the cause), it's running on a esxi VM which I don't actually have control over.
every couple days, the customer will report that the system is running slow. I check the server, and find that SQL is running at 90%+ of the CPU...constantly.
checking activity monitor, I see that the queries are the same select queries that the site would run every day for testing. Except, that now, it's taking a minute plus to execute.
I have to then run a reindex (with online= ON, for them to continue using the DB), and that takes about 2 minutes, and then the CPU is back to normal and the same select queries take less than a second to complete.
This is a very small DB (maybe about 3 gigs), and the fragmentation of the indexes are hardly anything to note.
My initial thought was that maybe the site is using Vmotion or some ESXi feature that's somehow causing the DB to get into this state. But, it's only a theory at this point.
wondering if anyone has come across this type of behavior before and can shed some light or tips for me to track the issue down.
thanks!