SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Maintenance Plans
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bissa
Starting Member

27 Posts

Posted - 05/09/2012 :  21:33:51  Show Profile  Reply with Quote
Hi,
I read that maintenance plan can help to improve sql performance and my server suffers from random slowdown at heavy load so maybe that can help? I never did any maintenance to my db before, it is a game server db, size is 5gb.
I tried today to check the maintenace plans but there is many options and I'm afraid I break something. Is there recommended settings to choose?
I just checked the fragmentation of the tables and they are over 50%


Edited by - bissa on 05/09/2012 23:08:38

bissa
Starting Member

27 Posts

Posted - 05/10/2012 :  01:27:43  Show Profile  Reply with Quote
I managed to rebuild and reorganize according to the statistic sql gave me, much better now but still some tables when I check the statistic says it needs rebuild and some needs reorganize, rerun the maintenance plan on them doesn't change the fragmentation %, only 4 tables showing that from 30 tables, before all 30 tables showed higher fragmentation, but now there is a progress, trying to figure how to make this 4 remaining tables.
I tried the commands manually on the specified tables but didn't change

ALTER INDEX ALL ON dbo._tablename

REBUILD WITH (FILLFACTOR = 90);

ALTER INDEX ALL ON dbo._tablename

REORGANIZE WITH ( LOB_COMPACTION = OFF )
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000