archive log deletion pending

Hi all

I'm working on oracle database enterprise edition 10.2.0.4.I have created a database.the physical standby of the primary database name is prim and the standby database name Eve.He has 100 files of newspapers to archive are generating each size is 300 MB per day. I applied archive log political removal of watch on the primary database. So all the newspaper shifted and applied pending archive are deleted from primary. But my concern is the archive logs staggered into sleep mode. The archivelogs in the standby server must be deleted.how that it can be removed. Help, please

use RMAN to this effect, as you do in primaries.

It will make a backup if you need and delete the archivelogs.

Tags: Database

Similar Questions

  • Archive log deletion with no backup of the archive logs

    I suffer from enormous size archive of the newspaper. In my previous post, I asked for help. I almost 480 GB archive log every day in our database of 11 2 under redhat linux 5.8 GR. Now, if you please help me in another case.

    If I take backup of archive logs and run delete archivelog everything until ' sysdate-1' with each backup database of day how it affects. " In my opinion there should be no problem in that I have the last incremental backup and recovery 1 days archive log in archivelog destination. If I do not archive log backups to how it will be different. Help, please.

    >

    Hello

    Sir, I know how to remove. But in my opinion delete up to sysdate-1 and taking no backup of the Archives of newspapers will
    no effect. Is in my opinion is right or wrong, that is the question.

    What I read in your original post, is that you take a daily incremental backup - Yes? I'm assuming that you also take
    a full backup on a regular basis (Sunday?).

    I was working on the assumption that the foregoing is available? I worked on a project where installation has been similar. We
    tested regularly backups - I hope that you do the same thing?

    What we used to do was FTP (script Unix - cron job - if you Google you will find Python or Perl to do the same thing - that is)
    what I wanted to, but was cancelled - very 1980, anyway) the archived redo logs on to a specific computer that holds only these files.
    After FTP "d - they have been removed from the server, freeing up space.

    Now, you say you have TB 0.5 per day - while more than a week, you will need a machine with ~ 3 TB of disk - if you can get a kind
    the scenario as this place and running, then you will have both your incremental backup and your archived redo logs for the last
    24 hours and the full backup with recovery archived records dating back to this full backup. You can also always archive on tape if
    suits. So, you will have redundant coverage - 'belt and braces' as the Americans say.

    But, to answer your question directly, "take no backup of archive logs have no effect" - that is true - it
    will not affect the operation of the database server, but if I were you, I would hang on to enough archived redo log to return to the
    last backup. That's just my humble OPINION.

    HTH,

    Paul...

    Published by: Paulie July 21, 2012 19:28

  • Archive log deletion policy explanation

    How can the archived logs are deleted automatically by the database? I don't get it...

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmconfb.htm#CHDCFHBG

    I quote:

    Archived recovery logs can be deleted automatically by the database or RMAN command initiated by the user. Only newspapers in the field of quick recovery can be deleted automatically by the database.

    When that will happen? Without RMAN?

    Any ideas?

    Hello;

    If you use FRA as destination for you archive logs they will get deleted until the following conditions:

    1. If there is pressure of space in the flash recovery area (Oracle decides)

    2. what policy of removal of rman archive log is configured.

    3. when the recovery window retention policy is configured and when all unwanted archives are saved.

    Here, there is a short note which will help you understand:

    http://www.oraclefaq.NET/2007/10/18/archive-log-automatically-getting-deleted-from-Oracle-10G-database-with-OMF/

    This can also help:

    http://docs.Oracle.com/CD/B19306_01/backup.102/b14192/rpfbdb001.htm

    http://umardba.blogspot.com/2010/03/maintenance-of-archivelogs-on-standby.html

    Best regards

    mseberg

  • Archive log deletion

    Hello

    Can we delete all the archivelog, if we take a full backup RMAN or cold backup. I'm using Oracle 11 g 2.

    If you take an RMAN backup with the OPEN database, you must back up both archivelogs (even if "there is no user transaction").

    If your RMAN backup started at 10:00 and ended at 11:30, the minimum archivelogs that you must back up are those of the first after 10:00 in the first after 11:30 - this range is necessary to capture all the changes that have occurred in the database during execution of the backup.

    However, if you backup all archivelogs generated, you have the possibility to be able to restore and recover the database to any point in time.

    Hemant K Collette

  • Delete pending archive logs

    Hello

    My oracle database is 11.2.0.2 RDBMS RAC on RHEL 5. 6

    We have recently established physics of the standby database. How to remove archive logs waiting for physical standby mode?

    Hello;

    There is a little different to do this. I would consider these notes:

    How to ensure that RMAN is NOT delete archived logs that have not yet shipped to standby [394261.1 ID]

    RMAN removes records of logs on the primary database not applied pending physical [ID 1324759.1]

    Configure RMAN to purge the archivelogs after application on hold [728053.1 ID]

    You can use an RMAN script to do this:

    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman target / catalog user/password@rcatalog << EOF
    
    delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
    
    exit
    EOF
    

    Best regards

    mseberg

  • Data Guard archive political deletion log

    Hi all

    I configured the data guard with 2 bases Eve in oracle 11g.

    I want to use rman to delete archives on all servers.

    I have configured no FRA, no recovery catalog.

    My question is:

    If I delete waiting til sequence # 1627 and on primary sequence til = # = 1620 or vice versa this would cause problems for Data Guard.

    I say delete until the different sequences # on primary and standby cause problems for synchronization?

    Thank you

    So if I understand delete archivelog to sysdate - or delete archivelog all completed before sysdate n is not the archivelog deletion policy you put on RMAN?

    She depends on it. The note was made at the base of the MOS document how ensure that RMAN is NOT delete archived logs that have not yet shipped to standby mode (Doc ID 394261.1)

    Delete archivelog to sysdate - depends on all of the deletion policy. If the deletion policy is set on "applied pending all", then it does not delete the archives, if they are not applied on the day before. If the deletion policy is set to none, then it does not check if the archive is applied on the eve and deletes them directly.

    Last Archive generated on primary:

    SYS@oraprim > select max(sequence#) from v$ archived_log;

    MAX(SEQUENCE#)

    --------------

    114

    Last check-in applied in mode ensures:

    SYS@orastb > select max(sequence#) from v$ archived_log in case of application = 'YES ';

    MAX(SEQUENCE#)

    --------------

    109

    Delete policy set to NONE on primary:

    RMAN > show archivelog deletion policy;

    using the control file of the target instead of recovery catalog database

    RMAN settings for database with db_unique_name ORAPRIM are:

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    RMAN > delete archivelog until 'sysdate;

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 60 type of device = DISK

    List copies of newspapers archived to database with db_unique_name ORAPRIM

    =====================================================================

    Thrd Seq S key low time

    ------- ---- ------- - ---------

    110-1-214 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727

    216-1-111 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731

    217-1-112 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731

    113. OF 1 219 A 13 JANUARY 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733

    222 1 114 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737

    You sure you want to delete the items above (enter YES or NO)? NO.

    It is the removal of primary archives that have not yet been applied on the eve.

    Delete policy 'APPLIES ON STANDBY ALL' value on the primary:

    RMAN > show archivelog deletion policy;

    RMAN settings for database with db_unique_name ORAPRIM are:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    RMAN > delete archivelog until 'sysdate;

    output channel: ORA_DISK_1

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 60 type of device = DISK

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727 thread = 1 sequence = 110

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731 thread = 1 sequence = 111

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731 thread = 1 sequence = 112

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733 thread = 1 sequence = 113

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737 thread = 1 sequence = 114

    It checks if the archive has been applied on the day before. As the 110 to 114 sequence is not applied in the waiting, the archives are not deleted on the primary.

    Hope that gives you a clear picture of how it works.

    -Jonathan Rolland

  • RMAN-08137: WARNING: log archived not deleted, necessary for intelligence or upstream collection procedure

    Hi Oracle Community,

    I have a few databases (11.2.0.4 POWER 2 block and 12.1.0.2) with Data Guard. Back up this database with RMAN to ribbons, only on the primaries.

    During the backup, sometimes I got RMAN-08137: WARNING: log archived not deleted, necessary for intelligence or upstream collection procedure

    By reason of this global warning to backup status is "COMPLETED WITH WARNINGS". Is it possible to remove this warning, or perhaps change RMAN configuration to avoid the appearance of this warning?

    Concerning

    J

    Where is the problem on these warnings? If you do not want to see such warnings, why not simply to perform the removal of the archivelogs in a separate step? For example:

    RMAN> backup database plus archivelog;
    RMAN> delete noprompt archivelog all completed before 'sysdate-1';
    
  • delete files from archive log with rman

    Hi guys,.

    I try to delete the log file archive on my backup site, but I get the following message. There are a lot of archive logs is present on the storage but rman may show that. No idea what I'm doing wrong here.

    RMAN > list archivelog all;

    specification does not match any newspaper archived in the repository

    RMAN >

    Kind regards

    Sorry about that. Its 11g 2 R (11.2.0.1) and OS Version is 2008 R2 64 bit. Sleep is in auto recovery mode. (hope this helps).

  • Current archive log has been deleted, how to recover using the previous archive log?

    Hello

    My current log sequence #819 and it has been deleted and no other choice to get it back and I have previous newspapers archived with sequences #814 à 818.

    When I start my database is to show that the use ' MUST USE RESETLOGS or NORESETLOGS option of database open, then I used the command

    SQL > ALTER DATABASE OPEN RESETLOGS;
    ALTER DATABASE OPEN RESETLOGS
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01. DBF'

    SQL > alter database recover;
    ALTER database recover
    *
    ERROR on line 1:
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be
    SQL > alter database recovery using backup controlfile;
    change the database recovery using backup controlfile
    *
    ERROR on line 1:
    ORA-00279: change 8433746 September at 15/01/2013 19:51:59 needed to screw 1
    ORA-00289: suggestion:
    E:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2013_01_16\O1_MF_1_819_

    % U_. ARC
    ORA-00280: change 8433746 thread 1 is in sequence #819

    now, I don't have the log archiving with 819 sequence, I recover from 818. Please tell me how to do?

    Hello

    1. select * from v$log and see which log file is current. Query v$logfile to check physical file location belonging to current log group.
    2. Take bacup of your curent control file using copy/paste of your OS
    3. Issue following command in mount state
    recover database until cancel using backup controlfile
    4. When it finishes applying available archived logs, still it will ask for the location of archived logs which have not been applied, here provide path of current redo log file you got in first step. Here your recovery will finish after applying current redo log
    5.alter database open resetlogs.
    

    Salman

  • RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    I get RMAN-08120: WARNING: journal archived not deleted, not yet applied watch on primaries
    but when I run under query, I get the same result of primary and backup

    SQL > select max(sequence#) from v$ archived_log;

    MAX(SEQUENCE#)
    --------------
    44051

    SQL >


    Eve is a log switch behind only!

    Hello;

    If RMAN tries to remove an archive which is not yet applied in standby log, you see the RMAN-08120

    It's a good thing. As long as you don't have any archives for days on standby, you probably don't have a problem.

    What are your RMAN settings for the database of the day before?

    MetaLink Note: 361182.1 can help too. Or Note 1079953.1

    Your main, make sure that:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    

    Please consider closing some of your old issues to clean up the forum.

    Best regards

    mseberg

  • delete the archive logs after cold backup?

    Hi all
    my database is in archivelog mode, I do COLD backup every night, can I just remove the archive logs after I do my cold backup, because there is no need of them, as the closed DB should have all the info in the archived papers

    and archive connected is needed only during the day, if a sudden power outage that happened.

    Thank you very much

    The ArchiveLogs allow you RollForward a backup restored to a specific point in time.

    Assuming that stop you your database at 23:00 (2300) every night and backup up to 11 h 45 (2345) tracks...

    Significant transactions entered between 15:00 and 16:00 on Friday, but a person deleted by mistake the lines (or some other lines) at 17:00

    your current backup strategy of "restoration" of the database only allows 23:00 Thursday night. If you also back up your archivelogs (in this case, the backup of Friday night would the archivelogs), you restore Thursday night backup 'cold' and "rollforward" by publishing a RECOVER database with the HELP of BACKUP CONTROLFILE until 16:00 Friday.

  • Deletion of backups of level 1 and archive logs

    Hello

    Everyone knows that "the retention policy would be applicable on level 0 backups or only full backups.

    So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?

    And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?

    Any suggestion?

    Thank you
    Nitesh.

    So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?

    If you have the revoery retention strategy window 1 day and you take backup of level 0 Sat and then consecutive level until Friday 1 daily backup, again on backup sat level 0 will be obsolete previous level 0 backup sat and its seven consecutive level 1 so is found in the archived log alls before this level 0 current backup will be marked.

    Obsolete report will show you alls backup piece and the archivelogs that are marked as obsolete.

    And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?

    What do you mean by backups, undesirable level 1, on what basis you say that backup of level 1 are undesirable?

    Khurram

  • Pull on the RMAN backup archive logs?

    Environment:

    Oracle 11.2.0.3 EE on Solaris

    Physical standby

    I have a gap of journal archive at the moment.  The missing archive logs have been saved on the primary and have not yet been transferred to waiting due to some maintenance work performed on the standby server.

    The database will be able to recognize that the missing archivelog files are in the RMAN backup files, restore them and send them to the update server standby for application?

    If not, will it restore manually, copy them to the standby server and save them for their application?

    Thanks a lot for your help!

    -gary

    Were the archivelogs deleted on the primary once they have been saved? If they have been deleted on the primary, then you can:

    1 manually transfer the backup to forward files

    2 replace the archivelog destination configured on the eve

    3 restart the managed recovery on the standby process, and the computer should be able to detect and apply the missing archivelogs.

    If they have not been deleted on the primary and are always available in the archivelog directory configured, then the process of Data Guard should be able to detect and automatically fix the gap.

    If you have a long interval archivelogs missing and you use + ASM, you can also try to use an incremental backup to roll forward the database pending, this article provides a good step by step: the steps for Rolling forward a standby database using RMAN incremental backup. (Doc ID 836986.1)

    Kind regards
    Oscar

  • With RMAN for backup, but not with the archive logs

    We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.

    Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.

    My question is around logs archiving and RMAN.
    Our current situation is:
    -We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
    -We set the archive_lag_target so archiving logs is produced every 30 minutes.
    -a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
    -daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.

    I'm interested in feedback as to if our strategy around archiving logs is correct or not.

    Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
    We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.

    Curious to know what others are doing.

    Hello

    Welcome to OTN!

    Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.

    On the disk space, you can delete the archives once they were saved by RMAN.

    RMAN > delete any backup archivelog entry;

    This supports the archivelogs and then remove the archives from the disk.

    If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.

    RMAN > configure archivelog political of deletion to applied pending;

  • Remove the primary archive logs

    DB version: 11.2
    Platform: Solaris

    In standby, the following is returned:
    select max(sequence#) from v$archived_log where applied='YES';
    
    28427
    This means that since elementary school, I can safely remove all the newspapers at least up the 28426 sequence using archiving
    delete noprompt archivelog until sequence = 28426 ; 
    Right?

    You can do it like that if you want.

    I would like to use RMAN to do and put RMAN, so he can't delete logs not applied.

    Inside my RMAN backup, I added:

    delete noprompt ARCHIVELOG until TIME ' SYSDATE-4';

    Your default is probably

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    But you can set applied pending

    Discover E10700-02 Chapter 11

    11.3.2 RMAN Configurations to the primary database

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    Best regards

    mseberg

Maybe you are looking for

  • Cannot change the home pages

    I scanned for malware, reset Firefox, search and uninstalled all toolbars and unknown extensions, uninstalled Firefox for all users on this computer, deleted all the profile folders for all users on this computer and re-installed Firefox after each o

  • USB-8451

    Hello I am trying to contact a gyroscope using NI USB-8451, I used the example of "General I2c Read.vi" trying to communicate with the device but I get different errors each time that I run the program, I used the gyroscope with my Arduino board and

  • HP Mini 210-1110 os Downgrade to XP

    Hey all,. I read throu both of form and used the help that was given, but nothing works for me. I have a HP Mini 210-1110si Notebook. Win 7 Starter is so bad on this HP I want to replace it with XP. I tried so may driver Sata XP to see my drive HARD,

  • Using the icons built into 5.0 RIM

    Hello I want to know if it is possible to use the icons in the construction of BB. For example, I want to use the search icon blackberry comes with by default. Please, help. Your response will be appreciated. Thank you Lenkhwi

  • BlackBerry smartphones not the host routing table entries

    My blackberry storm2 shows no entries in the host routing table. I'm on a service plan that supports BIS everything was fine. My phone rebooted for no reason, and that's when the problem started Help, please