Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check for DB sync

2790985Nov 15 2015 — edited Nov 17 2015

Hi ,

I suppose both primary and standby DB's are not in sync as below. Could you please check and confirm?

How to sync them if both DB's are not in sync?

In primary

SQL> select max (sequence#) from v$archived_log; MAX(SEQUENCE#)

--------------------------------------------------------------------------------

         44406

SQL> archive log list

Database log mode              Archive Mode

Automatic archival             Enabled

Archive destination            /app/orcl10p/admin/ORCLP/arch

Oldest online log sequence     44405

Next log sequence to archive   44407

Current log sequence           44407

In standby

SQL> select max (sequence#) from v$archived_log; MAX(SEQUENCE#)

--------------

         44377

SQL> archive log list

Database log mode              Archive Mode

Automatic archival               Enabled

Archive destination             /app/orcl10p/admin/ORCLP/arch

Oldest online log sequence     44376

Next log sequence to archive   0

Current log sequence            44378

Oracle -- 11.2.0.3.0

OS      --- AIX

This is standalone DB.

Regards,

Bala

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2015
Added on Nov 15 2015
6 comments
6,077 views