On the same server where somebody had the bright idea to build their production database inside Master, I'm finding that the sqlservr process will start to eat up increasing amounts of CPU until the box eventually becomes unusable. They've been restarting it a couple times a week because of this.
So far, I've made a perfmon log of the activity, and done a SQL profile trace during the same time period, attempting to correllate. But I'm not completely sure what I'm supposed to be looking for to determine what queries are the problem.
I see a couple processes in sysprocesses that have high CPU and high waittimes, but not sure if that means much.
Basically, I'm not exactly sure how to tell which SPIDs/queries are the problem from this point. Anything obvious to look for?
So far, I've made a perfmon log of the activity, and done a SQL profile trace during the same time period, attempting to correllate. But I'm not completely sure what I'm supposed to be looking for to determine what queries are the problem.
I see a couple processes in sysprocesses that have high CPU and high waittimes, but not sure if that means much.
Basically, I'm not exactly sure how to tell which SPIDs/queries are the problem from this point. Anything obvious to look for?