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: High Water Mark, Free Block List, ORA - 01653

Re: High Water Mark, Free Block List, ORA - 01653

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 12 Nov 2004 06:35:55 -0800
Message-ID: <2687bb95.0411120635.6c0c9051@posting.google.com>


"Jonathan Lewis" <jonathan_at_jlcomp.demon.co.uk> wrote in message news:<cn0gr9$ogc$1_at_sparta.btinternet.com>...
> --
> Regards
>
> Jonathan Lewis
>
>
> "KFWebb" <kfwebb_at_mindspring.com> wrote in message
> news:2fd52da9.0411111012.5c4528e6_at_posting.google.com...
> > Mark.Powell_at_eds.com (Mark D Powell) wrote in message
> > news:<2687bb95.0411101242.6301e04a_at_posting.google.com>...
> >> kfwebb_at_mindspring.com (KFWebb) wrote in message
> >> news:<2fd52da9.0411100722.a5ae3dd_at_posting.google.com>...
>
> > --Version/Platform--
> > Oracle version 8.1.7 running on Solaris
> >
> > In fact the table does have a LONG datatype, and a LOB as well. I
> > know the LONG is deprecated, we want to migrate away from it,
> > and Oracle is limited to one LOB type per table I believe.
>
> One LONG, but multiple LOBs.
>
>
> > resources. With that said I am a bit confused by your response. If
> > a block has been released as a result of record deletion and placed
> > on the free block list, and all remaining records have storage
> > already allocated then why wouldn't the free space be available for
> > new INSERTs that presumably require as much storage as the previously
> > deleted records?
>
> The problem comes at insert time - when you try to insert a row,
> Oracle checks the top block on the freelist to see if the row will
> fit without exceeding the 'pctfree' target for the block; if it can't,
> the block is taken off the free list and the next block checked.
> This happens a total of 5 times before Oracle shifts the high water
> mark to allocate 5 new blocks
>
> Unfortunately, if your LONGs are really long, then a row with a
> long will always cause blocks to get knocked off the freelist like
> this. It was partly for this reason that the LOB types were introduced.

It looks like Jonathan beat me to the reply with a nicely detailed explanation at that.

Received on Fri Nov 12 2004 - 08:35:55 CST

Original text of this message

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