Viewing 15 posts - 9,376 through 9,390 (of 22,214 total)
You should look to the execution plan to understand what is happening in your query and how the optimizer is choosing to select your data.
October 30, 2013 at 7:42 am
Lots of NOLOCK in there. That's scary.
One thing you can do that will immediately help performance, whether you keep the recompile in place or not. The IF statement puts the...
October 30, 2013 at 7:33 am
Right with you til #5 Kevin. NEVER use ALWAYS and ALWAYS avoid NEVER. 😛
October 30, 2013 at 6:31 am
Not seeing the query, I can't say what's going on, but, on a guess, you're probably seeing some sort of bad parameter sniffing issue where the plan you generated after...
October 30, 2013 at 6:28 am
Total Memory is the amount that SQL Server has allocated. Your average server will allocate as much memory as it can and then keep it. So this counter will generally...
October 30, 2013 at 6:25 am
thisted (10/30/2013)
October 30, 2013 at 5:59 am
Tune the queries should always be the first option. Deadlocks are primarily a performance related issue.
Another option is to look at using one of the snapshot isolation levels, read_committed_snapshot for...
October 30, 2013 at 4:26 am
Yep, you got it.
One point. You might want to consider skipping reorganize. For most indexes it doesn't do much, but is still a fairly costly operation. For detailed testing on...
October 30, 2013 at 4:23 am
Open a command window and try running the command directly from there. That will allow you to see the window and error messages as they occur. Another option is to...
October 30, 2013 at 4:21 am
Jeff Moden (10/29/2013)
Chad Crawford (10/29/2013)
October 29, 2013 at 8:19 pm
Kurt W. Zimmerman (10/29/2013)
I ran into this very same problem a number of years ago. I was managing a database on a hosted/managed service. Turned out that the...
October 29, 2013 at 11:30 am
You have a disconnected differential and full backup. Some other process is running full backups between the time you ran yours and you ran the differential. You won't be able...
October 29, 2013 at 8:44 am
Assuming you're monitoring your servers, you know that server X is under some stress for CPU and this new app looks like it might have lots of recompiles, so it...
October 29, 2013 at 4:50 am
Steph Locke (10/28/2013)
October 28, 2013 at 8:12 am
Oops. My bad. I typed it from memory. No quotes around the d. You can look up more about DATEADD here.
October 26, 2013 at 5:12 am
Viewing 15 posts - 9,376 through 9,390 (of 22,214 total)