Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Question re: TRUNCATE ... REUSE STORAGE
The highwater mark is set to nothing, but all the acquired space is kept.
(Wow. KEEP storage sure seems like an unambiguous way to say that, when I
read REUSE I always have to think whether the re-use is for the current
table {keep it} or everything {release it to the tablespace for everyone to
use}. But I digress. Sigh.)
mwf
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Leslie Tierstein
Sent: Friday, July 02, 2004 11:37 AM
To: oracle-l
Subject: Question re: TRUNCATE ... REUSE STORAGE
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?
(Sorry, don't have an environment set up right now in which I can test.)
Leslie Tierstein
Senior Consultant
Vision Chain, Inc.
The first software to power the demand data network
phone: 202-261-3549
![]() |
![]() |