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: Index space not freed when rows deleted?

Re: Index space not freed when rows deleted?

From: Jared Still <jkstill_at_cybcon.com>
Date: Sat, 18 Aug 2001 11:39:53 -0700
Message-ID: <F001.0037030F.20010818113608@fatcity.com>

Jay,

Index blocks can be reused, but unlike a table block, they are not reused until *all* data is removed from the block.

So if you remove most rows, it won't help if most blocks still have a pointer to a row.

Jared

On Wednesday 15 August 2001 13:48, Miller, Jay wrote:
> I'm puzzled.
> We had a table that hit maximum extents on our QA server (unlike production
> it isn't cleaned out on a daily basis). I deleted most of the rows,
> leaving only a few thousand.
> The next day, when inserting more rows I hit the maxextents exceeded error
> on an index on that table (of course the number of extents hadn't been
> reduced but I would have thought there'd be plenty of room in 121 existing
> extents after most of the rows were deleted). I rebuilt the index and it
> went from 121 extents to 1 extent, resolving the problem, but leaving some
> curiosity.
> It's a primary key sequence based index. Any ideas?
>
>
> Jay Miller

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: jkstill_at_cybcon.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 Sat Aug 18 2001 - 13:39:53 CDT

Original text of this message

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