Viewing 15 posts - 16,126 through 16,140 (of 22,219 total)
I generally prefer several smaller tools that do jobs really well. Take for example type ahead. It's built into SSMS, but it stinks. Get a copy of Red Gate SQL...
"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
December 4, 2009 at 5:39 am
So you've got identical execution plans on identical databases on the same server, but one is running slow and the other is not?
Contention is the first thing that comes 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
December 3, 2009 at 12:43 pm
You've effectively written two different queries, and yeah, each query needs a different execution plan. Recompile is probably your best option.
"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
December 3, 2009 at 12:19 pm
fminns-1058143 (12/3/2009)
But who/what is using up the other connection?
The reason I want single user mode is because I want to try testing a restore of the master database which...
"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
December 3, 2009 at 9:13 am
fminns-1058143 (12/3/2009)
No matter what I do, and no matter how many other processes I kill off I still always get the same message telling me that only...
"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
December 3, 2009 at 8:45 am
I'm with Lynn here, spend $50 on the Developer's edition of SQL Server. If you're trying to invest in your future... $50, please.
Next, I'd recommend reading Brad McGehee's book, "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
December 3, 2009 at 8:36 am
And what happens when database A or B become terribly problematic due to size, contention, number of users, what have, and you need to move them to another server? Linked...
"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
December 3, 2009 at 8:33 am
If restarting the service doesn't clear the trace, then you've got something running within SQLAgent or as a startup script that refires it. If SQL Server is shut down, so...
"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
December 3, 2009 at 8:20 am
Generally a security policy would be defined as who has access to what information and how do you insure that this is being enforced. So you need to pieces 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
December 3, 2009 at 7:49 am
Sounds like named pipes isn't set up. I wouldn't use it personally. TCPIP should be about everything you 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
December 3, 2009 at 7:47 am
Kwisatz78 (12/3/2009)
Is your system OLTP or data warehouse?
How many cores do you have?
My system is OLTP and uses 4 cores. Currently MAXDOP is set to 0 with threshold...
"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
December 3, 2009 at 7:14 am
Depending on the volatility of the system, you could take a look at the output from the default trace. It should be available on the server with the log &...
"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
December 3, 2009 at 7:12 am
GilaMonster (12/3/2009)
One of the non-clustered index is having all the columns in that table.
Why? Is that index...
"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
December 3, 2009 at 7:11 am
Um, restarting the server would definately stop the trace unless you put it into a boot script that fires when SQL Server starts up.
Plus, that trace, that's the black box...
"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
December 3, 2009 at 7:04 am
I'm probably extremely confused, but wouldn't this do what you're looking for?
SELECT c.categoryID
,SUM(c.categoryID)
FROM @Customers c
...
"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
December 3, 2009 at 6:53 am
Viewing 15 posts - 16,126 through 16,140 (of 22,219 total)