Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clustered vs. heap tables

Status
Not open for further replies.

equus2

Programmer
Mar 5, 2008
36
US
Hello,

I am trying to solve a disagreement with a coworker.

Does running DBCC REINDEX on a heap table have any effect?

My position is no, it does not. A run of DBCC SHOWCONTIG before and after shows that the statistics do NOT change whatsoever.

However, his position is that by running DBCC REINDEX will improve the performance of the index.

Who is right? :)

 
I think the short answer to this is, rebuilding non clustered indexes won't order the heap, but it can defrag the index itself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top