Viewing 15 posts - 7,336 through 7,350 (of 22,219 total)
So you mean a foreign key constraint that allows nulls versus one that does not? Yes, changing to not allowing null values could be more difficult because you'll have 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
October 19, 2014 at 6:57 am
First is the LEFT JOIN as described above, but second, compound primary keys. The JOIN criteria could simply require multiple columns. I've seen lots and lots of uses for multiple...
"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
October 19, 2014 at 6:55 am
Contention for resources? Not sure without more information. Have you looked at the blocks and wait resources of the process while it's running? That's where I'd start in order 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
October 19, 2014 at 6:51 am
Sounds useful to me. I worked for an insurance company where we had to maintain our data in just such a manner with differing versions of data with differing effective...
"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
October 19, 2014 at 6:49 am
OR can lead to scans on the index because multiple levels of testing are needed and you can't simply seek for values because of that. Depending on the use of...
"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
October 17, 2014 at 3:56 pm
A case statement in the SELECT list that just picks a value based on simple input shouldn't negatively impact performance. It's when you start putting all sorts of additional 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
October 17, 2014 at 3:54 pm
Yeah, you nailed it. The extra bites are in the balanced tree of the index. But your napkin calculation should be fine for most purposes.
"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
October 17, 2014 at 3:52 pm
You might want to look at SQL Compare by Red Gate Software. It can compare objects between two databases, between scripts and a database, backup and a database or source...
"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
October 17, 2014 at 10:47 am
It's actually a new thread from a divergence on another thread.
I'd say you need to define "down." Can SQL Server sit there chugging away with CPU hovering near 100% for...
"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
October 17, 2014 at 10:41 am
Bing worked, but only returned a single hit.
"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
October 17, 2014 at 9:05 am
If you're experiencing pain from Profiler, trace is one option, but since you're in 2008, you can use extended events. These are even more lightweight than trace and filter much...
"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
October 17, 2014 at 9:01 am
Ratheesh.K.Nair (10/16/2014)
Thanks Everyone for the inputs.
Databases don't time out. Does the Profiler gui put a substantial load on a system that can cause memory issues, leading to blocking causing timeouts?...
"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
October 17, 2014 at 7:34 am
But if there is a SQL Server 2012 instance, you can download and install SQL Server Management Studio for no cost. Actually, I don't even think you need to have...
"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
October 17, 2014 at 6:08 am
I'd suggest a combination of capturing query performance metrics using extended events, and monitoring what is using tempdb by looking at sys.dm_db_session_space_usage dynamic management view. You need to know what...
"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
October 17, 2014 at 6:06 am
And lanyrd is up to date now.
"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
October 17, 2014 at 5:53 am
Viewing 15 posts - 7,336 through 7,350 (of 22,219 total)