![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
#3
| |||
| |||
|
|
"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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |