Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 368
  • Last Modified:

how to analysis trace table data before and after table rebuild index

hi,
i have 4 tables with data before rebuild index and after rebuid index of 2 table each.
i named tables as bad1, bad2,  good1 and good2.
obviously the performance increased after rebuild index with dbreindex
how can i know what is eaxtly happened after rebiulding index
how i can analysis data to know the reasons
i am using standard edition 2005
0
brahma007
Asked:
brahma007
1 Solution
 
Eugene ZCommented:
to see indexers fragmentation.. before and after try to use
sql server 2005 sys.dm_db_index_physical_stats
2000/2005
dbcc showcontig
 check
How to Detect Table Fragmentation in SQL Server 2000 and 2005 By : Satya Jayanty
http://www.sql-server-performance.com/articles/per/detect_fragmentation_sql2000_sql2005_p1.aspx
-----
 http://msdn.microsoft.com/en-us/library/ms175008(SQL.90).aspx
more
Script: SP To Run DBCC SHOWCONTIG On All Tables
By Paul Matthews
http://www.databasejournal.com/features/mssql/article.php/1442901
 
http://www.sqlknowledge.com/index.php/articles/37-perfmornace-tuning/57-dbcc-showcontig- 
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now