Detect archivelog gap through gv$archived_log or GV$ARCHIVE_DEST_STATUS

I am trying to set up a physical standby.
Version 11.2.0.1,Single instance.
Platform - Linux     X86-64
After setting up, when i execute the following queries, there is a difference in the output with reference to archivelog gap. Any inputs why these 2 views report different numbers.
SQL> SELECT   a.thread#,  b. last_seq, a.applied_seq, a. last_app_timestamp, b.last_seq-a.applied_seq   ARC_DIFF FROM (SELECT  thread#, MAX(sequence#) applied_seq, MAX(next_time) last_app_timestamp FROM gv$archived_log WHERE applied = 'YES' GROUP BY thread#) a,      
(SELECT  thread#, MAX (sequence#) last_seq FROM gv$archived_log GROUP BY thread#) b WHERE a.thread# = b.thread#;
   THREAD#   LAST_SEQ APPLIED_SEQ LAST_APP_TIMESTAMP
ARC_DIFF
1    
59     
59 21-JUL-2013 09:09:05     
0
SQL> select INST_ID,DEST_NAME,STATUS,RECOVERY_MODE,ARCHIVED_THREAD#,ARCHIVED_SEQ#,APPLIED_THREAD#,APPLIED_SEQ#,DB_UNIQUE_NAME
   from GV$ARCHIVE_DEST_STATUS
where DEST_NAME in ('LOG_ARCHIVE_DEST_3');
  2
3
   INST_ID DEST_NAME            
STATUS
RECOVERY_MODE      
ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ# DB_UNIQUE_NAME
1 LOG_ARCHIVE_DEST_3   
VALID
MANAGED                           
1       
59          
1      
57 db101pln

Hi,
I checked some sequence have 4 entries in V$archive_log and some have only 2 entries.
Below is an example:
select g.RECID, stamp, name, dest_id, thread#, sequence#, first_time, next_time, creator, standby_dest, archived, applied, deleted, status, completion_time  from v$archived_log g where g.SEQUENCE# in(37716, 37507);
RECID
stamp
name
dest_id
thread#
sequence#
first_time
next_time
creator
standby_dest
archived
applied
deleted
status
completion_time
87812
874501675
+FRA/preprod/archivelog/2015_03_16/thread_1_seq_37507.12440.874501675
1
1
37507
3/16/2015 12:37
3/16/2015 13:07
ARCH
NO
YES
NO
NO
A
3/16/2015 13:07
87811
874501674
PRESTDBY
2
1
37507
3/16/2015 12:37
3/16/2015 13:07
LGWR
YES
YES
YES
NO
A
3/16/2015 13:07
86961
874134695
PRESTDBY
2
2
37507
3/12/2015 6:41
3/12/2015 7:11
LGWR
YES
YES
YES
NO
A
3/12/2015 7:11
86962
874134695
1
2
37507
3/12/2015 6:41
3/12/2015 7:11
ARCH
NO
YES
NO
YES
D
3/12/2015 7:11
87809
874501674
PRESTDBY
2
2
37716
3/16/2015 12:37
3/16/2015 13:07
LGWR
YES
YES
YES
NO
A
3/16/2015 13:07
87810
874501675
+FRA/preprod/archivelog/2015_03_16/thread_2_seq_37716.12712.874501675
1
2
37716
3/16/2015 12:37
3/16/2015 13:07
ARCH
NO
YES
NO
NO
A
3/16/2015 13:07

Similar Messages

  • Firefox is showing "Server not found" when Fedora 14 NetworkManger is detecting ppp connection through wireless broadband modem

    Hi,
    I am using Wireless broadband modem. Network manager is detecting the modem and successfully acquring an ip through ppp0. But Firefox is showing "Server not found". I have found that /etc/resolv.conf is updated properly. And ping or nslookup on some url like www.google.com is working from terminal. So it seems either firefox is not able to use DNS or ppp connection. I have also tried by disabling eth or lo. But of no use.

    See this thread: here.
    However, please don't use 192.168.0.2 for the router but 192.168.137.2 instead. Home sharing uses 192.168.137.1 on the sharing computer instead of 192.168.0.1 as it was in earlier Windows versions.
    To make the change, unplug the WRT from your network. Wire your second computer to a LAN port of the WRT.
    Open the web interface at http://192.168.1.1/
    On the main setup page, change the LAN IP address from 192.168.1.1 to 192.168.137.2.
    On the same page, disable the DHCP server.
    Save settings.
    Unplug the computer. Now wire one of the numbered LAN ports of the WRT to your home sharing computer.
    That's it.

  • Ipad 4 ios6.1 not being detected on itunes through wifi.

    Hey guys, i don't know what's effing problem is with the itunes??
    i have enabled the wifi sync option though, still my ipad is not being detected on the itunes.
    Once in a while i restarted my ipad and then the ipad was detected. I transferred some of the files and then closed the itunes. After a while i opened the software again and got the same issue..
    please help.
    Thanks

    you have to make sure both your wifi router and the computers firewall are not blocking the ports used for wifi sync with itunes

  • How To Detect The DTMF Through The Sound Card

    Hi all
    This is my university project.
    Can anyone tell me how can i get the digit from wave stream with DTMF coming through sound card or standard sound device.
    i have to play voice as per caller key press.

    Hmm... Well. if it were me I'd Google "java dtmf decode" and hope that someone's already done the work.

  • Detecting HTTPS connection through WL4.5 NSAPI plugin?

    ello,
    I've looked around the newsgroups and on the support site for
    similar threads but I haven't found any that have asked this question
    yet.
    We have a weblogic 4.5 instance listening for requests on 8000 via
    the NSAPI plugin and Netscape Enterprise Server. NES is handing off all
    requests for JSP pages to the WL plugin.NES's http port is 80, and for
    https, 443. In both cases, traffic gets directed to WL port 8000 (in raw
    text). I've got all that under control.
    The problem is that for some of the JSP's that are "secure", we want
    to require that certain pages only be accessible via https. But I
    haven't found a satisfactory way of doing that yet, because due to the
    NSAPI plugin everything comes to WL with URL's starting with "http"....
    The best that I can come up with to detect differences between
    whether a connection is secure is that a few request headers show
    slightly different info. But I'm not sure if these differences are
    consistent and reproducible, or just due to my development setup.
    Note: My development setup is the same as described above except
    NES' http port is 7080.
    request.getHeader("host"): HTTP: "wintermute:7080" HTTPS:
    "wintermute"
    request.getServerPort(): HTTP: "7080" HTTPS: "8000".
    Everything else that I've queried for shows either identical or
    non-existent values, e.g.,
    request.getScheme() : "http" (for both HTTP and HTTPS)
    request.getAuthType() : "" <nothing>
    The Sun J2EE spec says that HttpServletRequest also has an
    "isSecure()" method but it doesn't exist on my setup...
    Will these differences hold up consistently (I assume the NSAPI
    plugin is rewriting some headers)? Is there a better way to do this?
    Any and all help is greatly appreciated.
    Jack Lin

    From the very little I know about NSAPI you can doctor the incomming url
    prior to forwarding it to WLAS. One solution would be to prefix the url
    with /secured/ so that wlas can determine that the page is sucure based on
    the incomming request URI. I will be playing with the soon and let you know
    how I go :)
    Cheers
    Rob
    "Jack Lin" <[email protected]> wrote in message
    news:[email protected]...
    So is there a way I can do this in 4.51?
    Jack
    Cameron Purdy wrote:
    Hmm ... I did not realize you were not on 5.1 ... sorry.
    Cameron Purdy
    "Jack Lin" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for the response.
    Actually I did try that based on the Sun Servlet API specs, but
    for
    whatever reason, that method doesn't appear to exist inHttpServletRequest.
    This is the error I get.
    Method isSecure() not found in interface
    javax.servlet.http.HttpServletRequest.
    out.print(weblogic.utils.StringUtils.valueOf(request.isSecure()
    )); //[ jsp/unit_test/headers.jsp; Line: 24]
    ^
    Just to make sure I wasn't doing something really stupid, I did.
    Class foo = request.getClass();
    And after stripping out the set...() functions and extra method
    signature
    junk
    I saw only this list of methods.
    getRequestURI()
    getServletPath()
    getPathInfo()
    getPathTranslated()
    getAttribute(java.lang.String )
    getAttributeNames()
    getQueryString()
    getProtocol()
    getServerName()
    getServerPort()
    getRemoteUser()
    getRemoteAddr()
    getRemoteHost()
    getAuthType()
    getHeader(java.lang.String)
    getIntHeader(java.lang.String,int)
    getIntHeader(java.lang.String)
    getDateHeader(java.lang.String,long)
    getDateHeader(java.lang.String)
    getHeaderName(int)
    getHeader(int)
    getHeaderNames()
    getRealPath(java.lang.String)
    getInputStream()
    getCharacterEncoding()
    getScheme()
    getCookies()
    getSession()
    getSession(boolean)
    getRequestedSessionId()
    isRequestedSessionIdFromCookie()
    isRequestedSessionIdFromURL()
    isRequestedSessionIdFromUrl()
    isRequestedSessionIdValid()
    I'm just assuming that the Sun specs are kind of pie-in-the-sky,
    this-is-how-it-should-be guidelines.... either that or Weblogic is
    doing
    something funky with the request object? We're using JDK1.2.1_03.
    There is an additional clarification to the message I posted. Tosee
    those
    two differences in getServerPort() and getHeader("host"), I hit the
    two
    urls:
    http://wintermute:7080/headers.jsp
    https://wintermute/headers.jsp
    So, duh, of course i makes sense that the two methods returneddifferent
    information. Once I replaced the https url with
    https://wintermute:443/headers.jsp
    I was left with identical information.
    So now the only solution I can think of (kind of ugly, but not a
    big
    deal)
    is that I "identify" secure connections on the production environment
    by
    having http URLs w/out a port, and then having the https URLs includethe
    ssl
    port. I think it will work consistently.... but I'd love to be able tohide
    that :443....
    Jack
    Cameron Purdy wrote:
    Have you tried request.isSecure()? That is what I would try first,
    but
    I
    would give it 50/50 odds based on the information you have provided.
    Cameron Purdy
    "Jack Lin" <[email protected]> wrote in message
    news:[email protected]...
    ello,
    I've looked around the newsgroups and on the support site for
    similar threads but I haven't found any that have asked this
    question
    yet.
    We have a weblogic 4.5 instance listening for requests on 8000via
    the NSAPI plugin and Netscape Enterprise Server. NES is handingoff
    all
    requests for JSP pages to the WL plugin.NES's http port is 80, and
    for
    https, 443. In both cases, traffic gets directed to WL port 8000(in
    raw
    text). I've got all that under control.
    The problem is that for some of the JSP's that are "secure",
    we
    want
    to require that certain pages only be accessible via https. But I
    haven't found a satisfactory way of doing that yet, because due to
    the
    NSAPI plugin everything comes to WL with URL's starting with"http"....
    The best that I can come up with to detect differences between
    whether a connection is secure is that a few request headers show
    slightly different info. But I'm not sure if these differences are
    consistent and reproducible, or just due to my development setup.
    Note: My development setup is the same as described above
    except
    NES' http port is 7080.
    request.getHeader("host"): HTTP: "wintermute:7080" HTTPS:
    "wintermute"
    request.getServerPort(): HTTP: "7080" HTTPS: "8000".
    Everything else that I've queried for shows either identicalor
    non-existent values, e.g.,
    request.getScheme() : "http" (for both HTTP and HTTPS)
    request.getAuthType() : "" <nothing>
    The Sun J2EE spec says that HttpServletRequest also has an
    "isSecure()" method but it doesn't exist on my setup...
    Will these differences hold up consistently (I assume theNSAPI
    plugin is rewriting some headers)? Is there a better way to dothis?
    Any and all help is greatly appreciated.
    Jack Lin

  • I can't get the gap tool to work right

    Hi,
    I just bought InDesign which I'm attempting to use to create a book with 500+ pics.  A big selling point was the new gap tool which was supposed to make the interface significantly more practical for working with lots of images.  Unfortunately I can't seem to get it to work right.  It looks to me like a bug in the gap detection algorithm.
    What's supposed to happen according to the video tutorials is that when you position the cursor between frames, the space between them changes to a brown color and the cursor changes.  This allows you to click and drag to change the gap.  In my documents, when I try this, it rarely detects the gap between frames.  So the cursor remains a circle with a slash through it.  If I keep moving the cursor around the frame edges for 30 secs or more, it sometimes briefly detects the gap and indeed allows dragging.  It's very frustrating and time consuming because if the cursor is moved just a pixel or two, it loses the gap and the cursor reverts to the circle/slash before I have a chance to click/drag the gap.
    I've tried using different kinds of objects, different frame thicknesses, colors, different spacings between frames...all sorts of things.  It seems a little harder for it to find vertical gaps than horizontal gaps.  Anyway, does anyone know if this is a known bug?
    I'm running XP Pro SP3 on a 3.4 GHz P4, 4GB, Intel chipset.  Just ran the latest Adobe update to ID CS5 7.0.3.
    Any help appreciated.  Thanks.

    Update:
    Thanks for the tips, folks.  I think I solved the problem, or at least came up with a work-around.  I manually rebuilt the preferences as folks suggested.  This did not fix the gap problem at all, for my existing document.  But interestingly, it seemed to fix it for any new photos/frames I added.
    After several more hours of troubleshooting, I traced the problem to some graphics on my master page.  My master page has a rectangular border running around the page, composed of four lines, intersecting at the ends.  Most of my photo frames touch at least part of this border.  It seems that this structure was interfering with ID's gap detection algorithm, causing it to get flakey and intermittently miss gaps.  After trying many things I was able to get the gap tool working reasonably reliably by moving the ends of the lines so that they no long touch each other.  Now the border rectangle is four lines which don't form a seamless shape.  This allows it to work around 95% of the time.  Of course, deleting this border fixes it 100% but I need that border (it's on a non-printing layer but I still need it for guide purposes).  This fix works even with my old preferences restored.
    So the lesson is, if you want to use the gap tool on frames, make sure they're not near or touching other graphics like lines or rectangles or the gap tool will act flakey.  As a footnote, fixing this did not solve my other problems like Auto-fit, Alt-drag not copying single pages and the duplicated pages being shifted left and right.  One down, three to go.  Thanks again, folks.
    Message was edited by: Peddle4ever
    Case closed.

  • Photo Downloader does not detect Thunderbolt connection. Help!

    I am using Bridge CS5.1 on MacBook OSX 10.8.3. I bought a Seagate Thunderbolt Adapter which works with 2.5" eSATA hard drives (Seagate Backup Plus). Instead of connecting a 2.5" eSATA to this Thunderbolt Adapter to my Mac, I am doubling this thunderbolt connection as a CF card reader by swapping the eSATA portable drive with a CF to eSATA Adapter instead. Photo Downloader does not detect anything connected through thunderbolt!?
    When the CF card or portable drive is connected via the TB adapter, it appears in Bridge and Finder. The Canon's Image Browser (Memory Card Utility) detects only the CF card (not the portable drive) as a Camera and downloads the images from the CF card via the thunderbolt adapter with no issues. I would prefer Bridge to download the images due how the folder names are created by Bridge. (I have been using Bridge for few years now and dont want to change the naming convention. Can't seem to find a way for Canon to name it exactly the same as Bridge. It does YYYY_MM_DD amd I cant get rid of the underscores in Canon's software)
    How can I get Photo Downloader (File: Get Photos from Camera...) on Bridge CS5.1 to detect the Thunderbolt connection as a Camera?
    Excuse my messy desk, here's a pic of the set up with the CF card plugged into the CF to eSATA adapter : and onto the Seagate TB Adapter. and the TB cable goes into the Mac

    It works perfectly well. My issue is getting Adobe Bridge 5.1 to recognise the CF card via thunderbolt in photo downloader.
    Despite having bought a MacPro just a few months ago I still have no Thunderbolt connection so i can't confirm this.
    I do know Photodownloader has not changed a bit since it was presented long time ago and definitively needs a lot of improvement.
    It is very possible that Photodownloader is not capable detecting thunderbolt connections and Canon software doing so does almost proof APDL does not do so.
    You can try to dive in the user library (by default hidden, use menu Go and press option to reveal it) and in the folder preferences find and delete the Photodownloader plist file manual.
    restart photodownloader and try again.
    The other option is to use a USB 3.0 or Firewire (both also pretty fast).
    The third option is to use Bridge itself for renaming the files you imported manual. Using the sort order creation date and batch rename use the option for shot date (yymmdd-number or other info) and either organize with stacks or create folders.
    There is also a nice app (not free but cheap called 'big mean folder machine" from the same team that offers 'A better finder rename'.
    Both offer plenty of options that makes life easier, such as producing folders with specific naming and order in no time

  • Not Detecting Dual Monitor

    I've got a 4870 card and connected the DVI port to a 27 inch Samsung and the mini-display port via the $99 mini-display to dual link DVI adaptor to a 23 inch Samsung. This set-up worked fine with 2 of the 23 inch Samsung, but now it is only detecting the monitor connected to the DVI port. It is not detecting the monitor through the dual ink adaptor.
    I swapped around to eliminate other variables, and also tried unplugging from the DVI port and running the mini-display to dual link alone: nothing.
    The mini-display adapter is working fine with my wife's macbook pro. As mentioned, this set-up works fine with two 23 inch monitors. Any thoughts of what I might try?

    In searching, saw what Martin Pace wrote in another post on this: first, make sure the mini-display port is fully plugged in! There's a fair degree of resistance over a distance, so it's easy to think it's in and be afraid of forcing it. Of course, plugging in makes it work instantly.
    So Martin, if you reply, I'll give you a solved!

  • External monitor not being detected

    I recently sent my macBook away for repairs, it was only software problems, the engineers it seemed simply uninstalled and reinstalled the software. Since I have had it back, I cannot get it to detect my Dell 2209WA. It was fine before. I am using a mini display port adapter with a cable (not sure what the cable is called). Nothing has changed, I have pulled out cables at each end, restarted macbook, detected displays, nothing. Any advice?

    When I press a button on my monitor it says "there is no signal coming from your computer. Press any key on your keyboard or mouse to wake it up or press the input button on your display to switch to another source"
    The display is currently on auto detect, have cycled through options, still not being picked up.

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team,
    I come across a strange problem in the ORACLE 10G Server.
    I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
    Now When I execute these following commands through RMAN prompt it works properly as shown below?
    C:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: RAVI (DBID=4025722893, not open)
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database dismounted
    Oracle instance shut down
    RMAN> STARTUP MOUNT;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1247876 bytes
    Variable Size 79693180 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 7139328 bytes
    RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
    sql statement: ALTER DATABASE ARCHIVELOG
    RMAN> ALTER DATABASE OPEN;
    database opened
    RMAN>
    But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
    File backup.ora contains...
    run
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    SQL 'ALTER DATABASE ARCHIVELOG';
    ALTER DATABASE OPEN;
    passed to RMAN as follows...
    C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    then it fails giving the following errors...
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 11/30/2006 18:05:59
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Recovery Manager complete.
    The same thing is working in the Oracle 9i but not in the Oracle 10G.
    Can Anybody plz help me in this?
    Regards,
    S.Tiwari
    .

    export ORACLE_SID=<SID>
    rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    it will connect to the default SID, there's no such thing as a default SID, what do you mean?
    But what if there are more that one SID available & I
    want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
    more over the same string is working with 9i but not
    with 10G.maybe due to a bug?
    to summarize, you have two options it you would like to start up the instance:
    either you specify the SID prior starting rman and use os authentication
    or
    you register the instance statically and use oracle authentication.
    regards,
    -ap

  • ORA-16401: archivelog rejected by RFS

    Hello, here are the logs and initialisation parameters. It is not applying the logs. Am running XXXXP and the standby and the primary are on the same server.
    Please, I need help. Thanks
    RFS[1]: Assigned to RFS process 216
    RFS[1]: Identified database type as 'physical standby'
    Wed May 13 18:39:07 2009
    RFS LogMiner: Client disabled from further notification
    RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST2\STANDBY.LOG'
    Wed May 13 18:39:15 2009
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 3-3
    DBID 1063720110 branch 686695334
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Wed May 13 18:39:48 2009
    RFS[1]: Archived Log: 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TEST2\ARC00003_0686697929.001'
    Wed May 13 18:40:33 2009
    db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Wed May 13 18:40:48 2009
    RFS[1]: Archivelog thread 1 sequence 3 cannot be reused
    Wed May 13 18:40:48 2009
    Errors in file c:\oracle\product\10.2.0\admin\test2\udump\test2_rfs_216.trc:
    ORA-16401: archivelog rejected by RFS
    test1.__db_cache_size=88080384
    test1.__java_pool_size=4194304
    test1.__large_pool_size=4194304
    test1.__shared_pool_size=62914560
    test1.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\test1\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\test1\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\test1\control01.ctl','C:\oracle\product\10.2.0\oradata\test1\control02.ctl','C:\oracle\product\10.2.0\oradata\test1\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\test1\cdump'
    *.db_block_size=8192
    *.db_domain='appstech.local'
    *.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test1'
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test2\','C:\Oracle\product\10.2.0\oradata\test1\'
    *.db_name='test1'
    *.db_recovery_file_dest='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1'
    *.db_recovery_file_dest_size=2147483648
    *.db_unique_name='test1'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
    *.fal_client='test1'
    *.fal_server='test2'
    *.job_queue_processes=10
    *.local_listener='test1'
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(test1,test2)'
    *.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=test1'
    *.log_archive_dest_2='SERVICE=test2 ARCH MANDATORY
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=test2'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    *.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST2','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1',
    'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG',
    'C:\Oracle\product\10.2.0\oradata\test2','C:\Oracle\product\10.2.0\oradata\test1',
    'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\FLASHBACK','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\FLASHBACK'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.query_rewrite_enabled='true'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_retention=3600
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\test1\udump'
    test2.__db_cache_size=79691776
    test2.__java_pool_size=4194304
    test2.__large_pool_size=4194304
    test2.__shared_pool_size=71303168
    test2.__streams_pool_size=0
    *.archive_lag_target=1800
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\test2\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\test2\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\Oracle\product\10.2.0\oradata\test2\control01.ctl','C:\Oracle\product\10.2.0\oradata\test2\control02.ctl'
    ,'C:\Oracle\product\10.2.0\oradata\test2\control03.ctl'
    #*.control_files='C:\Oracle\product\10.2.0\oradata\test2\test1_test2.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\test2\cdump'
    *.db_block_size=8192
    *.db_domain='appstech.local'
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test1','C:\Oracle\product\10.2.0\oradata\test2'
    *.db_name='test1'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=4147483648
    *.dg_broker_start=TRUE
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
    *.db_unique_name='test2'
    *.fal_client='test2'
    *.fal_server='test1'
    *.job_queue_processes=10
    *.local_listener='test2'
    *.LOG_ARCHIVE_CONFIG='DG_CONFIG=(TEST1,TEST2)'
    *.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ARCHIVELOG
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
    DB_UNIQUE_NAME=test2'
    *.log_archive_dest_2='SERVICE=test1 LGWR ASYNC
    VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
    DB_UNIQUE_NAME=test1'
    *.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG\','C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG\'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.query_rewrite_enabled='TRUE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\test2\udump'
    *.undo_retention=3600
    *.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test2'
    *.log_archive_start='TRUE'
    *.log_archive_trace=2
    *.remote_archive_enable='TRUE'

    Hello those are the latest logs I can see them over to the standby but they are not applied to them. I have set the LGWR on both log_archive_dest_2;
    Regards
    ompleted: alter database mount standby database
    Thu May 14 11:18:15 2009
    alter database recover managed standby database disconnect from session
    MRP0 started with pid=18, OS id=3940
    Managed Standby Recovery not using Real Time Apply
    Media Recovery start incarnation depth : 1, target inc# : 4, irscn : 607856
    Media Recovery Waiting for thread 1 sequence 3 branch(resetlogs_id) 686695334
    Fetching gap sequence in thread 1 branch(resetlogs_id) 686695334, gap seq 3-3
    Thu May 14 11:18:21 2009
    Completed: alter database recover managed standby database disconnect from session
    Thu May 14 11:18:51 2009
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 3-3
    DBID 1063720110 branch 686695334
    FAL[client]: All defined FAL servers have been attempted.
    Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
    parameter is defined to a value that is sufficiently large
    enough to maintain adequate log switch information to resolve
    archivelog gaps.
    Thu May 14 11:21:23 2009
    Shutting down instance: further logons disabled
    Thu May 14 11:21:23 2009
    Stopping background process CJQ0
    Thu May 14 11:21:24 2009
    Stopping background process MMNL
    Thu May 14 11:21:25 2009
    Stopping background process MMON
    Thu May 14 11:32:25 2009
    Shutting down archive processes
    Thu May 14 11:32:30 2009
    ARCH shutting down
    ARC2: Archival stopped
    Thu May 14 11:32:31 2009
    Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
    ORA-16401: archivelog rejected by RFS
    Thu May 14 11:33:31 2009
    Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
    ORA-16401: archivelog rejected by RFS
    Thu May 14 11:34:31 2009
    Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
    ORA-16401: archivelog rejected by RFS

  • Rman archivelog backup fails with rman-03002,ora-19563

    Hi,
    D:\ Oracle- -\BIN\RMAN TARGET / NOCATALOG
    RMAN> backup archivelog all;
    RMAN-03002: Error with backup command on 06-25-2013
    ORA-19563: Header-Validation is not successful.
        fails with the given errors.
    11.2.0.2 PROD DB on Windows Server 2008  R2 Enterpriise.
    When I issue BACKUP INCREMENTAL LEVEL 0 DATABASE; it works fine. but with archivelog it is creating problems. Unfortunatly, I have not found exactly the same problem on google and on Oracle support.
    The DB is using INIT.ORA and last time when I switched the mode to archive log mode I set the parameter like SCOPE=MEMORY as SPFILE was not in use and ALTER SYSTEM with SCOPE=BOTH  FRA destination and size, but after the DB restarting of course that setting is gone and I am having these problems.
    Please suggest.
    Thanks a lot.
    Best Regards,

    Hi,
    Thanks a lot.
    I don't think that archivelogs were relocated, except I changed the location yesterday.
    As I wrote at the start that because of INIT.ORA file being in use instead of SPFILE. I set DB_RECOVERY_FILE_DEST, DB_RECOVERY_DEST_SIZE after changing the DB mode to ARCHIVELOG, but DB was restarted by somebody else, and as the parameter changing was NOT PERMANENT, it rollback.
    LOG_ARCHIVE_DEST was set to d:\oradata\db with archivelog mode but db_recovery_file_dest and size was set to 0. Now here, I have no idea that whether archivelogs were not being backed up or deleted physically, but I guess that as log_archive_dest parameter is deprecated and mode is set to archivelog with no real ARCHIVELOG DESTINATION. Please correct me if I am wrong or totally wrong :-)
    I performed DELETED EXPIRED ARCHIVELOG ALL, and it deleted 49 EXPIRED objects.
    Now CROSSCHECK ARCHIVELOG ALL and LIST ARCHIVELOG ALL shows nothing.
    LIST BACKUP OF ARCHIVELOG ALL has of course those 49 archivelog gap.
    Could you please tell the impacts of those 49 missing archivelogs. Retention policy is set to 14 days. I mean the risk is for 14 days right? As anyhow, the older backups are being DELETED according to retention policy of RMAN.

  • Setting database in ARCHIVELOG and duplicating with RMAN

    Hi. I've tried to duplicate a Oracle 11g database that wasn't in ARCHIVELOG mode without success.
    Here are the steps I followed:
    - Put original database in archivelog (SID: originaldb, startup mount, alter database archivelog, alter database open).
    - Configure tnsnames and create remote instance (SID: newdb)
    - Start 'newdb' (startup nomount)
    - Connect to 'original' using RMAN (rman target sys@originaldb)
    - Connect to the remote database 'newdb' (connect auxiliary sys@newdb)
    - Duplicate database (duplicate target database to newdb from active database nofilenamecheck)
    Then I get the following error: "RMAN-20208: UNTIL CHANGE is before RESETLOGS change"
    How should I proceed? Do I have to create a backup before trying to duplicate database?
    Thanks.

    Hi,
    Thanks a lot.
    I don't think that archivelogs were relocated, except I changed the location yesterday.
    As I wrote at the start that because of INIT.ORA file being in use instead of SPFILE. I set DB_RECOVERY_FILE_DEST, DB_RECOVERY_DEST_SIZE after changing the DB mode to ARCHIVELOG, but DB was restarted by somebody else, and as the parameter changing was NOT PERMANENT, it rollback.
    LOG_ARCHIVE_DEST was set to d:\oradata\db with archivelog mode but db_recovery_file_dest and size was set to 0. Now here, I have no idea that whether archivelogs were not being backed up or deleted physically, but I guess that as log_archive_dest parameter is deprecated and mode is set to archivelog with no real ARCHIVELOG DESTINATION. Please correct me if I am wrong or totally wrong :-)
    I performed DELETED EXPIRED ARCHIVELOG ALL, and it deleted 49 EXPIRED objects.
    Now CROSSCHECK ARCHIVELOG ALL and LIST ARCHIVELOG ALL shows nothing.
    LIST BACKUP OF ARCHIVELOG ALL has of course those 49 archivelog gap.
    Could you please tell the impacts of those 49 missing archivelogs. Retention policy is set to 14 days. I mean the risk is for 14 days right? As anyhow, the older backups are being DELETED according to retention policy of RMAN.

  • Auto-detect displays not working in mountain lion

    I keep a VGA projector connected to my laptop and Mountain Lion seems to believe that it is on all the time. Thus, I'm stuck with windows off screen. Anyone discover any fixes? No menu bar monitor ajustment preferences appear, nor does detect displays work through system preferences. I have a late 2008 macbook pro 17" with a DVI to VGA adaptor. Thanks

    In System Preferences > Displays > Gather Windows.
    You could also switch to mirror mode by Pressing CMD F1 to reclaim or end tasks then press it again to return to extended desktop mode.

  • Cleanup job to remove archive logs automatically through OEM Grid control

    Hi All,
    I am working on 11gR2 3node RAC database. we have enabled archivelog mode for the databases and don't have any backup processes (like rman) and not using ASM.
    Please let me know how to cleanup the old archivelogs automatically through oem Grid control.
    I have some idea how to do it in standalone database, but not sure how it works in RAC environment through OEM. Please let me know.
    Thanks in advance.

    Hari wrote:
    Thanks for your reply and The requirement is, put the DB in archive log mode and cleanup the old archive logs which is more than 5days. We are doing this because of space issue and don't have backup for these files and the DB must be in archive log mode.
    I have few question here.
    1. Is it must to take the backup of the archive log files and before delete them?No, but if you aren't backing up, why create the archivelogs in the first place?
    2. If i delete them without backup, what is the negative impact?If you aren't backing up the database in the first place (as you stated in an earlier post) then it really doesn't matter what you do with the archivelogs as they are worthless anyway.
    3. What is the recommended process to do it?My recommendation is you first start using rman to backup the database
    4. I need to setup this process through OEM grid control.
    Please let me know.
    Thanks,
    HariIt all begs the question which has already been asked and you avoided answering . . . if you are not taking backups, why bother archiving? The archive logs have ZERO VALUE outside of a consistent backup strategy. So how is it you have a 'requirement' to run in archivelog mode but no requirement for backups?
    Edited by: EdStevens on Dec 2, 2011 9:30 PM

Maybe you are looking for

  • Z10 Battery died and now it wont turn back on after charging for 3 -5 hours

    My phone completely died and i didnt charge it for about a day. I went to charge it the following day and it wont hold a charge. I plug the charger in and the red light on the top right of the phone turns on and then blackberry appears on the screen

  • What font is used on apple MacBooks?

    Just wondering what the font is called on macbook pros/airs/MACS. Its kind of round ! Jut wondering ! Thanks

  • Mid east and far east fonts in photoshop cs6

    How do I use right to left fonts in photoshop cs6, I have a client ho needs web banner ads in about 22 languages and some will require the head line to be in Hebrew, arabic, simplified Chinese, Korean and so on. What do I need to make it work?

  • 60GB ipod video problems

    Hi All, I just boughts my 60gb ipod this weekend. yay! I seem to have the 60gb ipod 1.1 update video hanging/freezing, then comes back with no audio after several seconds problem that everyone is posting all over the web about. It is happening on mos

  • Initialize_section in package body

    The syntax diagram in Oracle® Database PL/SQL Language Reference 11g Release 2 (11.2) at page 14-46 shows an initialize_section between the declare_section and the package body, and proceeds to define these sections. This is not consistent with the w