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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Bitmap index problem

Re: Bitmap index problem

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: 2000/03/21
Message-ID: <38D75572.680@yahoo.com>#1/1

boris wrote:
>
> Hi everybody.
> Is anybody know the problem like here.
> I have the table and bitmap index on this table.
> Why oracle lock the ehtire table (not the record) when I
> update,delete,insert record?
> thanks in advance.

Bitmap indexes will look all rows with the same value when you issue a DML. For example, if you have 5 distinct values and you update one, then 20% of the table is locked (until commit).

If you have 2 distinct values and you update one to another - then the whole table is locked..

This is why the doco casually mentions that bitmaps are not typically suitable for OLTP.

HTH

-- 
===========================================
Connor McDonald
http://www.oracledba.co.uk

We are born naked, wet and hungry...then things get worse
Received on Tue Mar 21 2000 - 00:00:00 CST

Original text of this message

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