Viewing 15 posts - 2,251 through 2,265 (of 22,202 total)
I just don't like the user interface or scripting for extended events - that's the only reason I go back to profiler traces #ineedtogetoutofmycomfortzone
The scripts are better in ExEvents....
December 6, 2019 at 3:25 pm
Yes, and a history of the changes that have been made (date, person, description of change).
John
Oh, I hate disagreeing with people, but
NOOOOOOO!!!!!
Don't do this. Your procs (and all your...
December 6, 2019 at 3:20 pm
Is the index unique? That can change the choices made by the optimizer even though the index isn't used in the plan. Otherwise, I'm with Lynn, test it, post the...
December 6, 2019 at 3:11 pm
December 6, 2019 at 3:08 pm
I'm not sure how far I'd go beyond:
Name
This is what it does, in short, clear, descriptive phrases
These are the parameters
These parameters are required
These parameters have default values and here they...
December 6, 2019 at 2:59 pm
So, for actively running queries, I recommend the DMVs, sys.dm_exec_requests is a good starting point. You can join that to other DMVs to get the execution plan, the SQL statement...
December 6, 2019 at 2:55 pm
Well, just in case you have more issues like this, I'd like to recommend my books. Query tuning is a pretty vast topic. Follow the links below.
December 6, 2019 at 2:46 pm
Good article (and yeah, I know it's older, I just saw it). I'm a huge proponent of Extended Events, so it's awesome to see them getting promoted.
One note, the deadlock...
December 6, 2019 at 2:20 pm
That feeling when you want to point out that someone isn't correct about what they said, but you don't want to derail a topic and / or...
December 5, 2019 at 4:11 pm
That feeling when you want to point out that someone isn't correct about what they said, but you don't want to derail a topic and / or...
December 5, 2019 at 4:10 pm
That feeling when you want to point out that someone isn't correct about what they said, but you don't want to derail a topic and / or annoy said...
December 5, 2019 at 3:36 pm
STATISTICS_IO and TIME is not recommended to be kept ON at all the times as you rightly mentioned and should be immediately SET to OFF once we have the...
December 4, 2019 at 2:03 pm
As for the queries being slow, check out the execution plan to see how the deletes are being derived by the optimizer. It's possible to tune deletes (sometimes). You may...
December 4, 2019 at 1:28 pm
I advice to use the SET STATISTICS_IO ON and SET STATISTICS_TIME ON. It will give you simple yet meaningful info for optimizing your query or choosing the best performing...
December 4, 2019 at 1:23 pm
So, execution plans are a poor way to measure query behavior. The best way to measure query behavior is by capturing execution time, I/O and CPU. Execution plans are how...
December 4, 2019 at 1:17 pm
Viewing 15 posts - 2,251 through 2,265 (of 22,202 total)