View and remove blocked sessions in Oracle

Source: Internet
Author: User

View and remove blocked sessions in Oracle

For more information about how to view and remove Oracle blocking sessions, here we will only talk about the operation steps, not the principles.

Session 1 update object ticket not submitted

When Session 2 is updated, it is blocked because it waits for the tx lock of the session1 lock to update the row.

When Session 3 is updated, the tx lock waiting for the session1 lock to update the row is also blocked.

The root cause of the problem can be obtained through the following query.

We can see that both sid 100 and sid 33 are requesting the tx lock in mode6 (exclusive mode) and are in a blocking queue.

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.