Oracle Consulting Oracle Training Oracle Support Development
Oracle Books
SQL Server Books
IT Books
Job Interview Books
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle


Privacy Policy




Oracle Tips by Burleson 

Monitoring Locks and Latches 

Monitoring latches and locks can be a challenge in Oracle. Just for V$LOCK DPT alone, multiple joins are usually required to get to the information you desire. I suggest running the CATBLOCK.SQL script, as it creates several useful views for locks. The CATBLOCK.SQL script is located in the /oracle/rdbms/admin directory on UNIX, and in the c:\orant\rdbmsxx\admin directory on NT. The script creates DBA_KGLLOCK, DBA_LOCK, DBA_LOCK_INTERNAL, DBA_DML_LOCKS, DBA_DDL_LOCKS, DBA_WAITERS, and DBA_BLOCKERS. I suggest executing this script with echo set to ON, since in many releases it contains errors that you must correct before it will run properly. On early Oracle7 releases, there were also problems with permissions on some of the lock views, which required that they be queried from SYS or INTERNAL only. OEM contains a detailed lock screen in the GUI, as well as an HTML-based report for locking.

See Code Depot

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster

Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   



 Copyright © 1996 -2017 by Burleson. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks