Viewing 15 posts - 1,321 through 1,335 (of 22,224 total)
Thanks Rod. Yeah, you've hit the nail on the head. While I found the hybrid model put together by the conference to work pretty well. It still didn't get the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
June 14, 2021 at 5:25 pm
Source control here will be your buddy. First, like Phil says, make darned sure every query is using the schema as a part of the query (honestly, this should be...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 20, 2021 at 12:54 pm
If you use the event auto_stats in Extended Events, you get the specific reason for the statistics update. This will let you differentiate between whatever is occurring automatically and...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 20, 2021 at 12:50 pm
Multi-Statement, Table Valued, User Defined Functions have a very useful acronym that is worth remembering:
EVIL
Yes, I know it doesn't match MSTVUDF. Doesn't mean I'm wrong.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 19, 2021 at 11:42 am
A couple of points on this.
First, in the suggested solutions, you left off the schema from the tables. Always include the schema in tables referenced in the FROM criteria. It...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 19, 2021 at 11:39 am
Good gosh, that's not a short list. You have DISTINCT and TOP in the SELECT list. ON in the JOIN criteria, plus APPLY, PIVOT and UNPIVOT. WHERE of course including...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 19, 2021 at 11:27 am
Age is just a number ...
You'll need to explain that in detail to my knees. Ha!
However, yeah, total agreement.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 17, 2021 at 11:55 am
To understand what's happening, I'd suggest capturing some metrics.
First, query performance metrics. You're posting in the SQL Server 2012 forum. Assuming that's what you're running, the best tool for the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 13, 2021 at 11:20 am
Here is a little challenge.
Look back at 10, 15 years of new feature in or around SQL Server you've learned or heard about.
What share of those features did...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 12, 2021 at 11:14 am
Yeah, and there are also a ton of checks built into DBATools. So that might be worth looking at. There are also 3rd party solutions. For example, my company,...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 11, 2021 at 11:47 am
A quick note on why creating a clustered index first and then loading the data is usually the best approach (testing is always your best friend). The clustered index defines...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 11, 2021 at 11:43 am
The recovery process can be extremely long, especially if there were long running transactions that it has to clean up. It's not unheard of for recover to take 2-3 or...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 11, 2021 at 11:39 am
Generally, I use a combination of Active Directory groups (assuming Windows), and roles to define security.
As shown above, you can grant specific actions to a role. So, do that. Least...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 11, 2021 at 11:34 am
So, I really love Policy Based Management. However, you need to know, Microsoft doesn't share my feelings. They have given that technology almost zero attention since it was originally released....
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 11, 2021 at 11:31 am
MSDN is the only way I know to have a renewable set of time in Azure for less cost. You can get a free trial, but it runs out and...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
May 10, 2021 at 3:05 pm
Viewing 15 posts - 1,321 through 1,335 (of 22,224 total)