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: Deallocate unused (above high water mark)

Re: Deallocate unused (above high water mark)

From: Richard Foote <richard.foote_at_bigpond.com>
Date: Thu, 13 May 2004 23:20:21 +1000
Message-ID: <005701c438ed$0b8dbf20$0100000a@FOOTE>


Hi Mladen,

Blocks that have been emptied are *not* considered empty blocks. Empty blocks are only those of the Drew Barrymore variety.

Simple test. Analyze table after you've deleted all the rows and check out the (lack of) difference in the empty_block count.

Cheers

Richard
----- Original Message -----
From: "Mladen Gogala" <mladen_at_wangtrading.com> To: <oracle-l_at_freelists.org>
Sent: Thursday, May 13, 2004 3:45 AM
Subject: Re: Deallocate unused (above high water mark)

Blocks that have been emptied are also considered empty blocks. Alter table deallocate
unused deallocates blocks that, just like Drew Barrymore, have never been kissed or touched
in any other way. It's the same distinction as made by RMAN: it diligently writes the blocks
that have been emptied, but not the blocks that have never been (ab)used.

On 05/12/2004 12:36:08 PM, Sergei wrote:
> Good morning Oracle gurus,
>
> Could somebody please explain why after 'alter table deallocate unused'
> my user_tables view still shows empty blocks?
> At the same time, dbms_space.unused_space procedure shows 0 empty blocks.

--
Mladen Gogala
Oracle DBA



Note:
This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information.  No
confidentiality or privilege is waived or lost by any mistransmission.  If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Wang Trading LLC and any of its subsidiaries each reserve the
right to monitor all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized to
state them to be the views of any such entity.

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------



----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
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 Thu May 13 2004 - 08:13:47 CDT

Original text of this message

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