Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Question re: TRUNCATE ... REUSE STORAGE
Hi!
When truncating using REUSE STORAGE, the HWM is reset to zero and the extent information in segment headers extent map is also kept. With DROP STORAGE option the HWM is reset to zero and extent map is cleared up to minextents of the segment.
Tanel.
> I have RTFM'ed:
>
> Oracle 9.2.0.4: SQL Reference, TRUNCATE command:
>
> REUSE STORAGE
> Specify REUSE STORAGE to retain the space from the deleted rows allocated
to
> the table or cluster. Storage values are not reset to the values when the
> table or cluster was created. This space can subsequently be used only by
> new data in the table or cluster resulting from insert or update
operations.
> This clause leaves storage parameters at their current settings.
>
> Does this mean that the high-water mark is not reset? i.e., that a DIRECT
> LOAD or INSERT ... APPEND will *NOT* use the space previously used by the
> deleted rows?
>
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Jul 02 2004 - 10:38:44 CDT