 |
|
Oracle Tips by Burleson |
Chapter 1
Oracle Instance Internals Scripts
waiters.sql
--**********************************************
--
-- Copyright © 2003 by Rampant TechPress Inc.
--
-- Free for non-commercial use.
-- For commercial licensing, e-mail info@rampant.cc
--
-- *********************************************
COLUMN
busername FORMAT a10 HEADING 'Holding|User'
COLUMN wusername FORMAT a10 HEADING 'Waiting|User'
COLUMN bsession_id HEADING 'Holding|SID'
COLUMN wsession_id HEADING 'Waiting|SID'
COLUMN mode_held FORMAT a10 HEADING 'Mode|Held'
COLUMN
mode_requested FORMAT 999999 HEADING 'Mode|Requested'
COLUMN lock_id1 FORMAT 999999 HEADING 'Lock|ID1'
COLUMN lock_id2 FORMAT a15 HEADING 'Lock|ID2'
COLUMN type HEADING 'Lock|Type'
SET LINES 132 PAGES 59 FEEDBACK OFF ECHO OFF
ttitle 'Processes Waiting on Locks Report'
SPOOL waiters
The above text is
an excerpt from:
Mike
Ault’s Oracle Internals Monitoring & Tuning Scripts
Written by the world's top DBA and author
of over 20 Oracle books, Mike Ault shares his secrets for Oracle
DBA management scripts. This handy reference is indispensable
for all Oracle professionals who must quickly automate and
manage their Oracle databases with scripts.
This stellar book comes complete with an
online code depot full of over 200 pre-tested Oracle DBA
scripts, and covers all areas of Oracle database administration
including data files, tablespace, table and index management
scripts. Based on more than 20 years full-time experience, Mike
Ault brings his expertise to the public with this fantastic
book. Your time savings from a single script is worth the price
of this great book.
http://www.rampant-books.com/download_adv_mon_tuning.htm
http://rampant-books.com/book_2003_2_audit.htm
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|