Database Administration (MOSC)

MOSC Banner

Script to find the sid and serial # of the session holding specific object table/trigger with status

edited Jan 9, 2020 3:07PM in Database Administration (MOSC) 4 commentsAnswered ✓

Hi all

Good day

Background of my issue - I'm getting blocking session when I run  rebuild index online on my database. During that time there are no jobs running on the database(basically sunday night , quite time).

When investigated further I see that the blocking is happening on a specific table/object  when rebuilding is happening on a specific index related to that table and the session is inactive .

Need the following

1. How can I proactively get the sid ,serial# of the session which is holding this object before the rebuild index starts  so that I can kill that session .

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center