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 -> Tx lock problem with bitmap index

Tx lock problem with bitmap index

From: Saikat Chakraborty <saikatchak_at_hotmail.com>
Date: Wed, 18 Dec 2002 14:58:07 +0000 (UTC)
Message-ID: <1f619969025c2aa41c6f1e8ef513c8b6.16981@mygate.mailgate.org>


Hi,
I am facing a possible oracle limitation in Oracle 8.1.6 (Solaris 7) in bitmap index. Unfortunately upgrade is not an option. The problem is as follows:

create table atest
(
a varchar2(10),
b number(10)
);
 I created a bitmap index on the column a. No Primary key or any constraint is present on the table. Now from two separate sessions, I issue the same insert statement:

insert into atest values('A',10);

If the first session does not commits, the second insert gets locked. Tracing shows only the insert is locked. Looks like the Bitmap index can not work with concurrent two inserts. But does not inserts should not be locked?
Recreating the indexes as B-tree index makes the problem go away. Any insights will be helpful.

Thanks and Regards,

Saikat Chakraborty

-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Received on Wed Dec 18 2002 - 08:58:07 CST

Original text of this message

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