Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / December 2007

Tip: Looking for answers? Try searching our database.

index fragmentation and explain

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jane - 24 Dec 2007 21:18 GMT
HI,

I had one delete statement, it was running for some time, caused
fragmentation on indexes. The delete performance is getting worse.
After  reorg the indexes, the performance is getting better.

My question is I got explain before the reorg/runstats and after reorg/
runstats. The estimated costs are exactly the same..

I suppose the explain costs should be lower after reorg/runstats.

I don't understand this.

any suggestion is appreciated.

Thanks.
Dan van Ginhoven - 29 Dec 2007 15:25 GMT
Hi!

I don´t think that explain takes into consideration that the indexes may be
fragmented.
"He" assumes that the table and it´s index are well organized?
/dg

> HI,
>
[quoted text clipped - 12 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.