Viewing 15 posts - 11,266 through 11,280 (of 22,224 total)
It sounds like a case of bad parameter sniffing, but you can't be sure unless you investigate. You'd need to capture the two execution plans, one for when it's fast,...
"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
February 16, 2012 at 5:59 am
Yeah, if you have 2005, you can run a backup on one machine and then restore it to the other. That's about the easiest way to move a whole database...
"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
February 16, 2012 at 5:53 am
I'd cheat.
Get a copy of Red Gate SQL Compare and just capture the data that exists in one database, but not the other. Very easy that way. But then, I'm...
"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
February 16, 2012 at 5:51 am
Ah, you have a parallel execution deadlock. Here's a blog detailing this one. It is hard to troubleshoot. The article should help. This is frequently a bug and there's possibly...
"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
February 15, 2012 at 9:37 am
Rowles (2/14/2012)
Here are some differences between derived tables and CTEs:
1) CTEs lend themselves to recursive approaches. Where as derived tables would generally...
"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
February 15, 2012 at 5:27 am
You can also see the compile time values in the execution plan itself. Always check the first operator (SELECT for a query, INSERT/UPDATE/DELETE, as appropriate). That shows compile time parameter...
"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
February 15, 2012 at 5:21 am
If you click on the Deadlock Alert in SQL Monitor it should bring up a window that has the basic deadlock information in it.
You can see the victim 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
February 15, 2012 at 4:42 am
I wouldn't modify anything until the migration was done and successfully implemented.
"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
February 14, 2012 at 12:43 pm
Absolutely use the Upgrade advisor as Jeff says. That has to be step 1. If it identifies issues, address them first.
Run a backup. You want to be absolutely safe during...
"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
February 14, 2012 at 5:08 am
Even the new AlwaysOn capabilities with SQL Server 2012 that include asynchronous updates are still just mirrors of the main database, not historical beyond the delay of the asynchronous updates....
"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
February 13, 2012 at 7:30 am
GilaMonster (2/13/2012)
Dev (2/13/2012)
Just for clarity, what do you mean by "duplicating database is beter than taking backups"?Hot / Warm standby servers.
Those are HA/DR, not backups. They're great...
"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
February 13, 2012 at 7:06 am
Try using OR in the WHERE clause. See what happens 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
February 13, 2012 at 6:04 am
Blocking is a part of the process of the system. You need to define your transactions such that they are as small and as short as possible. Tune the queries,...
"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
February 13, 2012 at 5:12 am
Worth pointing out, if you have some money to spend, another way around this issue is to look at a third party tool like Red Gate Virtual Restore[/url]. It allows...
"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
February 12, 2012 at 7:21 am
Dev (2/12/2012)
"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
February 12, 2012 at 7:14 am
Viewing 15 posts - 11,266 through 11,280 (of 22,224 total)