Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

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

repgroup.sql

---------------------------------------------------------------------------
-- Filename:    repgroup.sql
-- Purpose:     Lists status of all replication groups.
-- Author:      Chas. Dye (cdye@excitecorp.com)
-- Date:        28-Jun-1996
---------------------------------------------------------------------------
column MASTER           heading "Mast|Site"             format a4
column MASTERDEF        heading "Mast|Def|Site"         format a4
column STATUS           heading "Status"                format a9
column GNAME            heading "Group"                 format a12
column SCHEMA_COMMENT   heading "Comment"               format a45

SELECT  g.gname,
        decode(g.master, 'N', 'No', 'Y', 'Yes') master, 
        decode(s.masterdef, 'Y', 'Yes', 'N', 'No') masterdef,
        g.status,
        g.schema_comment
FROM    dba_repgroup g,
        dba_repsites s
WHERE   g.gname = s.gname
AND     s.my_dblink = 'Y'
/
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

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata