RMAN in 10g database deletes archivelog files before standby receives them

Hi all,
We currently have problem with our Oracle 10gR1 database on Windows 2000 server in that the RMAN backups on the primary database delete archivelogs before the standby database can receive current and new archivelogs from primary database. What happens is that RMAN backs up the archivelogs and deletes them from disk before the archivelogs are sent to the standby. The standby then looks for these archivelogs on the primary but is unable to locate them. Whenever this happens, the production database (primary) hangs and we have to restart the instance on the primary. We have our Data Guard setup in maximum performance mode so this should not happen.
As a short term fix, we have changed the backups to have RMAN backup and delete the archive logs 15 minutes older than current time so that the standby can receive the logs and not have problems. Besides this fix is there a long term solution to the problem or is it a bug in Oracle 10g? The issue came up after we upgraded from 9i to 10g and never saw it before in 9i with RMAN and Data Guard physical standby databases.
Thanks
Ben Prusinski, Oracle DBA

thanks for answer...
did you managed to make it 'work'?
according to doc. if set on standby it should:
<>
Then, these files are eligible for deletion:
Archived redo log files in the flash recovery area that
were applied on the standby database.
<>
and this is to my understanding irespective to retention policy...unfortunately report obsolete does not report applied archived logs as eligable for deletion.
How this works in your case?
regards.
goran

Similar Messages

  • How to delete archivelog file at standby database

    Hi All,
    I'm running Physical Standby Database on ASM. At standby database, I can see all logs using asmcmd:
    ASMCMD> ls
    thread_1_seq_14.330.625772527
    thread_1_seq_15.346.625772527
    thread_1_seq_16.329.625772527
    thread_1_seq_17.327.625772559
    thread_1_seq_18.324.625772599
    thread_1_seq_19.341.625772367
    thread_1_seq_2.325.625772329
    But when I run RMAN to delete all these archivelogs, its give me error:
    oradr:/u01/app/oracle$rman rcvcat rman/rman@rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 28 13:50:41 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: AIXDB (DBID=2438430915, not open)
    connected to recovery catalog database
    RMAN> delete archivelog all;
    Starting implicit crosscheck backup at 28-JUN-07:01:50:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/28/2007 13:50:56
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN> register database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 06/28/2007 13:51:06
    RMAN-08040: full resync skipped, control file is not current or backup
    Even it is not registering it. So how to delete archivelog file at standby database.
    Thanks in Advance
    Rakesh

    This appears related to Bug 3298797 that was supposed to be fixed in 10.2.0.1. The workaround is to switch over to the standby, register the standby and then switch back.

  • Rman-08137 can't delete archivelog because the capture process need it

    When I use the rman utility to delete the old archivelog on the server ,It shows :Rman-08137 can't delete archivelog because the capture process need it .how to resolve the problem?

    It is likely that the "extract" process still requires those archive logs, as it is monitoring transactions that have not yet been "captured" and written out to a GoldenGate trail.
    Consider the case of doing the following: ggsci> add extract foo, tranlog, begin now
    After pressing "return" on that "add extract" command, any new transactions will be monitored by GoldenGate. Even if you never start extract foo, the GoldenGate + rman integration will keep those logs around. Note that this GG+rman integration is a relatively new feature, as of GG 11.1.1.1 => if "add extract foo" prints out "extract is registered", then you have this functionality.
    Another common "problem" is deleting "extract foo", but forgetting to "unregister" it. For example, to properly "delete" a registered "extract", one has to run "dblogin" first:
    ggsci> dblogin userid <userid> password <password>
    ggsci> delete extract foo
    However, if you just do the following, the extract is deleted, but not unregistered. Only a warning is printed.
    ggsci> delete extract foo
    <warning: to unregister, run the command "unregister...">
    So then one just has to follow the instructions in the warning:
    ggsci> dblogin ...
    ggsci> unregister extract foo logretention
    But what if you didn't know the name of the old extracts, or were not even aware if there were any existing registered extracts? You can run the following to find out if any exist:
    sqlplus> select count(*) from dba_capture;
    The actual extract name is not exactly available, but it can be inferred:
    sqlplus> select capture_name, capture_user from dba_capture;
    <blockquote>
    CAPTURE_NAME CAPTURE_USER
    ================ ==================
    OGG$_EORADF4026B1 GGS
    </blockquote>
    In the above case, my actual "capture" process was called "eora". All OGG processes will be prefixed by OGG in the "capture_name" field.
    Btw, you can disable this "logretention" feature by adding in a tranlog option in the param file,
    TRANLOGOPTIONS LOGRETENTION DISABLED
    Or just manually "unregister" the extract. (Not doing a "dblogin" before "add extract" should also work in theory... but it doesn't. The extract is still registered after startup. Not sure if that's a bug or a feature.)
    Cheers,
    -Michael

  • I have an old mac and want to delete all files before i sell

    i have an old mac and want to delete all files before i sell

    Check out
    http://www.mactalk.com.au/content/preparing-your-old-mac-sale-1127/
    or
    http://hivelogic.com/articles/how-to-prepare-a-mac-for-sale/
    Dennis

  • How to delete archivelogs in the STANDBY??

    Hello,
    I have a 10gR2 dataguard environment in which archivelogs are applied on the standby with a delay of 24 hours.
    Once the archivelogs are applied on the standby, I want to delete them.
    I don't have FRA (Flash Recovery Area).
    Could you tell me the best way to delete archivelogs on the standby, once they are applied on the standby database?
    Thanks

    Please see the follwoing link for a simmilar discussion:
    Applied archive log on standby

  • I accidentally deleted photo files, can I retrieve them?

    I accidentally deleted photo files, is there any way to undo or retireve them?

    I spoke too soon! The Picassa 3 photos do not import well into my elements 
    program!  I just don't understand why, when I accidentally deleted the 
    files from elements, they don't show up in the trash bin. I looked/searched for
    the pictures...they seem gone! Is it time to call in a tech? I really
    appreciate  your help with this, you can imagine how distraught it is to lose
    about 6,000  pictures!!!
    Dr. Joe  Luciani
    Author Discussion: www.amazon.com/author/selfcoaching
    (http://www.amazon.com/author/selfcoaching)
    Daily  Self-Coaching blog: https://www.selfcoaching.net
    (https://www.selfcoaching.net/)
    Facebook:  https://www.facebook.com/selfcoaching
    Twitter:https://twitter.com/SelfCoaching101
    In a message dated 6/20/2014 10:25:20 P.M. Eastern Daylight Time, 
    [email protected] writes:
    I  accidentally deleted photo files, can I retrieve them?
    created by amosher (https://forums.adobe.com/people/amosher)  in 
    Photoshop Elements - View the full  discussion
    (https://forums.adobe.com/message/6480632#6480632)

  • Deleting archivelog files once applied to physical standby database

    Hi,
    Any procedure for automatically deleting the archivelog files after applied to physical standby database.

    also pls see DataGuard: auto delete redo logs after applied to physical standby?

  • Deleting Archivelog files.

    I'm trying to do some cleanup of my archivelog files that are over 30 days old that have been backed up using the command:
    delete archivelog until time 'sysdate -30';
    I get an ORA-15028 saying that a file is currently being accessed.
    My question is how can I find out what is trying to access a file that is close to 40 days old?

    Note the difference betweeen 'UNTIL TIME' and 'COMPLETED BEFORE'
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta008.htm#sthref121
    Is your "latest" Level 0 backup more than 30 days old ? Or do you have Retention Policy exceeding 30 days ?

  • Manual delete old files before package installation?

    This is more a general or best practice question.
    I installed a python program (gnoduino) manually some time ago using:
    python setup.py build install
    I found out that this program is available via AUR and it would be comfortable to use the AUR version.
    So what should I do now. Manually delete everything that the python installer installed, with hope not to forget anything. And after that install via AUR?
    Or leave it installed and start the install process via AUR and "overwrite" the old files?
    In the first case: How do I delete everything?
    whereis gnoduino
    gnoduino: /usr/bin/gnoduino /usr/share/gnoduino /usr/share/man/man1/gnoduino.1
    And I know that the python files reside in "/usr/lib/python2.7/site-packages/gnoduino".
    Delete these files and I'm fine?

    Best practice would be to rebuild that package and uninstall, or use the built but not installed copy to locate and remove the files.
    Bad practice and also my method would be to install with the -f flag and overwrite it.
    However this could lead to breakage and more work if it goes wrong.
    [NEO]Where we go from there is a choice I leave to you. [/NEO]

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • How can I view my 6D raw files before I open them in post processing?

    How can I view my 6D raw files after I load them on my computer & before I open them on a post processing Program?
    I have no problem doing that with my 1DX,1DIV or 5Dmk III. This problem exist with any sdhc card I use on the 6D, but not on any other camera with the same cards.
    Solved!
    Go to Solution.

    Your computer doesn't have camera RAW support installed for a 6D.  RAW isn't really a standard-format... it's more of a concept.  Every individual camera has it's own unique RAW format (even though they all have the same .CR2 extension).
    Each time a new camera comes out, companies that make RAW processing software will make an update available that adds that camera.  You'll need to get that update and install it.
    Tim Campbell
    5D II, 5D III, 60Da

  • Oracle RMAN recovery catalog database in a Primary and Standby mode

    Hello All,
    The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups. There are are 200+ databases running on OEL, RHEL and Windows. So we planned to host the recovery catalog database on Oracle Active DataGuard 11.2.0.1 Enterprise Edition on RedHat EL 5.8 version on two physical servers. The Primary Instance will be in one server in the Primary DC and the Standby Instance will be on another server in another DC. Also all the database datafiles are hosted in ASM Diskgroups on SAN (DATA, FRA, REDO, ARCH diskgroups).
    Are there any specific RPM/patch/OS user custom/specific settings or configurations needed..?
    Thanks in advance..
    Regards,
    Abhijit

    "The customer wants the RMAN recovery catalog database to be highly available so that none of the RMAN database backup jobs are impacted at the time of taking the database backups"
    Hi,
    i think you can achieve HA for the catalog DB. (Rac and Asm should work fine)
    There's no way (afaik) to use TAF with the rman backup. If you have a failure during a backup it simply fails.
    There is no TAF in this situation.
    Hope this helps.
    Regs,
    Drew

  • Emails delete automatically even before I open them. How do I stop that?

    Help

    Hello, Bluemoon4
    If you have an apple email account such as: @me, @iCloud, @mac... once you delete it off of one device it deletes it off of all of them,
    if you have a 3rd party email provider such as yahoo google live...etc just delete the account from your mail settings and reenter your information...
    Hope this helps
    Dustin

  • Aperture repair database deleted all files

    Hi Everyone!
    I was trying to open an old Aperture database that I haven't used in a while, so Aperture told me it would need to update the Library. When it proceeded, however, it told me that it couldn't open the .aplibrary, so I opened it with cmd+alt pressed, selected Repair permissions, and then, Repair database. That's when the fit hit the shan: Aperture opened something right away, and it's a library with the correct name - although completely empty. No pictures, no folders, no projects, nothing.
    I immediately freaked out and closed Aperture, and took a look at the library file: it shrunk from some 60GB to 800MB. Looking inside, there are no more masters anymore. The free space on the hard drive, however, remains about the same, so it appears that the data itself is still there.
    Unfortunately, I do not have a backup of that old library (I'm still beating myself up about that!), so here's my question: what to do next? Is it possible that Aperture replaced the old library folder with the new, empty one, and hid the old one somewhere in the file system?
    Any help is greatly appreciated!
    Dorian

    My similar horror story had a good ending after all, and maybe this will help someone else.
    I connected my iphone to the MacBookPro and fired up Aperture to import photos.
    Aperture said it needed to upgrade the database, and I said fine.
    It said there was an error and I would need to hold Option + Command and restart Aperture, and do the "Repair Database" option.
    I did.
    Aperture then opened to a brand new, empty Aperture library. All projects gone, and all images gone.
    I searched, came here, tried everything, to no avail.
    At this point I called Apple. They graciously initiated 90 days of complimentary support for Aperture, and helped me.
    While I could not locate a single Aperture library on my harddrive using the Finder method, combined with a "show hidden files" option... the Apple support agent guided me to search for them using Aperture itself:
    In Aperture: File > Switch to Library > Other/New
    We found that my old library had apparently been moved (no doubt by me, during an accidental drag and drop) into a subfolder of my Pictures folder. That was the reason why, when Aperture was being started, the lack of a library in the usual location (root of the Pictures folder) caused it to create a new one, which was, of course, blank.
    The above step (in Aperture: File > Switch to Library > Other/New) not only revealed the other library that contained all the old files, but it also revealed the location of it (scan near the bottom of the dialog box).
    He had me open it to verify all the pics were still there.
    All I had to do was close Aperture, then drag and drop it from the subfolder back to the root folder (Pictures) and I was back in business.
    It does not sound like your situation is the same as mine, but this is something to consider.

  • Deleting offline messages before contact recieves them?

    I sent a few offline messages which I desperately regret and need to remove before the contact comes online and gets them.
    Is there any way to do that, like there is a "delete message" option in Skype?
    This is a very important and urgent question. Thanks so much for any ideas!

    Not that i know of sorry.

Maybe you are looking for