Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Defragmenting a database

RE: Defragmenting a database

From: Gaja Krishna Vaidyanatha <gajav_at_yahoo.com>
Date: Wed, 11 Oct 2000 15:14:54 -0700 (PDT)
Message-Id: <10646.119023@fatcity.com>


Vivek,

What I mean is that when the import is done, brand new blocks are allocated for the table and each block is filled upto PCTFREE, thereby utilizing each block to its maximum potential. Which means, if previously there were 10000 blocks with an average of 10 rows in each block, assuming that 100 rows can fit in 1 block, the new table after the import will contain 100 blocks. The result is that you have a much smaller table (decreased high water mark) and also any chained/migrated rows would be fixed (within reason). You are getting rid of both block-level and row-level fragmentation here.

The honeycombing effect I was referring to, usually relates to the "free space" in the datafile(s), but if you think about it, if a table has undergone multiple iterations of deletes and inserts, it is possible (based on its PCTUSED value),that honeycombing could occur even within a block.

Hope that helps,

Gaja


Gaja Krishna Vaidyanatha
Director, Storage Management Products, Quest Software Inc. Received on Wed Oct 11 2000 - 17:14:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US