DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: standby database

  1. #1
    Join Date
    Oct 2006
    Posts
    3

    standby database

    Hi to all
    On a standby database I found unequel sequence# between two views

    select max(SEQUENCE#) from v$log_history;


    MAX(SEQUENCE#)
    --------------
    2046

    select max(SEQUENCE#) from v$log;

    MAX(SEQUENCE#)
    --------------
    2043

    The 2046 is the same as on the primary database
    Why is that? Which view is actual ?

    Platform: Lynux red hat
    Database: oracle 9.2.0.4

    Thaks
    Anukhe

  2. #2
    Join Date
    Apr 2008
    Location
    Bangalore
    Posts
    96
    Please see the definition of column sequence#

    V$LOG_HISTORY
    SEQUENCE# Sequence number of the archived log

    V$LOG
    SEQUENCE# Log sequence number

  3. #3
    Join Date
    Oct 2006
    Posts
    3
    Quote Originally Posted by Mohith123 View Post
    Please see the definition of column sequence#

    V$LOG_HISTORY
    SEQUENCE# Sequence number of the archived log

    V$LOG
    SEQUENCE# Log sequence number
    Why the sequence# I'v got is not the same between those views?

  4. #4
    Join Date
    Apr 2008
    Location
    Bangalore
    Posts
    96
    V$LOG_HISTORY
    shows the SEQUENCE# of archived redo log
    where as V$LOG
    shows the SEQUENCE# of current online redo log

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width