Listing General Information About Materialized View Groups
You can use the query in this section to list the following general information about the materialized view groups at the current materialized view site:
- The name of each materialized view group
- The master of each materialized view group
- The method of propagation to a materialized view group
's master, either asynchronous or synchronous - The comment associated with each materialized view group
Run the following query to list this information:
COLUMN GNAME HEADING 'Group Name' FORMAT A10
COLUMN DBLINK HEADING 'Master' FORMAT A25
COLUMN Propagation HEADING 'Propagation|Method' FORMAT A12
COLUMN SCHEMA_COMMENT HEADING 'Comment' FORMAT A30
SELECT S.GNAME,
S.DBLINK,
DECODE(S.PROP_UPDATES,
0, 'ASYNCHRONOUS',
1, 'SYNCHRONOUS') Propagation,
G.SCHEMA_COMMENT
FROM DBA_REPSITES S, DBA_REPGROUP G
WHERE S.GNAME = G.GNAME
AND S.SNAPMASTER = 'Y';
Your output looks similar to the following:
Propagation Group Name Master Method Comment ---------- ------------------------- ------------ ------------------------------ HR_REPG ORC1.WORLD ASYNCHRONOUS
No comments:
Post a Comment