-
Store All Blocking Session in a Table
Hi all,
i have serious problem , i work with oracle production database(7TB). i will use Monitoring window to see the locks. my problem is to store all the blocking session in to a table so that i can analyze the session. i dont want to use audit concepts if any solution thing like trigger so that i will execute the script for every block and get the details of session (like program name,module name ) i want and store the result in a table then my manager able to analysis the data.
i want to track all the locks in oracle db automatically
Please help me in this.
Regards,
Manoj
-
you can always have a process monitoring v$lock, selecting from it whatever kind of locks you want to "monitor" then join to v$session, etc. to get further details and store such data into a table.
Last edited by PAVB; 01-05-2014 at 08:53 AM.
Reason: typo
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|