Sokrates on Oracle

Snapshot Standby Monitoring

Posted by Matthias Rogel on 22. March 2012

Assume you have a Snapshot Standby configuration: during nighttime, it is used as standby, during daytime as test / development and you have set up DB-Links from primary to standby and vice versa with the appropriate grants.

select d.database_role, dgs.* from v$dataguard_status@primary dgs, v$database@primary d
union all
select d.database_role, dgs.* from v$dataguard_status@standby dgs, v$database@standby d
where message not like ‘RFS[%]: No standby redo logfiles created’
order by timestamp desc

is a great query to see simultaneously what happened one which node


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: