My friend Franck Pachot noticed that EM12c doesn’t show the blocking sessions across all RAC nodes. Let’s check if we can find them using EM12c. I have connected to first node of our RAC database, created a sample table, inserted a row, committed, and then deleted the row. While the session is open, I opened another terminal, connected to second node and tried to delete the rows in same table so my second session started to wait for the transaction of my first session completed.
I opened the main page of the cluster database, selected “blocking sessions” under the performance menu.
As Franck told, I couldn’t see any blocking sessions although I checked both instances.
I clicked the link for the instance locks, still no lock!
So I clicked “cluster database lock” and voilà! I found my blocking session. It’s for sure that there should be a short cut to reach this page but I couldn’t find it yet. If I found the short cut, I’ll update my blog.