Solved

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

Posted on 2008-10-27
3
328 Views
Last Modified: 2012-05-05
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
Comment
Question by:brahma007
3 Comments
 
LVL 42

Accepted Solution

by:
EugeneZ earned 50 total points
ID: 22825555
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question