Viewing 15 posts - 2,506 through 2,520 (of 22,219 total)
After almost a year, I finally got a license for RedGate SQL Essentials. SQL Prompt is so much better than the native Intellisense. Drew
YAY!
Buy more licenses. I love making...
"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 25, 2019 at 5:17 pm
"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 25, 2019 at 5:14 pm
Local variables won't be sniffed, so you avoid parameter sniffing... Unless you're getting recompiles. Then, a local variable also gets sniffed.
Ain't query tuning fun?
"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 25, 2019 at 12:23 pm
May be a data issue. The stuff getting loaded into the temp table is not stored as a date maybe? Hard to know not seeing the data. Check the data...
"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 25, 2019 at 12:21 pm
When say standard SQL, did you hard code passing the filters or use local variables? If you hard coded the values, it's the same as parameter sniffing (it's using those...
"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 25, 2019 at 12:14 pm
It sounds like bad parameter sniffing, but you're going to have to get the plans to be sure. Without the plans, you can look at the statistics for the column(s)...
"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 25, 2019 at 11:48 am
The best tool for the job, if you want detailed query behaviors, is Extended Events. They are the least cost way to gather detailed query metrics. You only really need...
"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 25, 2019 at 11:39 am
Be honest, was this one of you? https://www.newsweek.com/drunk-poland-soviet-tank-1444475
I was on Poland recently, but no one let me drive a tank... as far as I can recall.
"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 21, 2019 at 1:33 pm
To really deal with this, you need to get some input and insight into the load process. I know you say you have zero control over it, but, that's where...
"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 21, 2019 at 12:30 pm
Let's start with the last question first, yes, an index rebuild will reduce the level of fragmentation.
First question, is fragmentation of indexes bad?
Well, probably not, no. Fragmentation hurts in a...
"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 21, 2019 at 12:19 pm
I'd need to see more specifics around this. There's nothing magically or uniquely bad or dangerous about a LEFT JOIN when manipulating data, so there's got to be more to...
"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 10, 2019 at 1:09 pm
Defining "used" may lead you to different ways of checking this. I would first get this definition so that you can understand what you then need to do to ensure...
"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 10, 2019 at 1:07 pm
Oh, god. It's really Dynamics. People were cracking jokes about this on Twitter.
Yeah, there is literally no easy way around this. Microsoft purchased this horrible piece of software and then...
"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 7, 2019 at 10:19 am
The only one of those that offers the slimmest of hopes is the log explorer. However, you better not have the log on simple recovery or that's a lost hope...
"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 6, 2019 at 7:40 pm
I will talk with developers to understand how the integrity of the data is maintained through the code without foreign keys. thank you for all the responses.
It won't...
"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 6, 2019 at 7:36 pm
Viewing 15 posts - 2,506 through 2,520 (of 22,219 total)