May 3, 2016 at 12:07 pm
I have 10 Database in 1 server and I want to rebuild/reorganize index.
I want to capture all the average fragmentation before and after rebuilding Index for entire DB. Does anyone has script for that.
Steps need to be performed.
-Insert all the data prior to rebuild for all 10 DB
-Rebuild/reorganize for all 10 DB on same server
-Insert all the data after it got rebuilt the indexes.
Nita
May 3, 2016 at 12:23 pm
Here are two options, but there are more available.
May 3, 2016 at 12:37 pm
You'll find some scripts that you can alter as needed here as well.
-- Itzik Ben-Gan 2001
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply