dbTalk Databases Forums  

ORA-00054: resource busy... - what on Earth?

comp.databases.oracle comp.databases.oracle


Discuss ORA-00054: resource busy... - what on Earth? in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
harry
 
Posts: n/a

Default ORA-00054: resource busy... - what on Earth? - 08-05-2004 , 06:57 AM






Using Oracle 8i, when I issue * (seems to be random number of times) number
of update statements my app hangs while waiting to execute the next update
statement.

If I try then to drop any table I get -

DROP TABLE project CASCADE CONSTRAINTS
*
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified

I have to restart the server to clear this!

It appears my UPDATE statments are locking tables, absolutely no idea why -
is there something I should be specifying/setting somewhere to prevent this?

thanks

harry



Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: ORA-00054: resource busy... - what on Earth? - 08-05-2004 , 08:51 AM







"harry" <a (AT) abc (DOT) com> wrote

Quote:
Using Oracle 8i, when I issue * (seems to be random number of times)
number
of update statements my app hangs while waiting to execute the next update
statement.

If I try then to drop any table I get -

DROP TABLE project CASCADE CONSTRAINTS
*
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified

I have to restart the server to clear this!

It appears my UPDATE statments are locking tables, absolutely no idea
why -
is there something I should be specifying/setting somewhere to prevent
this?

thanks

harry


If you do not have FKs indexed, you will get a table lock instead of a row
lock.




Reply With Quote
  #3  
Old   
harry
 
Posts: n/a

Default Re: ORA-00054: resource busy... - what on Earth? - 08-05-2004 , 09:12 AM



Thanks for the replies so quickly, I don't have any FK's indexed at the
moment - this looks like the cause then?

I'm going to put indexes now on every single one of them & see if it makes a
difference!

thanks


"Alan" <alan (AT) erols (DOT) com> wrote

Quote:
"harry" <a (AT) abc (DOT) com> wrote in message
news:vgpQc.128$jZ1.1667187 (AT) news-text (DOT) cableinet.net...
Using Oracle 8i, when I issue * (seems to be random number of times)
number
of update statements my app hangs while waiting to execute the next
update
statement.

If I try then to drop any table I get -

DROP TABLE project CASCADE CONSTRAINTS
*
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified

I have to restart the server to clear this!

It appears my UPDATE statments are locking tables, absolutely no idea
why -
is there something I should be specifying/setting somewhere to prevent
this?

thanks

harry



If you do not have FKs indexed, you will get a table lock instead of a row
lock.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.