Viewing 15 posts - 10,231 through 10,245 (of 22,213 total)
kent.kester (12/4/2012)
Found a typo in the Editorial Review:
My book leads you right from the basics of capturing plans, through how to interrupt them in their various...
December 4, 2012 at 7:37 am
Thinking about it a little more, you can also look at using extended events. There's actually a blocked_process_report. But, I'm not sure exactly how to modify that. I may have...
December 4, 2012 at 4:53 am
I suspect that will work.
If you query sys.dm_exec_requests, you'll see that there is a pretty easy way to spot that you have blocking:
SELECTCOUNT(*)
FROMsys.dm_exec_requests AS der
WHEREder.blocking_session_id > 0;
Now all you have...
December 4, 2012 at 4:52 am
You could, but you'd be even better served by running a query against sys.dm_exec_requests and looking for blocked processes. This will work better because instead of having to execute a...
December 4, 2012 at 4:37 am
Hmm... Don't know. I thought it was already available.
December 4, 2012 at 4:28 am
Thought of one other place where I store a lot of my scripts. My blog. I put more stuff up there than anywhere else, and it's always online when I...
December 3, 2012 at 6:15 pm
ScottPletcher (12/3/2012)
SQL should be able to easily do "simple parameterization" -- the old name, "auto-parameterization", seems clearer to me -- on that query. That is, SQL...
December 3, 2012 at 6:13 pm
I have a blog post on the basic things to look at first[/url] when you're looking at an execution plan. That's where I would start.
As to the XML plans....
December 3, 2012 at 11:58 am
Yes, that's an indication that you're probably using dynamic or ad hoc queries and every single variation of the parameter values is resulting in a different execution plan. That's really,...
December 3, 2012 at 10:46 am
I'm still confused. Is that 23,000 executions of a query, or 23,000 different query plans of a query? You keep saying "plan count" and that's where my confusion lies. If...
December 3, 2012 at 9:41 am
I'm a little confused by the question. When you say "high plan count" do you mean the number of plans in cache is high? If that's right, how are you...
December 3, 2012 at 8:59 am
Start with the statistics, absolutely. That fixes the majority of issues of this type. Running sp_updatestats will give you a basic statistics update. If you're not maintaining statistics in your...
December 3, 2012 at 8:50 am
If you do need to convert the database from the *.sqb format, we have a tool available for doing that.
If you are going to restore the master, we have some...
December 3, 2012 at 8:47 am
Much better than my approach. I keep forgetting to check Extended Events for solutions to problems like these. Thanks for posting Lowell.
December 3, 2012 at 7:04 am
To do source control management easily, you will need to introduce other tools. The two primary ones are SQL Server Database Toos (SSDT) from Microsoft. These are built into Visual...
December 3, 2012 at 6:59 am
Viewing 15 posts - 10,231 through 10,245 (of 22,213 total)