June 17, 2010 at 3:16 am
Hi if i run the DBCC SHOWCONTIG( ) for the entire database
we will get huge output each table wise
Whar are the imp parameters we need to analyze
Like AVg Sacn Density etc...
please reply soon
Thanks in advance
June 17, 2010 at 3:23 am
Rather don't use showcontig. It's deprecated and will be removed in a future version of SQL. The 2005 replacement for showcontig is sys.dm_db_index_physical_stats.
The columns of interest (well, of most interest) are avg fragmentation in percent, page count, average page space used in percent.
I have a presentation that may be of some interest. http://sqlinthewild.co.za/index.php/resources/. Under PASS Community Summit 2009, the one 'insight into indexes'
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
June 17, 2010 at 3:27 am
use DMV dm_db_index_physical_stats
http://msdn.microsoft.com/en-us/library/ms188917.aspx.
Gail have alredy given advise 😎
June 18, 2010 at 12:08 am
Thanks for the replies Dudes.
the above link is not working it seems it is throwing error like
Server Error in '/' Application.
June 18, 2010 at 12:38 am
Above link is working fine just eliminate period (.).
http://msdn.microsoft.com/en-us/library/ms188917.aspx
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply