Managing ARCHIVE Logs in Oracle 10.2.0.3

I am working with a customer who seems to think there is a way of controling the database other than a custom JOB, script or RMAN in how it creates, manages and deletes its archive logs while running in archivelog mode. He wants the database to automatically delete obsolete archive logs. He also wants to control the duration in time between each time an archive log is written in order to stop the growth of archive logs and filling up disk space.
I am saying this is not possible. You either configure RMAN to delete the obsolete or expired archive logs based on your retention policy or do it manually in the Enterprise Manager or Grid Control Console by deletenig obsolete or expired logs.
Am I correct or am I off base here?

4.1.3 Sizing Redo Log Files
The size of the redo log files can influence performance, because the behavior of the database writer and archiver processes depend on the redo log sizes. Generally, larger redo log files provide better performance. Undersized log files increase checkpoint activity and reduce performance.
Although the size of the redo log files does not affect LGWR performance, it can affect DBWR and checkpoint behavior. Checkpoint frequency is affected by several factors, including log file size and the setting of the FAST_START_MTTR_TARGET initialization parameter. If the FAST_START_MTTR_TARGET parameter is set to limit the instance recovery time, Oracle automatically tries to checkpoint as frequently as necessary. Under this condition, the size of the log files should be large enough to avoid additional checkpointing due to under sized log files. The optimal size can be obtained by querying the OPTIMAL_LOGFILE_SIZE column from the V$INSTANCE_RECOVERY view. You can also obtain sizing advice on the Redo Log Groups page of Oracle Enterprise Manager Database Control.
It may not always be possible to provide a specific size recommendation for redo log files, but redo log files in the range of a hundred megabytes to a few gigabytes are considered reasonable. Size your online redo log files according to the amount of redo your system generates. A rough guide is to switch logs at most once every twenty minutes.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/build_db.htm#sthref237
If you are talking about data guard then:
4.1.3 Sizing Redo Log Files
The size of the redo log files can influence performance, because the behavior of the database writer and archiver processes depend on the redo log sizes. Generally, larger redo log files provide better performance. Undersized log files increase checkpoint activity and reduce performance.
Although the size of the redo log files does not affect LGWR performance, it can affect DBWR and checkpoint behavior. Checkpoint frequency is affected by several factors, including log file size and the setting of the FAST_START_MTTR_TARGET initialization parameter. If the FAST_START_MTTR_TARGET parameter is set to limit the instance recovery time, Oracle automatically tries to checkpoint as frequently as necessary. Under this condition, the size of the log files should be large enough to avoid additional checkpointing due to under sized log files. The optimal size can be obtained by querying the OPTIMAL_LOGFILE_SIZE column from the V$INSTANCE_RECOVERY view. You can also obtain sizing advice on the Redo Log Groups page of Oracle Enterprise Manager Database Control.
It may not always be possible to provide a specific size recommendation for redo log files, but redo log files in the range of a hundred megabytes to a few gigabytes are considered reasonable. Size your online redo log files according to the amount of redo your system generates. A rough guide is to switch logs at most once every twenty minutes.
Automatic Deletion of Applied Archive Logs
Archived logs, once they are applied on the logical standby database, will be automatically deleted by SQL Apply.
This feature reduces storage consumption on the logical standby database and improves Data Guard manageability.
See also:
Oracle Data Guard Concepts and Administration for details
http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/chapter1.htm#sthref269

Similar Messages

  • Tidying the list of archive logs in Oracle

    We have been using Archive Logging for a while but manually handle the purging of them. Since we restart our 9.2 Oracle DBs daily and perform backups (cold) daily, the archive logs are currently suitable for a day.
    However, in Oracle Enterprise Manager > Storage > Archive Logs, we see the entire list (history) of archive logs.
    Can this be tidied and how?
    Thanks

    my mistake
    Problem Description:
    ====================
    When querying "v$loghist," the number of rows displayed is less than the total
    number of Redo Logs created by the database.
    Solution Description:
    =====================
    The quantity of Log History is driven by the internal parameter "maxloghistory".
    When creating a database you have the option to specify the "maxloghistory"
    parameter. The default value is OS dependent.
    In order to alter this parameter you need to re-create the controlfile and
    specify the "maxloghistory" parameter.
    Explanation:
    ============
    The setting for log history in the control file is set very low.
    The Log history is stored in the controlfile. When a database is created we
    specify how much Log history to store. Often, this setting is ignored or made
    small so the controlfile is not too large.
    References:
    ===========
    Oracle Server SQL Reference
    Note: there are some bugs about maxloghistory being ignored if you try to recreate your database.

  • No clarity on location of archive logs in Oracle 11g database

    I have this query which I am not able to resolve. There is one location of archive log mentioned as /oraarch/app/oracle/oradata/snlprod/archive_logs/ in the parameter log_archive_dest_1. But the archive logs are showing in another location /orabackup/rman/snlprod/archive_logs. I am wondering how the archive logs are showing in this location, /orabackup/rman/snlprod/archive_logs.
    I guess there is only one way in which location can be given which is seen from Availability->Recovery Settings->Media Recovery.
    I hope, my question is clear.
    Please revert with the reply to my query.
    Regards

    Must be
    show parameter db_recovery_file_dest
    If you want archived redo log send to /oraarch/app/oracle/oradata/snlprod/archive_logs
    then you must set  log_archive_dest_1 ='LOCATION= /oraarch/app/oracle/oradata/snlprod/archive_logs'
    log_archive_dest_1 is same before then it means your all  archvied redo log file will create in this directory
    Regards
    Mahir M. Quluzade

  • How to Manage Archive Files in Oracle 10g

    Dear all
    I have 10g Database server running in Archive Mode, there are huge number of archive files have been increased ,
    (1) how can i find old and obsoleted Archive files that will not be needed for recovery in future.so that i can delete them inorder to free space.
    (2) How to manage Archive Files .
    Kindly help
    Thanks
    Regards
    Farnaw

    Hello,
    (1) how can i find old and obsoleted Archive files that will not be needed for recovery in future.so that i can delete them inorder to free space.It depends on your Backup policy.
    If you use RMAN you can follow the advices previously posted, if you use "user managed" Backup then, you don't need the
    log files archived before the begining of the last full backup of your database.
    To know when the archived log was generated and the first change included in it, you can query the v$archived_log as follow:
    alter session set nls_date_format='DD-MON-YYYY HH24:MI:SS';
    select recid, name, first_change, first_time, completion_time
    from v$archived_log;
    (2) How to manage Archive Files . You must backup the archived logs so as to be able to apply them. After making a safe backup of them on a tape, they can be
    deleted from disk.
    Of course you can also keep the last archived logs on your disk (beside of backup them on tape) so that you don't have to
    restore them and save time if you need them.
    It depends on your needs and the free space you have.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Oracle recommended location for archive logs in  oracle 10g rac

    Hello All,
    We would like to know the oracle recommended location for the archive logs in oracle10g RAC .we are using ASM.
    Thanks...

    user4487322 wrote:
    thanks. Is it the recommended setting ,if we go for a DR setup?I mean archive logs in ASM.If you can use dataguard, the archivelog copy to the standby system would be handled by Oracle and it supports ASM.
    Just remember, what ever your strategy, the archivelogs must be in a SHARED location (where all nodes can read/write to this location.)

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

  • FRA and archive logs

    Hello all,
    i have db from 10.2.0.4 to 11.2.0.3, my question is with regards to FRA. We do not use the full blow FRA, but only use it to store our Archive logs ONLY. This is still in testing phase for us...
    Our Current method it to backup the archive logs and blow them away (script ran from cron and RMAN)...
    and now from what i understand about FRA, if my archive logs are sitting in FRA then once its get 80% or whatever that value is, it will delete it for me as long as i have backed up my archive logs.... So my question is, is there a acutal threahold or no ?? Reading from below doc looks like this is unpredictable.... but is there a hidden parameter or some setting i can set to say....once the FRA is lets say 50% full, delete the files(as long as they are backed up first)
    http://docs.oracle.com/cd/B19306_01/backup.102/b14192/setup005.htm
    section -- 3.5.6.1 When Files are Eligible for Deletion from the Flash Recovery Area
    if there is no such setting, how can we setup managing archive logs (besides using rman to backup and delete)...

    Hello;
    It is not unpredictable. Oracle decides. The document is a bit vague to say the least.
    Just another reason to check your alert logs often.
    As a general rule I set db_recovery_file_dest_size on the high side.
    We kicked this around the Data Guard forum a few weeks back :
    FRA - Flashback logs usage varies on Primary against Standby Database
    Best Regards
    mseberg
    Edited by: mseberg on Jun 28, 2012 10:22 AM

  • Dataguard sync and applying archive log

    Just did a check on my primary and standby using:
    Primary:
    SELECT max(sequence#) AS "PRIMARY" FROM v$log_history;
    PRIMARY
    45527
    Standby:
    SELECT max(sequence#) AS "STANDBY", applied FROM v$archived_log GROUP BY applied:
    STANDBY APP
    45476 NO
    45528 YES
    My question is how do I fix my sync?

    SQL> select OPEN_MODE  from v$database;
    OPEN_MODE
    MOUNTED
    SQL> recover standby database until cancel;
    ORA-01153: an incompatible media recovery is active
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Database altered.
    SQL> recover standby database until cancel;
    ORA-00279: change 4558008 generated at 08/21/2010 14:02:39 needed for thread 1
    ORA-00289: suggestion : /data_gpfs/oracle/archivelogs/1_112_726952005.dbf
    ORA-00280: change 4558008 for thread 1 is in sequence #112
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    */data_gpfs/oracle/archivelogs/2_118_726952005.dbf*
    ORA-00325: archived log for thread 1, wrong thread # 2 in header
    ORA-00334: archived log: '/data_gpfs/oracle/archivelogs/2_118_726952005.dbf'

  • Overheads for Archive Logs

    Hi,
    Not sure where I should address this but I would appreciate any helpful feedback.
    I would like to find out what are the overheads (in terms of size) for managing & storing archive logs for capacity planning purposes. Is this information documented anywhere? How can I find out?
    Thanks in advance.
    Thanks,
    Tony

    Since this number is dependent on your database, it would be impossible to answer. If you have a small database with few changes/deletes, you hardly need any space for archive logs. Oracle reccommends that you size your archive logs so that they switch ~1 time per hour.

  • How to find a session with high archive logs

    Any query, to see which active session is generating high archive logs in oracle 8i &9i and high rbs usage

    Though, there is no direct option or view where you can get this information.
    However, you may can find out the session which are generating lot of redo and undo. I guess, when the session has lot of redo & undo, definately, it contribution towards archive would be more.
    You can query v$sess_io and v$session to findout the the session which is generating lot of redo. i.e. lot of block changes occuring.
    SELECT s.sid, s.serial#, s.username, s.program, i.block_changes
    FROM v$session s, v$sess_io i
    WHERE s.sid = i.sid
    ORDER BY 5 desc
    Also query v$transaction and v$session to find out the session that is generating lot of undo information.
    Jaffar
    Message was edited by:
    Syed Jaffar

  • Archive log error

    Newbie DBA
    DB: Oracle 10 g OS: windows
    I have 2 databases A(production) and B(Standby- DR) . I am manually copying the archive log files from A to B and applying it .
    SQL> recover standby database;
    ORA-00279: change 23515270208 generated at 10/13/2010 10:59:39 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74498_0665930822_001.ARC
    ORA-00280: change 23515270208 for thread 1 is in sequence #74498
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00279: change 23515555165 generated at 10/13/2010 11:43:46 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC
    ORA-00280: change 23515555165 for thread 1 is in sequence #74499
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74498_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23515638382 generated at 10/13/2010 12:18:50 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74500_0665930822_001.ARC
    ORA-00280: change 23515638382 for thread 1 is in sequence #74500
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23515659690 generated at 10/13/2010 12:18:55 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74501_0665930822_001.ARC
    ORA-00280: change 23515659690 for thread 1 is in sequence #74501
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74500_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516026341 generated at 10/13/2010 12:19:25 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74502_0665930822_001.ARC
    ORA-00280: change 23516026341 for thread 1 is in sequence #74502
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74501_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516535747 generated at 10/13/2010 12:20:02 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74503_0665930822_001.ARC
    ORA-00280: change 23516535747 for thread 1 is in sequence #74503
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74502_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516855012 generated at 10/13/2010 12:20:30 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74504_0665930822_001.ARC
    ORA-00280: change 23516855012 for thread 1 is in sequence #74504
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74503_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00279: change 23516876618 generated at 10/13/2010 12:20:42 needed for
    thread 1
    ORA-00289: suggestion :
    H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74505_0665930822_001.ARC
    ORA-00280: change 23516876618 for thread 1 is in sequence #74505
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74504_0665930822_001.ARC'
    no longer needed for this recovery
    ORA-00308: cannot open archived log
    'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74505_0665930822_001.ARC'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL>Please tell me if there is anything wrong ?
    Edited by: Renjith Madhavan on Oct 13, 2010 3:00 PM

    Renjith Madhavan wrote:
    I was just curious if
    ORA-00278: log file 'H:\ORACLE\ORA10G\DPM\ARCHP\DPMLOG74499_0665930822_001.ARC'
    no longer needed for this recoveryis an error or not . Doest it mean that all ORA - messages are not errors ? I was told that the archived logs are applied successfully and no need to worry .Have a look into the error message documentation :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e0.htm#sthref202
    "+*ORA-00278: log file "string" no longer needed for this recovery *+
    +*Cause*: The specified redo log file is no longer needed for the current recovery.+
    +*Action*: No action required. The archived redo log file may be removed from its current location to conserve disk space, if needed. However, the redo log file may still be required for another recovery session in the future.+"
    Nicolas.

  • Full Backups, Level 0 Backups, and Archived Logs

    We have an active Oracle server and a standby Oracle server. We keep the standby database up to date with a cron script. The script tells the active database to do 'alter system switch logfile;'. We then rsync the archived logs to our standby server and have rman apply them.
    This works everyday except Monday (of course!) and it only recently started failing on Mondays. The only change was that our Sunday backups used to be 'Full' backups but are now 'level 0' backups. Ever since that change, the first attempt to apply the archived logs to the standby server after the level 0 is taken on the active server gives us something like this:
    ORA-00308: cannot open archived log
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.arc'
    ORA-27037: unable to obtain file status
    Of course, the file is not there and doesn't exist on the active server either. And of course, the nightly level1 backups fo not give us problems applying archived logs to the standby database the rest of the week.
    The only way I know to recover from this is to apply the level 0 backup or take a new level 0 and apply it. After that, all subsequent archive logs just work. Any idea why changing from Full to Level 0 would break this? The Oracle docs insist that a Level 0 is identical to a Full except that level 1s can reference them as parents. This simply cannot be true based on what I'm seeing! I really want to keep the level 0 backups in play if possible. Level 1 cumulatives wont be useful without them.

    Here are the RMAN settings:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/102/dbs/snapcf_ORCL.f'; # default
    I'm not sure how changing ARCHIVELOG BACKUP COPIES would help. Can you give me a little more information about how that setting comes into play in this situation?
    I actually don't want an archive deletion policy here. We have this done in script three days after the needed archive logs have been applied. Is it possible that the we're deleting archivelogs too soon? Would we ever need to reach back in time to previously applied archive logs to apply new ones?
    The %u does resolve, but this message isn't showing it. Here is that same log entry plus a few previous entries that show it does resolve.
    ORA-00279: change 1284618956 generated at 04/13/2012 15:30:05 needed for thread
    1
    ORA-00289: suggestion :
    /opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60518_%u_.arc
    ORA-00280: change 1284618956 for thread 1 is in sequence #60518
    ORA-00278: log file
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_13/o1_mf_1_60517_7rjzox
    0l_.arc' no longer needed for this recovery
    ORA-00279: change 1284618958 generated at 04/13/2012 15:30:05 needed for thread
    1
    ORA-00289: suggestion :
    /opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.arc
    ORA-00280: change 1284618958 for thread 1 is in sequence #60519
    ORA-00278: log file
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_13/o1_mf_1_60518_7rjzox
    0x_.arc' no longer needed for this recovery
    ORA-00308: cannot open archived log
    '/opt/oracle/flash_recovery_area/ORCL/archivelog/2012_04_16/o1_mf_1_60519_%u_.ar
    c'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3

  • How to set no archive log in MS SQL

    Dear Gurus,
    I'll already did the support package upgrade and need to run the SGEN.But before that I'll need to set the archive log in MS SQL 2005 database.
    Kindly please help me,how to set "no archive log " in MS SQL .Then I can run the SGEN.After that how to revert back to "enable archive log mode".
    All the posting told about the archive log with Oracle.
    Thanks
    /Shah

    Hi Shah,
    In MS SQL Server, Transaction log is used to write log files.
    For eg., Intially if you allocate 10GB to the Tr.Log and can set the limit based on your requirement, say as 11GB. It means it wont grow beyond the point 11GB.
    If you take a transactional log backup, the data present in the 10GB file is freed up, but the size of the file would remain same.
    This can be truncated by shrinking the log file.
    1. Open SQL Mgmt studio.
    2. Right click on the DB(SID)> Tasks>Shrink-->Files.
    3. Choose "Log" in the file type and "Log File Name" in the Filename column.
    4. Shrink Action should be "Release Unused Space"
    5. Then Click Ok. The unused space will be released.
    The Transaction log can be switched off by changing the Recovery Model to "SIMPLE"
    1. Click on the DB(SID)
    2. Properties>Options>Recovery Model.
    3. If the recovery model is set to Simple, the Transaction log wont be written.
    Hope this would help you. Revert for any other clarification.
    Regards,
    Kamesh

  • ORA-00308: cannot open archived log, ORA-27041

    hi All,
    here I am making DR server and I copied  SAP Data file1,2,3,4 from PRD to DR server and created control file. when I try to run following command for applied archives which i copy from PRD then getting below error.
    SQL>Startup
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> recover database using backup controlfile;
    ORA-00279: change 1209554452 generated at 02/09/2012 17:02:57 needed for thre
    1
    ORA-00289: suggestion : F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF
    ORA-00280: change 1209554452 for thread 1 is in sequence #59501
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH1_59501_657865393.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    here required PRDARCH1_59501_657865393.DBF while PRD server have PRDARCHARC59501_0657865393.001
    I did change the LOG_ARCHIVE_DEST parameter in initSID.ora of DR server and not in PRD.
    please tell that, how can i apply PRD's archive (.001 extension) on DR.
    Regards,

    hi all,
    after recommendation , now parameter values on DR server is :
    *.log_archive_dest_1='LOCATION=F:\oracle\PRD\oraarch\PRDarch'
    *.log_archive_format='%t_%s_%r.001'
    when i try to apply
    SQL> recover database using backup controlfile;
    ORA-00279: change 1211443555 generated at 02/10/2012 23:36:05 needed for thread
    1
    ORA-00289: suggestion : F:\ORACLE\PRD\ORAARCH\PRDARCH\1_59557_657865393.001
    ORA-00280: change 1211443555 for thread 1 is in sequence #59557
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    auto
    ORA-00308: cannot open archived log
    'F:\ORACLE\PRD\ORAARCH\PRDARCH\1_59557_657865393.001'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    if you see that the required archive is:       1_59557_657865393.001
    while copied archive exist with this name: PRDARCHARC59557_0657865393.001
    I tried to change in Format parameter to make required format but
    Exp:
    %t_%s_%r.001
    1_59557_657865393.001
    ARC%s%r%t.001
    ARC595576578653931.001'
    ARC%s_%r%t.001
    ARC59557_6578653931.001
    ARC%s_%r.%t
    ARC59557_657865393.1
    PRDARCHARC%s_%r.%t
    PRDARCHARC59557_657865393.1
    Required Format: PRDARCHARC59540_0657865393.001
    how can i resolve this different name issue? please suggest me required format.
    Regards,

  • Good One - "ORA-00308: cannot open archived log", No Recovery Going On

    Folks,
    Oracle 11gR1 SE cluister in archive log mode. Every hour I scp old logs over to a different server and nuke the ones so archived. I always switch the log destination to a new directory before moving and nuking, so I'm not touching logs being written to. Every once in a while I get;
    Thu Nov 11 22:08:13 2010
    Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x0] [PC:0x3201E53, _intel_fast_memcmp()+27]
    Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/trace/DEKOPD781_ora_30937.trc (incident=805592):
    ORA-07445: exception encountered: core dump [_intel_fast_memcmp()+27] [SIGSEGV] [ADDR:0x0] [PC:0x3201E53] [Address not mapped to object] []
    Incident details in: /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc
    Thu Nov 11 22:09:42 2010
    Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc:
    Linux-x86_64 Error: 2: No such file or directory
    Thu Nov 11 22:09:42 2010
    Errors in file /u01/oracle/diag/rdbms/dekopd78/DEKOPD781/incident/incdir_805592/DEKOPD781_ora_30937_i805592.trc:
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive2/2_2043_716773164.dbf'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive2/2_2044_716773164.dbf'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive1/2_2045_716773164.dbf'
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-00308: cannot open archived log '/u01/oracle/ARCHIVE_LOG_DEST/DEKOPD78/archive1/2_2046_716773164.dbf'
    ORA-27037: unable to obtain file status
    This seems to happen after a core dump (memory leak?). No recovery is going on and the database functions normally afterwards.
    Why would the database try to access old log filles when not recovering?
    Thanks,
    Scott Uhrick
    General Reinsurance

    After some errors database instance tries to access redo data for the last 12 hours: see My Oracle Support note:
    +Oracle Alert Log Is Reporting Archive Log Status Is Not Available For Logs That Have Long Been Backed Up [ID 1161573.1]+
    Edited by: P. Forstmann on 15 nov. 2010 21:34

Maybe you are looking for

  • HOW DO I DELETE ALL MESSAGES AT ONCE INSTEAD OF ON...

    HELLO I AM HAVING DIFFICULTY DELETING BULK MESSAGES , I CAN ONLY SEEM TO DO IT ONE AT A TIME...ANY TIPS???

  • Looping through results of a Select through a DB adapter

    I am selecting an unknown number of rows from a database through the DB adapter into my process. When I get these results I need to loop through them, but the examples I have seen require an attribute to define each row for the loop to work . My resu

  • Searching for extended ABAP Classes documentation

    Hi, I'm a newbie to this forum (perhaps I'm a newbie in an abap too - with my 1.5 yrs abaping) but I'm interested in a few topics related to classes available in the repository: 1. Where can I find full and detailed info (means description of interfa

  • Installation of wls5.1 with IBM Visual Age v.3.5

    Hello, Weblogic requires that you have a JDK installed on the PC. Usually you do something like wlconfig -JAVA_HOME c:\java We just switched to IBM VisualAge for Java v.3.5. The environment is completely new for us. I understand that everything in VA

  • Cannot change multiple colors for the life of me

    Hi there- I am VERY new to photoshop and have been trying to change just two colors in this stupid picture now for about five days. I realize this is rudimentary probably for most users. I have searched extensively online and experimented using the c