February 16, 2016 at 2:47 am
ramana3327 (2/15/2016)
If you are not using enterprise edition, I think it would be ok with rebuild indexes weekly using maintenance plans
Don't use maintenance plans for index rebuilds, no matter what edition. The maintenance plan task is braindead and does way more work than needed.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 16, 2016 at 12:27 pm
Hallengren script rebuild/reorg the indexes based on the Index fragmentation %. It has to run everyday
For standard edition doesn't have the option to rebuild the indexes online. So we are doing weekly index rebuild instead of running everyday index maintenance also I think rebuild index requires less time and less log space compare to reorg
February 16, 2016 at 2:17 pm
ramana3327 (2/16/2016)
Hallengren script rebuild/reorg the indexes based on the Index fragmentation %. It has to run everyday
It doesn't have to. Run it when you feel you need to.
So we are doing weekly index rebuild instead of running everyday index maintenance
Nothing wrong with that. Use Ola's scripts. They won't rebuild things that don't need rebuilding. Tweak the thresholds if you want more things rebuilt and less things reorganised, but don't use the very stupid maint plans that blanket rebuild absolutely everything even if the table hasn't had a data change in 5 years.
also I think rebuild index requires less time and less log space compare to reorg
You would be wrong there.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 16, 2016 at 5:35 pm
ramana3327 (2/16/2016)
Hallengren script rebuild/reorg the indexes based on the Index fragmentation %. It has to run everydayFor standard edition doesn't have the option to rebuild the indexes online. So we are doing weekly index rebuild instead of running everyday index maintenance also I think rebuild index requires less time and less log space compare to reorg
It's actually more important to make sure your statistics are updated. Yeah, the rebuilds will do that for the indexes you rebuild but not for the indexes that you don't. Think of clustered indexes with ever-increasing leading keys. If you don't have problems with your nightly runs, you might actually slow down your GUI code by rebuilding the indexes (especially the non-clustered indexes) if the FILL FACTOR isn't correct for indexes on tables that take a lot of inserts.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 4 posts - 16 through 18 (of 18 total)
You must be logged in to reply to this topic. Login to reply