Oracle 物理 DG 转 ADG 步骤

DataGuard 物理备库,正常为 mount 状态,如果想要进行查询,需要转为 ADG,即 read only 状态!

在开启为 read only 之前,需要给备库添加 n+1 组的 standby redo log!

查询主库的 redolog :

set line222
set pagesize1000
col member for a60
select t2.thread#,t1.group#,t1.member,t2.bytes/1024/1024 from v$logfile t1,v$log t2 where t1.group#=t2.group# order by 1,2;

   THREAD#     GROUP# MEMBER							   T2.BYTES/1024/1024
--------

你可能感兴趣的:(DBA日常小知识,oracle)