April 22, 2010 at 1:21 am
Comments posted to this topic are about the item Rebuild/Reoganize all indexes of all databases
April 25, 2010 at 11:38 pm
[font="Verdana"]its English version please? ..... just joking !! 😀
Nice Work[/font]
April 25, 2010 at 11:56 pm
Had to change to run in SQL Server 2005. Just changed the initialization of @Loop ,@Qt and Total.
Nice script. Just want to know Which Language?
April 26, 2010 at 1:31 am
I have written this logic using sp_msforeachdb.
I need to ask Why have you used this condition
p.page_count >= 10
Is this to check if the Index is large enough to Rebuild or reorganize or any other reason?
April 26, 2010 at 5:12 am
Nice article.
I have taken exactly the opposite approch 🙂
I start out with finding all the indexes which are fragmented (30+) and then rebuild dynamic sql to actually rebuild or reorganize. These results into two sweet and short SPs + I log everyday what I find about this indexes.
April 26, 2010 at 5:22 am
May 21, 2010 at 9:14 am
After applying the alter index, out of 10 there are 8 alter statements are same - actually i ran this script twice to check there is no anything missed - so i want to know either alter with rebuild or reorganize both ran multiple times and your script suggest me to those alter statements agian and atain - I want to learn why those are not updated? where is the problem? are the indexes not properly implemented? Please help
Shamshad Ali
December 9, 2010 at 11:13 am
Hey guys, the language used is Portuguese (Brazilian Portuguese).
July 28, 2012 at 9:49 am
HI SQL Kiwi
Just want to know if the script through link runs for Index Defrag so we have to run Update statistics separately or whole script takes care of Update Statistics also?
THanks
April 7, 2015 at 3:31 pm
Hi
Can you please share the script???
Thanks.
May 19, 2016 at 7:12 am
Thanks for the script.
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply