Viewing 15 posts - 6,406 through 6,420 (of 22,219 total)
How many pages do those indexes consist of? If it's less than 8 pages, you shouldn't even bother trying to defragment them at all because it usually won't work. If...
"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
April 8, 2015 at 8:19 pm
SQL-DBA-01 (4/8/2015)
Thanks.I will share with you my final rebuild index script.
please suggest if you see any correction or modification neeeded.
Cheers
I'll make a suggestion now, cheat and use Minion Reindex[/url] instead...
"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
April 8, 2015 at 4:13 pm
TomThomson (4/8/2015)
Grant Fritchey (4/8/2015)
Koen Verbeeck (4/8/2015)
Grant Fritchey (4/8/2015)
"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
April 8, 2015 at 4:11 pm
One the left side you can see those IFCode Shortcuts. One is ". I just highlight the T-SQL and then click on the value on the left.
"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
April 8, 2015 at 3:27 pm
From what you pasted you need to uncomment the variable declaration and set a value.
But I tested this code and it worked just fine:
DECLARE @specificDB VARCHAR(100);
SET @specificDB = 'AdventureWorks2014';
DECLARE @dbid...
"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
April 8, 2015 at 3:17 pm
You can't go down with the backups. 2014 has a different file structure than 2012 which has a different one from 2008R2, etc.
As Luis said, some functionality will work from...
"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
April 8, 2015 at 3:13 pm
If you installed it and got it failing over on your first try, you're probably already head & shoulders above most people.
The expert on clusters is Allan Hirt. He has...
"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
April 8, 2015 at 3:08 pm
I don't suppose you have before and after wait statistics on the server? It'd be good to know specifically what was causing stuff to run slow.
sp_whoisactive didn't point out anything...
"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
April 8, 2015 at 12:41 pm
Probably no real way to prevent it while using MERGE then. It just doesn't have much flexibility. You'd need to have a read in place to prevent the insert, 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
April 8, 2015 at 12:39 pm
It's a pretty good rule to not RDP into production servers unless you absolutely have to. Most of the SQL Server and database administration can be done remotely from SSMS.
tcronin...
"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
April 8, 2015 at 12:24 pm
Are there external processes running on the server like virus software? Do you have a minimum for memory? Assuming an external process started using up either CPU or memory, your...
"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
April 8, 2015 at 11:41 am
Make sure you have a unique constraint to prevent getting duplicate values.
"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
April 8, 2015 at 11:39 am
Eric Prévost (4/8/2015)
Using sqlcmd.exe is recommanded for proper error handling (From https://ola.hallengren.com/frequently-asked-questions.html):
Do the stored procedures need 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
April 8, 2015 at 9:09 am
Researching which tools to use is, depending on the size of the organization, an architecture role. Usually that's filled by people with a lot more than 2.5 years of experience....
"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
April 8, 2015 at 9:00 am
Pretty sure it's because sqlcmd expects it all to be on a single line. Since you're calling this through Agent, couldn't you skip using sqlcmd? Just asking.
"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
April 8, 2015 at 8:54 am
Viewing 15 posts - 6,406 through 6,420 (of 22,219 total)