Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Appendix B. Scripts and Utilities

This appendix contains a collection of scripts and utilities that I find useful when administering distributed systems. Many of the scripts are described, or at least mentioned, in this book. Each contains a brief description of its function. Although I have tested these scripts and utilities and use them on a regular basis, platforms and configurations differ, so be sure to test them in your own environment. These scripts and utilities are also available at the O’Reilly web site; see the Preface for details.

busycirc.sql

---------------------------------------------------------------------------
-- Filename:    busycirc.sql
-- Purpose:     Provides stats indicating whether or not a given circuit
--              is overly taxed in a Multi-Threaded Server environment.
-- Author:      Chas. Dye (cdye@excitecorp.com)
-- Date:        6-Aug-1998
---------------------------------------------------------------------------
column server   heading "Server"                             format a8
column circuit  heading "Name"                               format a8
column status   heading "Status"                             format a8
column message0 heading "Bytes|in|First|Msg|Buf"             format 9,999
column message1 heading "Bytes|in|Second|Msg|Buf"            format 9,999
column messages heading "Messages|Processed"                 format 999,999
column queue    heading "Queue"                              format a10
column bytes    heading "Bytes"                              format 9,999,999
column breaks   heading "Brks"                               format 999
 
SELECT  server,
        circuit,
        status,
        queue,   
        message0,
        message1,
        messages,
        bytes, 
        breaks 
FROM    v$circuit
ORDER BY server 
/
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata