With SQL Developer on a 11g database, I'm trying to update a record, like this :
update table_test
set field_test = 0
where table_test_id = 64664;
The problem is that query is taking very very long. 8 minutes have elapsed without success.
Has anyone an idea about what could be wrong ?
Probably the record you are trying to update is locked by another session - quite possibly another session of yours? This session will be blocked, and will wait until the other session commits or rolls back its transaction.
TABLE_TEST_ID
the primary key of the table? DBA_WAITERS
and DBA_BLOCKERS
tables?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.