Solved

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

Posted on 2008-10-27
3
317 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

896 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now