Oracle database is hanging infinitly in UPDATE queries

前端 未结 2 1514
时光说笑
时光说笑 2020-12-08 17:12

suddenly my update queries are not executing . i can make select queries but when i try to update records the database hangs infinitly. i

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 17:41

    Most likely you have another open uncommitted transaction for the same set of records, so they are locked for that transaction.

    And, most likely, you locked them, running the same UPDATE in another transaction.

    Just Commit/rollback your transactions, you should be fine.

提交回复
热议问题