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

Home -> Community -> Mailing Lists -> Oracle-L -> Truncate and LMT

Truncate and LMT

From: Seefelt, Beth <Beth.Seefelt_at_TetleyUSA.com>
Date: Tue, 26 Feb 2002 16:48:18 -0800
Message-ID: <F001.004195AD.20020226164818@fatcity.com>

Hi everybody,

I'm having a problem truncating tables in an LMT. The space is not deallocated when you truncate which appears to be a well documented problem on metalink. I can get around it with alter table ... deallocate unused keep 1k;

The problem I have is that the index space isn't deallocated, so when I repopulate the table, the index then takes up twice as much space as it should. The only way to fix it that i've found it to do a rebuild of the index and specify a small initial extent size.

Is there an easier to get the indexes to deallocate space? I don't want to have to know the name of each and every index to truncate and repopulate a table.

Thanks much,

Beth
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Seefelt, Beth
  INET: Beth.Seefelt_at_TetleyUSA.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Feb 26 2002 - 18:48:18 CST

Original text of this message

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