Message-Id: <10589.114500@fatcity.com> From: Ronen Levit Date: Mon, 14 Aug 2000 18:03:52 +0200 Subject: RE: Index creation and locking This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C00609.3DEB40A0 Content-Type: text/plain; charset="iso-8859-1" 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@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@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@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@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). ------_=_NextPart_001_01C00609.3DEB40A0 Content-Type: text/html; charset="iso-8859-1" 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@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@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@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@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).