Check status of sync to standby

Hi Guys
Whats the best way to check that your standby DB is in sync with the Primary ?
select current_scn from v$database;
Then compare the SCN numbers and ensure they are the same ?
Also archive logs need to be confirmed that they are being SHIPPED and APPLIED on standby ?
Is that enough to conclude that Standby is in sync ?
Thanks
Steve

Hi,
787789 wrote:
Whats the best way to check that your standby DB is in sync with the Primary ?
select current_scn from v$database;
Then compare the SCN numbers and ensure they are the same ?Get the RESETLOGS_CHANGE# from the primary database:
SQL> SELECT RESETLOGS_CHANGE#
FROM V$DATABASE_INCARNATION
WHERE STATUS = 'CURRENT';On the target physical standby database, identify any active standby redo logs (SRL’s)
SQL> SELECT GROUP#, THREAD#, SEQUENCE#
FROM V$STANDBY_LOG
WHERE STATUS = 'ACTIVE'
ORDER BY THREAD#,SEQUENCE#;On the target physical standby database, identify maximum applied sequence number(s).
SQL> SELECT THREAD#, MAX(SEQUENCE#)
FROM V$LOG_HISTORY
WHERE RESETLOGS_CHANGE#=< resetlogs_change# from the primary V$DATABASE_INCARNATION.RESETLOGS_CHANGE# >
GROUP BY THREAD#;The last SEQUENCE# for each THREAD# from V$LOG_HISTORY on the target physical standby database should be close (the difference in log sequences < 3) to the SEQUENCE# for each THREAD# from V$THREAD on the primary database.
Also archive logs need to be confirmed that they are being SHIPPED and APPLIED on standby ?
-- Verify that the primary has archived a log for the thread(s);
-- On the primary database issue the following;
SQL> SELECT THREAD#, MAX(SEQUENCE#)
FROM V$LOG_HISTORY
WHERE RESETLOGS_CHANGE# =
(SELECT RESETLOGS_CHANGE#
FROM V$DATABASE_INCARNATION
WHERE STATUS = 'CURRENT')
GROUP BY THREAD#;
-- Verify that the last sequence# received and the last sequence# applied to standby
-- database.
select al.thrd "Thread", almax "Last Seq Received", lhmax "Last Seq Applied"
from (select thread# thrd, max(sequence#) almax
      from v$archived_log
      where resetlogs_change#=(select resetlogs_change# from v$database)
      group by thread#) al,
     (select thread# thrd, max(sequence#) lhmax
      from v$log_history
      where first_time=(select max(first_time) from v$log_history)
      group by thread#) lh
where al.thrd = lh.thrd;>
Is that enough to conclude that Standby is in sync ?I recommend you use the Data Guard command-line interface (DGMGRL) to manage, and monitor a broker configuration.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14230/cli.htm
You can use this:
*Script to Collect Data Guard Physical Standby Diagnostic Information [ID 241438.1]*
*11.2 Data Guard Physical Standby Switchover Best Practices using SQL*Plus [ID 1304939.1]*
Monitoring Primary, Physical Standby, and Snapshot Standby Databases
http://download.oracle.com/docs/cd/E11882_01/server.112/e17022/manage_ps.htm#i1005610
Regards,
Levi Pereira

Similar Messages

  • Overdrive Media Console/iPhone Problem Resolved-"iTunes is not responding, bring iTunes to the front and check status.

    I could not download books from Overdrive Media Console from my iMac desktop. I realized if I turned off iTunes Match in my iphone, it fixed the problem. On your iphone...Go to "Setting", scroll down to "Music" and turn off iTunes Match. i Tunes match is a music subscription service that I had purchased a few weeks ago. I could not figure out when I tried to download audiobooks from Overdrive I got the following message "iTunes is not responding, bring iTunes to the front and check status". Problem solved. I hope this helps others who are experiencing the same problem!

    I'm assuming you are talking about audiobooks and if so, just download all the parts in overdrive media console then locate them in your finder. Go into Itunes and go File > Add new files to Library. Go select all the mp3s and upload them onto your library. Sync your iPhone with it and that is what has worked for me Hope this helps!

  • I downloaded a book to my Ipad and when I went to sync with Itunes on my PC- it removed the book from my Ipad, but shows it on the PC.  I have it "checked" to be synced but it still does not show up on my Ipad?  This also happened after I downloaded IOS 5

    I downloaded a book on my Ipad and after syncing to my PC, it was dropped from the Ipad, but shows up on my PC?  I have it "checked" to be synced but it will not come back onto my Ipad.  This is also after I downloaded IOS 5.1 for the Ipad.  Does anyone know why it would be dropped from the Ipad?

    Sometimes simply restarting your iTunes, the computer and the iPad is all that it takes to correct an issue like this so try that. Quit iTunes, reboot your computer, and restart the iPad. Then try the sync again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • SRM 7.0 Modify POWL for shopping cart check status screen

    HI Experts,
    The standard settings in check status for SC in SRM 7.0 is to display the sc with item level. This causes the SC number to be repeated (for no. of items in SC) and all links open the same SC in a new window.
    We want to display only the header of SC and no item data should be displayed in check status.
    I tried
    SRM Server->Cross-Application Basic Settings->POWL and Advance Search->Adjust POWL Layout,search criteria and push buttons----choose feeder type SAPSRM_FEEDER_SC -double click field catalog-choose ITEM_DESCR, ITEM_NO, ITEM_STATUS---CHOOSE display and select HIDDEN COLUMN radio button.
    This hides the corresponding columns but duplicate records are still showing.
    Can some one please help?
    Thanks,
    Anubhav

    Hi NM,
    After performing the steps in first post for hiding item relevant fields you can filter the data displayed in the result by using the BADI  /SAPSRM/BD_POWL_CHNG_SEL_RSLT .
    In the BADI Delete the records from result internal table where SC num is repeated so that thers only one entry for each SC.
    Let me know if it works for you or not.
    BR,
    Anubhav

  • I can't import photos from my PC as my Itunes does not have a check box from Syncing under the photos option?

    I am trying to import my photos from the computer. I went into ITunes, connected my Iphone and went under the photo section expecting to see a check box for syncing. It's not there and all I have is a note about Icloud. Can anyone help?

    Hello evilemma72,
    Thanks for using Apple Support Communities.
    If you do not see a checkbox to enable syncing photos, and instead see a message the iCloud Photos is on, then it indicates you have iCloud Photo Library enabled on your iPhone, and the photos already exist on your phone.  To learn more about iCloud Photo Library, take a look at the article below.
    iCloud Photo Library FAQ - Apple Support
    Take care,
    Alex H.

  • I can no longer see the top menu bar in itunes.  where you see the status of syncing.  where you have the option to click and move a song you are playing to the middle of the song, etc.

    I can no longer see the top menu bar in itunes.  where you see the status of syncing.  where you have the option to click and move a song you are playing to the middle of the song, etc.

    It's iTunes screen menubar:

  • Changing the dropdown values for one of the fields in CHECK STATUS query

    Hi,
    We are on SRM 7.1.
    In the CHECK STATUS transaction,in the selection screen(QUERY),there is a field called "ROLE" which has teh dropdown values of "APPROVE BY ME","REJECTED BY ME" and "GOODS/SERVICES DELIVERED TO ME".Is there any way some of these drowpdown values can be removed?
    Please advise.

    hi nmsrm1234
    i have a document for this issue.
    but i don´t find this document in internet. it is called : CUSTOMER-SPECIFIC UI ADJUSTMENTS IN SRM 7.0 WEBDYNRPO ENVIROMENT / META DATA HANDLING CONCEPT.
    if you can find it, you will get an idea to resolve this issue, if you will no have luck, please get me your mail, and i will send you the document.
    regards.

  • Change the input parameter in Check Status screen

    Hi,
    I have a requirment to change the input parameter option in the check status screen. Currently when we search the SC using the date and staus from the extended search it picks the SC created date and displays the SC, my requirement is to make the date as the approved date insted of SC created date with the status as aprpoved.
    Please suggest if this is possible with the help of any Badi.
    Regards
    GGL

    I managed to find the solution myself. If anyone is interested, just follow those steps here:
    http://apple.stackexchange.com/questions/44913/make-a-custom-keyboard-layout-the -system-default-even-for-the-login-screen
    (terminal skills required tho)

  • Unable to check status of Warranty Return

    ) Hi, I recently organised a return for my Zen x-fi 32gb (around 3 weeks ago) Since then I haven't heard anything, so I've tried on numerous occasions to input my RMA number in the 'check status' page but it always tells me it isn't an RMA number, even though I know it is. I was wondering if any of the mods here could help me out with this? I tried again today and the page doesn't even seem to be working at all at the moment - very annoying!

    Please check your PM.

  • Modify the Overall credit check status in Sales order

    Dear all,
    Good morning/afternoon/evening!
    I have a question that how to modify the Overall credit check status (VBUK-CMGST) in sales order when the order saved?
    I try to do this in USEREXIT_SAVE_DOCUMENT_PREPARE, but it does not works.
    Maybe I need to do this in USEREXIT_SET_STATUS_VBUK ? But i also face the problem ........
    Anybody who can give me a sufficient solution? I promise reward to you!!!
    regards,
    Brian Liu

    Hi,
      user function 1 in credit management by using
    LVKMPFZ1 (FORM USER_CREDIT_CHECK1). If you branch into function module SD_ORDER_CREDIT_CHECK you can use the coding of FORM OLDEST_OPEN_ITEM_CHECK.
    <b>Reward points</b>
    Regards

  • " change" button not visible in check status ?

    HI,
    We are under upgrade of SRM 4.0 to SRM 5.0 . In SRM 4.0 "change" button
    is visible in check status even if shopping cart is under approval
    state.
    But in SRM 5.0 "change" button is not visible in check status if
    Shopping cart is under approval state.
    Please let me know if any one face this issue.

    Hi,
    Goto SU01 and fill in the user ID for which the button is greyed.
    Navigate to role tab
    Double click on the role so that the system opens transaction PFCG
    Select the "personnalization" tab where you will find the WFL security... (don't remember exactly the name as i do not have any system right now)
    This WF security has 4 level.
    By default it is set to none
    Select level 4 for maximum authorization.
    Save, log-off from ITS access et relogon.
    Then the button won't be greyed anymore
    Kind regards,
    Yann

  • The check box for syncing apps not showing in iTunes Apps page

    My new iPad is syncing Books, iTunes U, Movies and Music but not Apps. When I look in iTunes on my iMac the option box to sync apps is not there. It just says Apps all the other pages, Music, TV Show, Podcasts etc. have a check box for syncing. Any idea why Apps does not?

    In the iTunes User Guide it shows a sync check box next to Apps as you can see it's not there.
    I do see the Sync check box for Music, Movies, etc.

  • SC still visible in check status even after GR and Invoice

    Hello all,
    We are on SRM 4.0 SP 4.0.
    Normally SCs for which GR and invoice has been done should not be visible in the SC check status application if you dont select the "Include completed shopping carts". TBut in some cases though we have selected the "Delivery Completed" indicator in backend PO but still there are some shopping carts still visible in check status application in SRM. The values for the GR and invoice should have status of "Fully confirmed".
    For such shopping carts when i manually run the report BBP_GET_STATUS_2 it replicates the correct status and the SCs disappear from the SC check status application.The BBP_GET_STATUS_2 and the CLEAN_REQREQ_UP programs are scheduled every 5 mins.
    Any hints or ideas will be much appreciated.
    Best regards,
    Sambit

    Hi Sambit,
    In Check status, in extended search check whether the incuding completed shopping carts check box was checked or not.
    If the check box was checked then even the completed shopping carts get displayed.
    Please let me know if this is not the case.
    Rgds,
    Teja

  • "change" button is not visible in check status ?

    HI,
    We are under upgrade of SRM 4.0 to SRM 5.0 . In SRM 4.0 "change" button
    is visible in check status even if shopping cart is under approval
    state.
    But in SRM 5.0 "change" button is not visible in check status if
    Shopping cart is under approval state.
    for this i have raised OSS message. SAP replied that "please increase the security level of the buyer from 1 (= no changes
    allowed) to at least 2 (=low)."
    please let me know where exactly i can change this settings?
    Thanks
    Venkatesh P

    Hi Venkatesh,
    Steps :
    1) Go to SU01 of the buyer
    2) Go to Personalization tab
    3) Double click on Personalization object key 'BBP_WFL_SECURITY'
    You will get a pop up for 'Authorization level for Authorization'
    4) Here change the securtiy level from 1(=no changes allowed) to at least 2(=low)
    <b>Reward points for helpful answers</b>.
    Regards,
    Andy

  • Accept Changes button visible in Approval link but not in Check Status

    Dear Experts,
    We are on SRM 4.0 .
    After a SC is rejected partially the requester can see the SC under Check Status link with the status In Your Inbox
    When the user clicks on the Detail icon, there is only CHANGE button but when the user clicks on Approval Link
    he can see Description as 'Your Shopping Cart xxxxxxxxx was change/rejected in part.Please Check' and when he click on the Detail icon there are two buttons at botton Accept Changes  and  Change  .
    Why is the Accept Changes button not there in detail display of SC under check status link?
    Thanks,
    Anubhav

    Hello,
    This is the standard behaviour of SRM4.0. 
    When a SC has been partially rejected the the SC goes to the requestor approval inbox. Requestor can either accept the change or he/she can change the SC and order again.
    If requestor accept the change that means requestor has been accept the rejection, so requestor will not be able to create the PO for that line item. He/she needs to change the SC depending on the approval note and order again.
    Check status transation is used for check the status of the shopping carts. Due to that reason the Accept change button is not exist there.
    Regards,
    Anindya

Maybe you are looking for