We have Sql Server 2000 and some days performing a query is very slow (takes 15-20 seconds to pull up). It maxes the server processor when running. We turn on profiler and see that it takes 700,000 reads to get the data.
It is typically slow all day Monday and Tuesday morning. Then Tuesday afternoon it gets fast (less than 1 second to pull up) and remains fast through the week. Profiler returns 30 reads.
The days that are fast or slow vary. We can have a whole week of fast or a whole week of slow.
We have analyzed several things - performance on sql, hardware, but cannot come up with anything conclusive between the good and bad days. If it were a bad index we feel that it would not clear up on the same day.
Any advise on how to troubleshoot is greatly appreciated.
Thanks - Kristi
It is typically slow all day Monday and Tuesday morning. Then Tuesday afternoon it gets fast (less than 1 second to pull up) and remains fast through the week. Profiler returns 30 reads.
The days that are fast or slow vary. We can have a whole week of fast or a whole week of slow.
We have analyzed several things - performance on sql, hardware, but cannot come up with anything conclusive between the good and bad days. If it were a bad index we feel that it would not clear up on the same day.
Any advise on how to troubleshoot is greatly appreciated.
Thanks - Kristi