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: Ronen Levit <RonenL_at_talmai.com>
Date: Mon, 14 Aug 2000 18:03:52 +0200
Message-Id: <10589.114500@fatcity.com>


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_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 
also send the HELP command for other information (like subscribing). 


------_=_NextPart_001_01C00609.3DEB40A0
Content-Type: text/html;
	charset="iso-8859-1"


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: Index creation and locking</TITLE>

<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=057370016-14082000>Linda,
Lisa,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=057370016-14082000>Index
update locks the&nbsp;row it updates.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=057370016-14082000>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. </SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=057370016-14082000>Bitmap
indexes are not good for updates, as they grow in space as well as locking problems. They are intended for data warehousing.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000>HTH,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=057370016-14082000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=057370016-14082000>
<P><FONT face=Arial size=2>Ronen Levit</FONT> <BR><FONT face=Arial
size=2>Database group manager</FONT> <BR><FONT face=Arial size=2>Talmai</FONT>
<BR><FONT face="Courier New" size=2>Tel:&nbsp; +972 8 9460606 #212</FONT>
<BR><FONT face="Courier New" size=2>Fax:&nbsp; +972 8 9460705</FONT> <BR><FONT
face="Courier New" size=2>Cell: +972 52 448699</FONT> </P></SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Koivu, Lisa [mailto:lkoivu_at_qode.com]<BR><B>Sent:</B> Monday, August 14, 2000 3:00 PM<BR><B>To:</B> Multiple recipients of list ORACLE-L<BR><B>Subject:</B> RE: Index creation and locking <BR><BR></DIV></FONT> <P><FONT size=2>Linda, </FONT></P> <P><FONT size=2>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.&nbsp; However, it was not consistent.&nbsp; </FONT></P> <P><FONT size=2>Heck, try it out and see what you end up with.&nbsp; Let us know.</FONT> </P> <P><FONT size=2>Lisa</FONT> </P><BR><BR> <P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From: Linda Hagedorn [<A href="mailto:Linda_at_pets.com">mailto:Linda_at_pets.com</A>]</FONT> <BR><FONT size=2>Sent: Friday, August 11, 2000 8:47 PM</FONT> <BR><FONT size=2>To: Multiple recipients of list ORACLE-L</FONT> <BR><FONT size=2>Subject: Index creation and locking </FONT></P><BR> <P><FONT size=2>Does index creation lock the underlying records or table for the duration of</FONT> <BR><FONT size=2>the creation, and subsequently interfere with other transactions, such as</FONT> <BR><FONT size=2>on-line? </FONT></P><BR> <P><FONT size=2>-- </FONT><BR><FONT size=2>Author: Linda Hagedorn</FONT> <BR><FONT size=2>&nbsp; INET: Linda_at_pets.com</FONT> </P> <P><FONT size=2>Fat City Network Services&nbsp;&nbsp;&nbsp; -- (858) 538-5051&nbsp; FAX: (858) 538-5051</FONT> <BR><FONT size=2>San Diego, California&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Public Internet access / Mailing Lists</FONT> <BR><FONT size=2>--------------------------------------------------------------------</FONT> <BR><FONT size=2>To REMOVE yourself from this mailing list, send an E-Mail message</FONT> <BR><FONT size=2>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in</FONT> <BR><FONT size=2>the message BODY, include a line containing: UNSUB ORACLE-L</FONT> <BR><FONT size=2>(or the name of mailing list you want to be removed from).&nbsp; You may</FONT> <BR><FONT size=2>also send the HELP command for other information (like subscribing).</FONT>
Received on Mon Aug 14 2000 - 11:03:52 CDT

Original text of this message

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