How to verify normal synchronization in dataguard
How to verify whether the synchronization is normal in dataguard? for this question, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
1 、
The easiest way is to check whether the latest archive log is apply, and synchronize normally if applied is yes.
Main library sqlplus > alter system switch logfile
Repository sqlplus > select SEQUENCE#,applied,FIRST_TIME,NEXT_TIME from v$archived_log order by 1 desc
2 、
Whether the BLOCK# of the LNS process in the main library changes, and the slave database checks whether the BLOCK# of the RFS process changes. If the BLOCK# changes, it synchronizes normally.
Main library sqlplus > select PROCESS,STATUS,SEQUENCE#,BLOCK# from V$MANAGED_STANDBY where process='LNS'
Prepare the library sqlplus > select PROCESS,CLIENT_PROCESS,SEQUENCE#,BLOCK# from V$MANAGED_STANDBY where PROCESS='RFS'
This is the answer to the question about how to verify normal synchronization in dataguard. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.