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

Home -> Community -> Usenet -> c.d.o.server -> Re: Calculating HWM(Table)

Re: Calculating HWM(Table)

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Sun, 03 Sep 2006 10:08:55 +0200
Message-ID: <i83lf2dmgno3k2ne1ndttoev6cvhgleg7d@4ax.com>


On 3 Sep 2006 00:01:47 -0700, "beersa" <sabeer.oracle_at_gmail.com> wrote:

>Can anyone clarify me the following doubts?
>A table size is 2M. After deleting some rows(1M), the size is still 2M.
>Why?

Because 2M has been allocated. You would need to deallocate unused *segments* (not *blocks*) using the alter table deallocate unused statement
>After moving the table to different tablespace, the size is reduced to
>1M, why?

Because all rows are inserted again, and they are contiguous after the insert
>How can measure the size of a table without calculating its high water
>marks spaces?

You can't
>
>Thanks&Cheers
>
>BEERSA

--
Sybrand Bakker, Senior Oracle DBA
Received on Sun Sep 03 2006 - 03:08:55 CDT

Original text of this message

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