October 6, 2011 at 6:25 am
hi Friends,
i need help on that X index on X database is above 80% fragmented.. here is my full requirement
Please provide script to check for indexes that are in need of maintenance. We’ll want a report to tell us that X index on X database is above 80% fragmented.
Example:
SERVER Database Index Fragmentation Rows in table
ciber Capone PK_latin 81% 10000
October 6, 2011 at 6:26 am
October 6, 2011 at 6:32 am
Query sys.dm_db_index_physical_stats
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
October 6, 2011 at 6:59 am
If possible can you please provide the query? I dont have developemnt experience
October 6, 2011 at 7:10 am
Did you use the script mentioned in the link provided by Ninja's_RGR'us?
Ninja's_RGR'us (10/6/2011)
http://sqlfool.com/2011/06/index-defrag-script-v4-1
October 6, 2011 at 7:10 am
Ninja's_RGR'us (10/6/2011)
http://sqlfool.com/2011/06/index-defrag-script-v4-1
That'll find the problem indexes AND fix them. What else can you possibly need?
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply