Viewing 15 posts - 4,921 through 4,935 (of 22,227 total)
szejiekoh (3/29/2016)
Grant Fritchey (3/28/2016)
"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
March 29, 2016 at 11:34 am
Yeah, Jacob has it nailed. Because it's a calculated column, it's performing the calculation before doing the filtering in the first plan. The second plan, with stored data and no...
"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
March 29, 2016 at 10:22 am
I have not done this, but according to this web site[/url], you may not be on the right cumulative update. Make sure you've got that set, then try again.
"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
March 29, 2016 at 8:48 am
The default value of the cost threshold for parallelism is very low (5), but 1000 seems excessively high. Depending on the system, I've seen the value moved to somewhere between...
"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
March 29, 2016 at 8:44 am
You've gotten some good feedback. I especially like Brad's Checklist. It's very complete.
The one thing you'd really want to focus on, is what is it the company thinks it needs....
"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
March 29, 2016 at 8:38 am
If you use powershell, don't get hung up on the naming standard. Just go for the latest date. You can read that property from the files.
"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
March 29, 2016 at 8:30 am
You're kind of on the wrong tack.
What's going on is your code is preparing statements and then executing those statements. The prepare itself is a very minor operation (low reads,...
"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
March 28, 2016 at 6:57 am
If you set up your backups to go to multiple files, you will need those files for the restore. Using multiple files, on multiple drives, is a mechanism for speeding...
"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
March 28, 2016 at 6:48 am
And the execution plan for the update query.
There's no way to simply guess what is happening. You have to gather metrics to understand and the one metric that describes how...
"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
March 26, 2016 at 8:08 am
Yep. Sachin has it right. Once the log chain is broken, you have to reset.
"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
March 26, 2016 at 8:07 am
Execution plans to understand why this is occurring would be helpful.
"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
March 26, 2016 at 8:04 am
Not precisely. It's just a question of running a query against the database or server through a SQL Agent Job. There isn't that much to it. Agent can run independent...
"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
March 26, 2016 at 7:58 am
You should be able to do anything with other mechanisms without having to use SSIS. I'm really not aware of anyone who uses SSIS as a monitoring tool. I'll 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
March 25, 2016 at 10:02 am
From what I can tell, the statement complete is just the definition of the prepared statement that the sp_execute command is going to run. There are differences between the slow...
"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
March 25, 2016 at 8:16 am
I go to hit reply and see Luis has not only answered the question (better than I was going to), but has also raised my biggest concern, it doesn't sound...
"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
March 25, 2016 at 7:09 am
Viewing 15 posts - 4,921 through 4,935 (of 22,227 total)