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 creation and locking

RE: Index creation and locking

From: Linda Hagedorn <Linda_at_pets.com>
Date: Mon, 14 Aug 2000 13:02:13 -0700
Message-Id: <10589.114538@fatcity.com>


Hi Ronen,  

The question was what kind of locks/latches/contentions I could expect at index creation. But thanks just the same.  

Regards,  

Linda

-----Original Message-----

From: Ronen Levit [mailto:RonenL_at_talmai.com] Sent: Monday, August 14, 2000 10:04 AM
To: Multiple recipients of list ORACLE-L Subject: RE: Index creation and locking

Linda, Lisa,  

Index update locks the row it updates.  

Bitmap indexes though, as they use different mechanism, locks the block it updates, and because the bitmap index holds lots of information in one block, it means lock of large amount of data.  

Bitmap indexes are not good for updates, as they grow in space as well as locking problems. They are intended for data warehousing.  

HTH,   Ronen Levit
Database group manager
Talmai

Tel:  +972 8 9460606 #212 
Fax:  +972 8 9460705 
Cell: +972 52 448699 

-----Original Message-----

From: Koivu, Lisa [mailto:lkoivu_at_qode.com] Sent: Monday, August 14, 2000 3:00 PM
To: Multiple recipients of list ORACLE-L Subject: RE: Index creation and locking

Linda,

I have seen this happen with 'resource busy and acquired with nowait specified' error returned to a user trying to query a table while (bitmap) index creation is running. However, it was not consistent.

Heck, try it out and see what you end up with. Let us know.

Lisa

-----Original Message-----

From: Linda Hagedorn [ mailto:Linda_at_pets.com <mailto:Linda_at_pets.com> ] Sent: Friday, August 11, 2000 8:47 PM
To: Multiple recipients of list ORACLE-L Subject: Index creation and locking

Does index creation lock the underlying records or table for the duration of

the creation, and subsequently interfere with other transactions, such as on-line?

-- 
Author: Linda Hagedorn 
  INET: Linda_at_pets.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
Received on Mon Aug 14 2000 - 15:02:13 CDT

Original text of this message

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