How to find the timestamp and SCN in the standby database?

Hai,
I have Oracle 9.2.0.4 RAC with 2 nodes in the production. The logs generated at these servers will be manully moved to my standby database and will be applied. To know what isthe maximum log files applied in the standby database, i am using the below mentioned query in the standby database,
Select thread#,max(sequence#) from v$log_history group by thread#
In general i am using "recover standby database until cancel" command and then checking the database with the above mentioned query whether all the logs are applied or not.
If i use time based or scn based recovery in standby database i.e., "recover standby database until time <time>" or "recover standby database until change <scn number>" , after completion of the recovery, apart from the message "Media recovery complete" or by seeing the alert log, is there any way to query the standby database, so that i can identify the time or scn upto which the archived redo log files got applied.

Hi Sridhar,
There should be some view which will have applied_scn information. There is one more option i can suggest, you can create a heart beat table in production with 2 column like scn and timestamp. Update this table every minute. From standby db you can query this table and get fair idea on applied_scn and timestamp.
While exporting you can export using flashback_scn by taking the value from heartbeat table of standby.
This heartbeat table is used very common in streams environment. Just see if this helps you.
hth,
http://borndba.com

Similar Messages

  • How to find all table and views in the database

    Hi,
    I want to find all table and view name form the database can u tell me syntax.
    i.e. I am able to find out table name and view name in sql server ...like
    FOR VIEW :
    select table_name from information_schema.views where table_name not like 'sys%'
    FOR TABLE :
    select table_name from information_schema.tables where table_name not like 'sys%' and table_type='Base table'
    Thanks & Regards,
    Shirish

    Hello,
    Take a look at "dba_tables" and "dba_views" both of which are documented here:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14237/toc.htm
    - Mark

  • How to find out PR and PO with the same requestor and approver

    object class = 'banf'
    object value = PR or PO Number.
    CDPOS - Fname ='FRGZU'
    CDHDR - Object class = CDPOS - Object class and
    CDHDR- Object id = CDPOS - Object id and
    CDHDR - Changenr = CDPOS - Changenr and
    CDPOS - Fname = Frgzu.
    This is the logic can any one help me in getting the code

    HI Param
      I am somewhat confused with your requirement, is it to find the same reqested/ approver or to check the release status of PR/PO as you are using field FRGZU which indicates the release status of PR/PO.
      Anyhow as per below conditions:
      OBJECTCLAS is 'EBAN' for PR and 'EINKBELEG' for PO. Note that itz case-sensitive, hence use upper case.
      OBJECTID is the document number
      Please try to use FM: CHANGEDOCUMENT_READ for the same. This might be more convinient for you. Also try to restrict with date criteria.
    Kind Regards
    Eswar

  • I cannot eject a CD from my MacBook Pro.  I tried restarting the computer and holding down the mouse and restarting it to no avail.  On Finder, nothing is showing up on the CD Drive.  Any ideas on how I can eject it?

    I cannot eject a CD from my MacBook Pro.  I tried restarting the computer and holding down the mouse and restarting it to no avail.  On Finder, nothing is showing up on the CD Drive.  Any ideas on how I can eject it?

    How force eject disc: Apple Support Communities
    Mac Mini: Eject DVD Apple Support Communities
    https://www.macupdate.com/app/mac/49129/forceject-too
    Get help with the slot-loading SuperDrive on your Mac computer - Apple Support

  • HT1391 Hi can anyone tell me how to find out what and when my last purchases were made from the App Store ? I think my kids used all my credit

    Hi can anyone tell me how to find out what and when my last purchases were made from the App Store ? I think my kids used all my credit

    .from iTunes, go to View > Show sidebar
    From sidebar > Itunes Store > Click top left on your Apple ID email address > Account > ...scroll down > Purchase History > View All

  • TS1702 I purchased PDF printer before upgrading my iPad software, but when I upgraded the software and searched in the purchased applications, I did not find it. How can I restore it?

    I purchased PDF printer before upgrading my iPad software, but when I upgraded the software and searched in the purchased applications, I did not find it. How can I restore it?

    Flamingo50 wrote:
      I have an iPad (1)  can you not upgrade the software to anything higher than 5.1.1? 
    Correct. The iPad 1 can only go as far as iOS 5.1.1

  • I lost my iPhone, but it's been more than 24 hours so iCloud won't let me see the last known location of the device, and i need the map of it's last know location to find the phone, how do i get the map of it's last known location?

    I lost my iPhone, but it's been more than 24 hours so iCloud won't let me see the last known location of the device, and i need the map of it's last know location to find the phone, how do i get the map of it's last known location?

    It's not likely to re-connect to a network lying on the ground somewhere and getting rained on, it would be really great if I could see that map again so I could use it's last known location to find it.  Kind of pointless to have a 24 hr killswitch deadline.  If I had known I would have taken a screen-shot while I still had access to the information.  Since I lost the phone at Canada's Wonderland (which is now closed for the season) I don't have access to the location where I lost the phone (under a roller-coaster probably), and so I wanted to send the Lost And Found people a screen-shot of it's last known location, but I guess I can't do that now.  (Apple are big jerks)

  • I have a macbook pro core i7 mid 2012 And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve t

    I have a macbook pro core i7 mid 2012
    And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve this problem and thank you

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged after the boot, during the time something abnormal was happening. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    For example, if the problem is a slow startup taking three minutes, post the messages timestamped within three minutes after the boot time, not before. Please include the BOOT_TIME message at the beginning of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • How to find when index was created in the database.

    Hi,
    Please help me, how to find when index was created in the database. It should give with date and time.
    Thanks... Bakser

    Please help me, how to find when index was created in the database. It should give with date and time.DBA_/ALL/User_objects Created
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(128)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                           DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    select OBJECT_NAME,TIMESTAMP,CREATED  from ALL_OBJECTS where OWNER='OWNERNAME' AND OBJECT_NAME='OBJECT_NAME' AND OBJECT_TYPE='INDEX';Edited by: Anantha on Apr 21, 2009 3:18 PM
    Edited by: Anantha on Apr 21, 2009 3:19 PM

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • I have three Safari icons. Two in the dock and one on the desktop. How do I eliminate them?

    I have three Safari icons. Two in the dock and one on the desktop. How do I eliminate them?
    One from the dock and the one on the desktop.

    nezzer wrote:
    the desktop item will not delete or "move to trash"
    In Finder, select the item. Choose File > Get Info (or do ⌘I). Look under General > Kind. Does it read "Alias" or does it read "Application (Intel)"?
    If the latter, then it is likely that you're not allowed to delete because it's actually open. Quit Safari. Check if there is an item called Safari in your </Applications> folder. (In Finder, you can get directly to the Applications folder using ⇧⌘A -- that's Shift-Command-A.) Check if it's an application. If it is, then you have an unneeded copy of Safari. You can delete the one on your Desktop. If there isn't, them move the one on the Desktop to the Applications folder -- that's where it belongs.
    If you're new to the Mac, consult
    Mac 101
    <http://www.apple.com/support/mac101/>
    If you're coming in from the Dark Side, consult
    Switch 101: On Windows, I used to...
    <http://support.apple.com/kb/HT2514>

  • Somehow my iTunes app has been put into the trash.  How can I get this and all of the stuff that was in it back to my Application folder?  I try to drag it out of trash, but it won't work.

    Somehow my iTunes app has been put into the trash.  How can I get this and all of the stuff that was in it back to my Application folder?  I try to drag it out of trash, but it won't work.

    Also, when I do try to drag it out of the Trash to put it back into Applications (on the Finder sidebar), it asks me to authenticate with the administration password.  I enter it, and then a window appears saying that I can't do that because I do not have permission to modify iTunes.  Please help.

  • When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    When I right click on a link "Open link in new tab" since a few days, it "jumps over" the tab to the right and opens in the tab next to that. How can I change this back to opening in the tab next to the page from which I opened as it used to be?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

  • How to find out which data control do the page layout components come from?

    hi,
    work in Jdev 11.1.2.3
    After have drag and drop data control into pages designer, how to find out which data control do the page layout component (such as a field in form layout) come from?
    --i cannot find data control related information in the property pallete for the page layout component.
    Regards.

    This information can be found in the page definition file.
    Select the field in the page and then click the binding tab.

Maybe you are looking for

  • ITunes Content missing from Music Player on iPhone

    Certain iTunes content that I sync to my iPhone 4 is present on the device, but missing from certain categories in the Music Player. For example, I have an many albums from the The Rolling Stones, when I search by artist, pull up The Rolling Sones, c

  • Basic siebel information

    Hello , I just want to get basic knowledge for siebel crm. Is this siebel CRM open source? What about the licensing of Siebel ? I am looking for open source CRM in java. So can anyone suggest me any other open source CRM in java?

  • Don't have access to XP partition after Lion upgrade

    I was running an XP partition via bootcamp with no problems on my 2011 MBP under Snow Leopard but after updating to Lion I cannot load XP. When I try to boot into XP I am prompted to activate windows. When I try I get an error that I don't have inter

  • Mac-mini looses wired ethernet connection

    Hey out there. I know this topic has been covered, however i could not find a solution that works for me. Last week I bought a intel mac-mini and got home and happily connected it to my wireless router (this all went fine) I am using a Asus wl500g ro

  • Stock transport order in CO-PA

    Hi, Is there a way to have (outbound) stock transport orders posted to CO-PA, much like sales orders are visible there. TIA Raf