Viewing 15 posts - 18,646 through 18,660 (of 22,219 total)
You really need to get the execution plans to understand where your bottlenecks are. It might be indexes or it might be TSQL or it might be your structure. Remember,...
"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
January 22, 2009 at 6:06 am
Built in to Management Studio is a way to view the diagram. Connect to a server. In the Object Explorer pane expand databases, pick a database and expand that. There'll...
"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
January 22, 2009 at 6:02 am
You can do an upgrade one of three ways, an inplace upgrade, as you've been discussing, a back up & restore or detach and attach. Any of the three will...
"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
January 22, 2009 at 6:00 am
krypto69 (1/21/2009)
Is it possible that my non clustereds are hurting my (after the fact) choice of clustered?
Generally speaking, no, non-clustered indexes aren't going to hurt your clustered index, but...
"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
January 22, 2009 at 5:57 am
On another reading through the code, I think I'm going to eat crow and agree. That was a better approach and I'm wrong about it. I should have looked more...
"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
January 22, 2009 at 5:46 am
I've done it both ways and either will work, but in the long run, keeping the PK name the same throughout the structure seems to lead to less confusion.
"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
January 22, 2009 at 5:45 am
I'm inclined to say the second without any data. But I've seen instances where the first can be faster.
Testing and examining the execution plans are the only way to 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
January 21, 2009 at 1:07 pm
They are two different things.
A trigger fires in response to either data manipulation, a DML trigger, or certain structural changes, a DDL trigger.
A stored procedure is a piece of TSQL...
"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
January 21, 2009 at 12:00 pm
Paul just twittered that he was finishing the first draft of the 2008 version.
"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
January 21, 2009 at 11:47 am
Bob Hovious (1/21/2009)
I don't 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
January 21, 2009 at 11:21 am
Bob Hovious (1/21/2009)
I don't 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
January 21, 2009 at 11:19 am
Lynn Pettis (1/21/2009)
GSquared (1/21/2009)
What's up with the grapes table that only has a priority column? What does that have to do...
"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
January 21, 2009 at 11:18 am
Lynn Pettis (1/21/2009)
Grant Fritchey (1/21/2009)
http://www.sqlservercentral.com/Forums/Topic640498-1291-1.aspx
No answers to the questions, no further interaction at all. I wouldn't be surprised to see...
"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
January 21, 2009 at 11:06 am
Michael Earl (1/21/2009)
Lynn Pettis (1/21/2009)
Grant Fritchey (1/21/2009)
http://www.sqlservercentral.com/Forums/Topic640498-1291-1.aspx
No answers to the questions, no further interaction at all. I wouldn't be surprised...
"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
January 21, 2009 at 11:03 am
Matthew Zuberko (1/21/2009)
I have a view which includes joins to a single table view and a single table subquery, and UDF is called in the column list. The query runs...
"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
January 21, 2009 at 10:52 am
Viewing 15 posts - 18,646 through 18,660 (of 22,219 total)