Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Help:ORA-00054: resource busy and acquire with NOWAIT specified
One of our perl script, which will truncate all the tables belonging to
perlstat at the middle of night, will fail with the following error
messages:
ORA-00054: resource busy and acquire with NOWAIT specified
Because the targetted tables belonging to statspack was inserted every minuter by perfstat.snapshot.
How could I change the code so that instead of let the application fail, it will wait until the lock is released and then truncate the table? In other words, how could I turn off the NOWAIT on a table?
Thanks for your help
-- Sent by dbadba62 from hotmail subpart from com This is a spam protected message. Please answer with reference header. Posted via http://www.usenet-replayer.com/cgi/content/newReceived on Wed Apr 24 2002 - 11:23:02 CDT