Viewing 15 posts - 9,811 through 9,825 (of 22,224 total)
To restore the database, you'll have to move everything. No options there. You can shrink it after the restore is complete. Or, you can modify the structure prior to the...
"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
May 21, 2013 at 3:55 am
Lynn Pettis (5/17/2013)
Grant Fritchey (5/17/2013)
Or just turn off intelisense and get a tool that works.
I have had to turn of SQL Prompt here at work as it sometimes fails due...
"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
May 17, 2013 at 11:31 am
I've seen issues with filtering on database name in Trace. My suggestion, switch to database id if you can. If not, the better solution, switch to extended events. They are...
"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
May 17, 2013 at 11:23 am
Or just turn off intelisense and get a tool that works.
"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
May 17, 2013 at 11:21 am
You could simply do the BETWEEN operation in your JOIN criteria within T-SQL, but you're going to have to be careful about your indexing. And, it's not an enforceable join...
"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
May 17, 2013 at 11:17 am
And look to the Cost Threshold for Parallelism. Compare that with the costs of the plans themselves. It could be that with different parameters compiled a different times, you're getting...
"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
May 17, 2013 at 11:14 am
The one difference there that's pretty likely to be the culprit are the Compute Scalar operators in that last query. That's going to have an effect. It seems a little...
"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
May 17, 2013 at 11:12 am
GilaMonster (5/17/2013)
"I know the drawbacks of nolock, in our case it cannot be avoided"Hmm...
And we have a really good reason to not run backups, to have the database in simple...
"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
May 17, 2013 at 10:54 am
Lynn Pettis (5/16/2013)
The Dixie Flatline (5/16/2013)
Brandie Tarvin (5/16/2013)
The Dixie Flatline (5/16/2013)
WayneS (5/16/2013)
Chad Crawford (5/16/2013)
The Dixie Flatline (5/16/2013)
Not to mention alternate universes.But you just did.
Darn those picky details...
But I 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
May 16, 2013 at 2:41 pm
I'm wearing a Friday shirt.
"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
May 16, 2013 at 10:48 am
dbursey (5/16/2013)
"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
May 16, 2013 at 7:51 am
There are a lot of different metrics that will tell you about memory. Many of them are available in Performance Monitor. Just go to the memory section, both on the...
"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
May 16, 2013 at 5:19 am
The statement completed events, sp_statement_completed or sql_statement_completed. You'll just need to ensure you put a filter in place to ensure you're looking at the right data. Otherwise you'll collect way...
"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
May 14, 2013 at 7:14 am
PearlJammer1 (5/14/2013)
The query with the largest numbers against it is the second one in the list:
INSERT INTO @MemStat
EXEC ('DBCC memorystatus() WITH tableresults');
From query plan: 0x06000100e090292b40e18282000000000000000000000000
*****************************************************************
Thje metrics are:
execution...
"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
May 14, 2013 at 7:06 am
PearlJammer1 (5/14/2013)
Heres what i am finding.
The alert for hash warnings is showing up against server 15 and in the Master database.
I click on 'overview', then my server (server15),...
"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
May 14, 2013 at 6:06 am
Viewing 15 posts - 9,811 through 9,825 (of 22,224 total)