Standby Log switch

Hello all,
From Oracle Docs:
"A log switch on the primary database triggers a log switch on the standby database, causing ARCn processes on the standby database to archive the standby redo log files to archived redo log files on the standby database."
Does the ARCH process on the primary send a message to the RFS process on the standby server, and then the RFS process sends a message to the ARCH process on the standby server telling the standby server ARCH to archive the current standby redo log?
With regards

992801 wrote:
Hello all,
From Oracle Docs:
"A log switch on the primary database triggers a log switch on the standby database, causing ARCn processes on the standby database to archive the standby redo log files to archived redo log files on the standby database."
Does the ARCH process on the primary send a message to the RFS process on the standby server, and then the RFS process sends a message to the ARCH process on the standby server telling the standby server ARCH to archive the current standby redo log?
With regardsWhat is the version you are using?
As simple, Redo data transmitted from the primary database will be received by RFS on the standby, From here RFS process writes the redo data to either standby redo logs or to archived redo logs.

Similar Messages

  • Dataguard- scheduling manual log switch to have minimal lag

    Hi,
    I need some suggestion..
    Recentry I had configured a physical standby for my 10g production database in maximum performance mode.
    Now , to reduce the lag between the primary and standby , I put one cron job which will do a manual log switch(alter system switch logfile) in every 30 minutes.
    and it is doing the job..!
    Does this have any impact on my databases...?
    Looking forward for your invaluable responce...
    Regards
    Noushad
    DBA

    Maybe you should let Oracle do it's job, configure this parameter which signifies that no buffer will remain dirty (in the cache) for more than 1800 (or whatever you want) seconds:
    LOG_CHECKPOINT_TIMEOUT = 1800:p

  • Standby log not applying

    Hi folks,
    Tried creating Data guard for the first time. Was able to successfully create a standby and on every log switch on primary database, a switch is seen on standby too..
    But the issue is, log's are not getting applied on standby db..
    SQL> archive log list;
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            F:\app\product\11.2.0\dbhome_1\RDBMS
    Oldest online log sequence     33
    Next log sequence to archive   0
    Current log sequence           38
    SQL> SELECT sequence#, first_time, next_time, applied
    2 FROM v$archived_log
    3 ORDER BY sequence#;
    SEQUENCE# FIRST_TIM NEXT_TIME APPLIED
    *16 31-MAY-12 31-MAY-12 NO*
    *17 31-MAY-12 31-MAY-12 NO*
    *19 31-MAY-12 31-MAY-12 NO*
    *20 31-MAY-12 31-MAY-12 NO*
    *28 31-MAY-12 31-MAY-12 NO*
    *29 31-MAY-12 31-MAY-12 NO*
    *32 31-MAY-12 31-MAY-12 NO*
    *34 31-MAY-12 31-MAY-12 NO*
    *36 31-MAY-12 31-MAY-12 NO*
    *37 31-MAY-12 31-MAY-12 NO*
    *38 31-MAY-12 31-MAY-12 NO*
    11 rows selected.
    Also the alert log on strandby show's as...
    Alert log on standby:
    Thu May 31 23:30:43 2012
    RFS[18]: Assigned to RFS process 3380
    RFS[18]: Identified database type as 'physical standby': Client is ARCH pid 5780
    RFS[18]: Selected log 4 for thread 1 sequence 36 dbid 196575176 branch 784736843
    Thu May 31 23:30:45 2012
    Archived Log entry 9 added for thread 1 sequence 36 ID 0xbb7cbc8 dest 1:
    Thu May 31 23:30:45 2012
    RFS[19]: Assigned to RFS process 4968
    RFS[19]: Identified database type as 'physical standby': Client is LGWR ASYNC pid 5072
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[19]: Selected log 4 for thread 1 sequence 37 dbid 196575176 branch 784736843
    Thu May 31 23:30:46 2012
    RFS[20]: Assigned to RFS process 4996
    RFS[20]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Thu May 31 23:30:47 2012
    Archived Log entry 10 added for thread 1 sequence 37 ID 0xbb7cbc8 dest 1:
    RFS[19]: Selected log 4 for thread 1 sequence 38 dbid 196575176 branch 784736843
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001 (162 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4996.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4996.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:30:48 2012
    RFS[21]: Assigned to RFS process 4508
    RFS[21]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Thu May 31 23:30:48 2012
    RFS[22]: Assigned to RFS process 1524
    RFS[22]: Identified database type as 'physical standby': Client is ARCH pid 5308
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001 (198 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4508.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4508.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001 (17296 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_1524.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_1524.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:30:51 2012
    RFS[23]: Assigned to RFS process 460
    RFS[23]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001 (65 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_460.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_460.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:30:52 2012
    RFS[24]: Assigned to RFS process 3456
    RFS[24]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Thu May 31 23:30:52 2012
    RFS[25]: Assigned to RFS process 1936
    RFS[25]: Identified database type as 'physical standby': Client is ARCH pid 5308
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001 (287 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3456.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3456.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001 (10 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_1936.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_1936.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:30:56 2012
    RFS[26]: Assigned to RFS process 5084
    RFS[26]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001 (193 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_5084.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_5084.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:30:57 2012
    RFS[27]: Assigned to RFS process 2404
    RFS[27]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001 (8 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_2404.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_2404.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:48 2012
    RFS[28]: Assigned to RFS process 2988
    RFS[28]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001 (162 blocks)
    Thu May 31 23:36:49 2012
    RFS[29]: Assigned to RFS process 4152
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_2988.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    RFS[29]: Identified database type as 'physical standby': Client is ARCH pid 5308
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_2988.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000010_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:49 2012
    RFS[30]: Assigned to RFS process 4128
    RFS[30]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001 (198 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4128.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4128.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000009_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001 (17296 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4152.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4152.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000008_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:51 2012
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_arc2_5596.trc:
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000038_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    ARC2: Error 19504 Creating archive log file to 'F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000038_0784736843.0001'
    ARCH: Archival stopped, error occurred. Will continue retrying
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_arc2_5596.trc:
    ORA-16038: log 4 sequence# 38 cannot be archived
    ORA-19504: failed to create file ""
    ORA-00312: online log 4 thread 1: 'F:\APP\ORADATA\STAN\SRL01.LOG'
    Thu May 31 23:36:53 2012
    RFS[31]: Assigned to RFS process 4340
    RFS[31]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001 (65 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4340.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_4340.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000011_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:54 2012
    RFS[32]: Assigned to RFS process 3080
    RFS[32]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Thu May 31 23:36:54 2012
    RFS[33]: Assigned to RFS process 3296
    RFS[33]: Identified database type as 'physical standby': Client is ARCH pid 5308
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001 (287 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3080.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3080.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000012_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001 (10 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3296.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3296.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000013_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:55 2012
    RFS[34]: Assigned to RFS process 3464
    RFS[34]: Identified database type as 'physical standby': Client is ARCH pid 5192
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001 (193 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3464.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_3464.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000014_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:36:57 2012
    RFS[35]: Assigned to RFS process 6036
    RFS[35]: Identified database type as 'physical standby': Client is ARCH pid 5780
    Creating archive destination file : F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001 (8 blocks)
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_6036.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Errors in file f:\app\diag\rdbms\stan\stan\trace\stan_rfs_6036.trc:
    ORA-00270: error creating archive log F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001
    ORA-19504: failed to create file "F:\APP\PRODUCT\11.2.0\DBHOME_1\RDBMS\ARC0000000015_0784736843.0001"
    ORA-27056: could not delete file
    OSD-04024: Unable to delete file.
    O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
    Thu May 31 23:37:09 2012
    Archived Log entry 11 added for thread 1 sequence 38 ID 0xbb7cbc8 dest 1:
    Archiver process freed from errors. No longer stopped
    confirmed that there is enough space and proper permission on the folder's..
    someone please suggest what could have gone wrong??
    Regards!

    Hello again;
    So I both servers log_archive_dest_1 is not set?
    The Oracle example is
    Primary
    LOG_ARCHIVE_DEST_1= 'LOCATION=/arch1/chicago/VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=chicago'
    Standby
    LOG_ARCHIVE_DEST_1='LOCATION=/arch1/boston/VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=boston'
    If a fast recovery area was configured (with the DB_RECOVERY_FILE_ DEST initialization parameter) and you have not explicitly configured a local archiving destination with the LOCATION attribute, Data Guard automatically
    uses the LOG_ARCHIVE_DEST_1 initialization parameter (if it has not already been set) as the default destination for local archiving. Also, see Chapter 15 for complete LOG_ARCHIVE_DEST_n information.
    My take is since you are not using FRA this parameter is not defined by default. I would probably set it on both, but frankly I'm not sure this will solve your issue. If it does I would sure like to know about it so i can add it to my notes.
    Not related to your issue
    Would consider setting standby_file_management to 'Auto' on both.
    Would consider setting log_archive_dest_state_2 to 'DEFER' on the Standby.
    Best Regards
    mseberg
    Would

  • Dataguard log switch question

    Wonder if anyone can help me with a question?
    I am new to data guard and only recently setup my first implementation of a primary and standby Oracle 11 g database.
    It's all setup correctly, i.e no gaps sequences showing, no errors in the alert logs and I have successfully tested a switch over and switch back.
    I wanted to re-test the archive logs were going across to the standby database ok, unfortunately I performed an alter system switch logfile on the standby database instead of primary.
    No errors are reported anywhere, no archive log sequence gaps or errors in the alert logs, but I am wondering if this will cause a problem the next time I have to failover to the standby database?
    Apologies for my lack of my knowledge I am new data guard and only been a DBA for a couple of years, have not had time to read up on the 500 page Data Guard book yet.
    Thanks in Advance

    First you have to know what happens when log switch occurs either manually or internally.
    All data & changes will be in online redo log files, once log switch occurred either automatic or forcefully, these information from online redo log files will be dumped to archives.
    Now tell me. Where will be the online redo? There is no concept of online redo data on standby, in case of real time apply you will have only standby redo log files, even you cannot switch standby redo log files.
    First this command on standby won't work, it's applicable only for online redo log files. So onions redo exists/active only in primary.
    So nothing to worry on it. Make sure environment is sync prior to performing switchover.
    Hope this helps.
    Your all questions why unanswered? Close them and keep the forum clean.

  • Forcing log switch every minute.

    Hi,
    I want to force a log switch every one minute how can i do it?
    What should be the value of fast_start_mttr_target?
    Does a checkpoint force a log switch?
    Do i need to only reduce the size of redo log to a small size?
    How can i make sure that a log switch will happen after a particular time period for ex. 1Minute,2 minute.
    I want to force a log switch every minute because i want to send the archive redo log to standby database so that not more than 1 minute changes in database are lost. I am using 10g R2 on windows 2003 server.
    I am unable to find a solution. Any help?

    Hi,
    I want to force a log switch every one minute how
    can i do it? yes with archive_lag_target parameter
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/onlineredo.htm#sthref934
    What should be the value of fast_start_mttr_target?incremental or normal checkpoint "fast instance recovery/downtime concerned" introduced from oracle 8, this feature is enabled with the initialization parameter FAST_START_MTTR_TARGET in 9i.
    fast_start_mttr_target to database writer tries to keep the number of dirty blocks in the buffer cache low enough to guarantee rapid recovery in the event of a crash. It frequently updates the file headers to reflect the fact that there are not dirty buffers older than a particular SCN.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmtunin004.htm#sthref1110
    Does a checkpoint force a log switch? log switch force to checkpoint ,checkpoint never force to log switch.
    Do i need to only reduce the size of redo log to a
    small size?depends yours SLA how far you can risk the data ,but it will effect yours database performance ,recommended to set the size of log which should imply the log swtich after filling to 20 mins,its a trade off risk vs perofrmance.
    How can i make sure that a log switch will happen
    after a particular time period for ex. 1Minute,2
    minute.
    want to force a log switch every minute because i
    want to send the archive redo log to standby database
    so that not more than 1 minute changes in database
    are lost. I am using 10g R2 on windows 2003 server.
    am unable to find a solution. Any help?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/onlineredo.htm#sthref934Khurram

  • Archive log switch

    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:00 o1_mf_1_90491_4341nt0b_.arc
    -rw-r-----   1 oracle     oinstall   13420544 May 20 02:01 o1_mf_1_90492_4341oov9_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:02 o1_mf_1_90493_4341q45y_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:02 o1_mf_1_90494_4341qytf_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:03 o1_mf_1_90495_4341s2w8_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:03 o1_mf_1_90496_4341szog_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:04 o1_mf_1_90497_4341v16m_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:05 o1_mf_1_90498_4341wsbl_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:05 o1_mf_1_90499_4341y0ps_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:06 o1_mf_1_90500_4341yyj1_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:06 o1_mf_1_90501_4342044h_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:07 o1_mf_1_90502_434217j9_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 02:10 o1_mf_1_90503_43426g1z_.arc
    -rw-r-----   1 oracle     oinstall   13424640 May 20 05:01 o1_mf_1_90504_434d70c6_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:22 o1_mf_1_90505_434fhm1b_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:23 o1_mf_1_90506_434fjrgr_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:24 o1_mf_1_90507_434fkxkf_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:24 o1_mf_1_90508_434flzfp_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:25 o1_mf_1_90509_434fnngh_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:26 o1_mf_1_90510_434fp67w_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:27 o1_mf_1_90511_434fqwks_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:28 o1_mf_1_90512_434fslyn_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:29 o1_mf_1_90513_434fvr3c_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:30 o1_mf_1_90514_434fxrsq_.arc
    -rw-r-----   1 oracle     oinstall   13427712 May 20 05:31 o1_mf_1_90515_434fzr8h_.arc
    -rw-r-----   1 oracle     oinstall   13438976 May 20 10:00 o1_mf_1_90516_434xrhf9_.arcmine is 10.2.0.1 database...my log switch is happening intermittently....log file size is 20 MB
    log_checkpoint_interval              integer     0
    log_checkpoint_timeout               integer     1800
    log_checkpoints_to_alert             boolean     FALSEHow can I set to happen log file switch at every 30 Minutes...

    These are two different issues.
    1. There are frequent log switches so the log file size could [should] be increased.
    2. However, there are, at times, gaps of 3 hours and 5 hours between two
    log switches. I presume that Deepa wants to ensure that a log switch occurs
    "at least every 30minutes". It may occur more frequently than that (twice a
    minutes) but the maximum gap between two log switches is desired as 30minutes.
    That is what ARCHIVE_LAG_TARGET does.
    It is not necessary that only in Standby databases would a DBA want a
    maximum duration between log switches. You might be using this in a database
    (as we have in Deepa's case !) where there are long "idle" stretches of time
    with very little activity as well. Say, you have a background job periodically
    backing up archivelogs using OS based methods (not RMAN) -- to tape
    or to an NFS mount point or an offsite storage facility. ARCHIVE_LAG_TARGET
    will help you ensure that the maximum data loss is 30minutes (even if there
    was only 1 transaction of 1 row in those 30minutes) because that is what
    your SLA might specify. This would be part of your media recovery / DR
    requirements.
    log_checkpoint_timeout is not to do with archiveloging but with checkpoints.
    that is a complete different requirement -- that is for instance recovery not
    media recovery / backup-restore / DR requirements.

  • Database log switch and WLS connection pool relation

    Hi,
    We have been facing WLS JDBC connection pool disable and suspension issue very frequently in our environment and as a work around have implemented multi-datasource configuration (fail over method).
    But we need to know the root cause for the same and want to fix the issue too.
    We have tried many options like increasing no. of processes and transaction on Database, fine tune the weblogic datasource but still we could not isolate the issue.
    Recently we have been advised to minimize the log switch on database front and increase the redo log size. Not sure if this will help in isolating the issue or not.
    So we are Looking forward for the comments and suggestions on what would be the relationship b/w datasource and log switch be and if someone have faced this issue and resolved the same by fine tuning the database and minimizing the log switch.
    We are using WLS 10.3.3.0
    -Rohit

    turn on jdbc logging. The server log should be showing the troubles WLS is having
    while testing connections and trying/failing to make replacement connections.

  • Is there a way to identify manual log switches?

    Hi!
    A while ago I upgraded a 10g database to 11.2.0.2 64 Bit Windows.
    During the Upgrade we realized that redo logs were configured really small (~10MB) what resulted in a lot of log switches (a few hundred per day). So we adjusted redo log size to 100MB and set archive_lag_target to 1800.
    The amount of log switches went down a little but less far than we expected it. After further analysing the situation we recognized that Oracle is switching logs far before reaching the 100MB log size (and also far before reaching 1800s). All the archived logs have a size of about 15MB. I know that 11g invented something like "preemptive log switching" that switches logs round about 20% before reaching the maximum value (if I remember it correctly..). But switching already at 15% of the maximum size seems strange to me...
    I couldn't find any helpful stuff on Google or Metalink about that topic but today I had a different idea: what if it's the application software that's doing manual log switches?
    (I have no idea why it should do that but I can remember that the application user does require the sysdba privilege - don't ask me why, I didn't write it, I won't defend it...)
    So I checked the alert log but unfortunately I had to realize that there is no difference between an automatic switch and a manual one (only alter system archive log... does get an extra line).
    So my questions are:
    1) Does anybody know a way of distinguishing between an automatic log switch and a manual one? Is there a table or another logfile where this information is recorded?
    2) Has anybody experienced a similar situation where Oracle is switching the logs way before reaching the maximum size?
    Best regards,
    Marcus

    lebigmac wrote:
    1) Does anybody know a way of distinguishing between an automatic log switch and a manual one? Is there a table or another logfile where this information is recorded?
    Off the top of my head - I think the only way to do a manual log switch is to issue "alter system switch log file", and I think that any "alter system" command is written to the alter log in you version of Oracle. (I really ought to check both statements before posting this, but I've been up since 2:30 am).
    2) Has anybody experienced a similar situation where Oracle is switching the logs way before reaching the maximum size?
    It's very common with recent versions of Oracle when private redo threads come into play; but your example seems a little exaggerated. The log file switch has to start when there is enough space left in the log file for all the public and all (or maybe it's the previously used - i'll have to check my book) private redo threads. You could check x$kcrfstrand to see what this sizes look like: http://jonathanlewis.wordpress.com/?s=private+thread
    Regards
    Jonathan Lewis

  • Standby logs in logical standby

    I am currently running a logical standby database in an Oracle 10gR2/Linux environment.
    The primary and standby databases both seem to be running fine, however I am concerned that there seems to be an excessively large number of standby log files marked as 'CURRENT' - 127 files spanning more then 36 hrs at the time of writing.
    According to the alert log of the standby database, more than 35 standby log files were deleted last time a series of files was deleted.
    Can anybody suggest why there would be such a large number of standby files marked as 'CURRENT'?? Is it possible to find out why these files are required, and therefore clear any potential blockage??
    Thanks

    HI eceramm,
    Thanks for you reply.
    The last 100 line from the logical standby alert log are:
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 08:08:41 2008
    Thread 1 advanced to log sequence 8186
    Current log# 1 seq# 8186 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_1_3vpp35lp_.log
    Current log# 1 seq# 8186 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_1_3vpp36s4_.log
    Tue May 6 08:12:35 2008
    RFS[4]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 08:12:35 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 08:12:36 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6351_647020607.dbf] to LogMiner session id [1]
    Tue May 6 08:12:36 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 08:12:36 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 08:38:42 2008
    Thread 1 advanced to log sequence 8187
    Current log# 3 seq# 8187 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_3_3vpp39z0_.log
    Current log# 3 seq# 8187 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_3_3vpp3bto_.log
    Tue May 6 08:42:35 2008
    RFS[6]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 08:42:35 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 08:42:35 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6352_647020607.dbf] to LogMiner session id [1]
    Tue May 6 08:42:35 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 08:42:35 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 09:08:42 2008
    Thread 1 advanced to log sequence 8188
    Current log# 2 seq# 8188 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_2_3vpp37sc_.log
    Current log# 2 seq# 8188 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_2_3vpp38pk_.log
    Tue May 6 09:12:37 2008
    RFS[7]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 09:12:37 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 09:12:37 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6353_647020607.dbf] to LogMiner session id [1]
    Tue May 6 09:12:37 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 09:12:37 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 09:38:43 2008
    Thread 1 advanced to log sequence 8189
    Current log# 1 seq# 8189 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_1_3vpp35lp_.log
    Current log# 1 seq# 8189 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_1_3vpp36s4_.log
    Tue May 6 09:42:35 2008
    RFS[4]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 09:42:35 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 09:42:35 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 09:42:35 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6354_647020607.dbf] to LogMiner session id [1]
    Tue May 6 09:42:35 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 10:08:41 2008
    Thread 1 advanced to log sequence 8190
    Current log# 3 seq# 8190 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_3_3vpp39z0_.log
    Current log# 3 seq# 8190 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_3_3vpp3bto_.log
    Tue May 6 10:12:37 2008
    RFS[6]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 10:12:37 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 10:12:37 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6355_647020607.dbf] to LogMiner session id [1]
    Tue May 6 10:12:37 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 10:12:37 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 10:38:43 2008
    Thread 1 advanced to log sequence 8191
    Current log# 2 seq# 8191 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_2_3vpp37sc_.log
    Current log# 2 seq# 8191 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_2_3vpp38pk_.log
    Tue May 6 10:42:35 2008
    RFS[7]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 10:42:35 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 10:42:35 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6356_647020607.dbf] to LogMiner session id [1]
    Tue May 6 10:42:35 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 10:42:35 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 11:08:41 2008
    Thread 1 advanced to log sequence 8192
    Current log# 1 seq# 8192 mem# 0: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_1_3vpp35lp_.log
    Current log# 1 seq# 8192 mem# 1: /opt/oracle/flash_recovery_area/UATDR/onlinelog/o1_mf_1_3vpp36s4_.log
    Tue May 6 11:12:36 2008
    RFS[4]: Successfully opened standby log 4: '/opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log'
    Tue May 6 11:12:36 2008
    RFS LogMiner: Client enabled and ready for notification
    Tue May 6 11:12:36 2008
    LOGMINER: Begin mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Tue May 6 11:12:36 2008
    RFS LogMiner: Registered logfile [opt/oracle/arch/standby/UATDR/1_6357_647020607.dbf] to LogMiner session id [1]
    Tue May 6 11:12:36 2008
    LOGMINER: End mining logfile: /opt/oracle/oradata/UATDR/onlinelog/o1_mf_4_3vpq26xd_.log
    Thanks for your interest
    Gavin

  • Standby log files in Oracle Dataguard

    Hi,
    What is the difference between standby log files and online redo log files in a Dataguard environment?
    What is the use of standby log files?
    Thanks,
    Charith.

    You're probably familiar with the Online Redo Logs (ORLs). Transaction changes are written from the Log Buffer to the ORLs by the LGWR process.
    If you are setting up a physical standby, then you will want to create Standby Redo Logs (SRLs) in the standby database. When SRL's are in place, a process called LNS will transport redo from the Log Buffer of the primary to the RFS process on the standby which will write the redo to the SRLs. If the SRL does not exist, RFS can't do this. The biggest benefit of using SRLs is that you will experience much less data loss, even in MAX PERFORMANCE mode. Redo will constantly be shipped. You won't have to wait for ARCH to transport a full archived redo log.
    Cheers,
    Brian

  • Redo logs switches too frequent after migrating the db to different server

    Dear Experts,
    A couple of days back, we migrated our database (belonging to EBusiness Suite) to a different server, to get good performance benefit. The database is 10.2.0.4 and it was migrated from AIX 5.3 to Linux x86 64.
    Users are happy with the performance, but I am getting below errors in the alert logs
    a) Thread 1 cannot allocate new log, sequence 498
    b) Private strand flush not complete
    c) ORACLE Instance PROD - Can not allocate log, archival requiredOracle support is saying the issue is coming because of too frequent log switches. I am wondering how the log switches has become frequent in the new server. In the old server it was about 10 mins for every switch, now it is as frequent as 1 minute?
    Any idea, what could be the reason behind this? Do you agree this issue is coming because frequent log switches?
    Thanks
    ARS

    Kanchana Devasurendra wrote:
    Hi ARS,
    Please check the following item in your new database.
    1. log_archive_max_processes Most properbly value set for this parameter is low ( may be it's set to 1.) Please increase up ( 4)I am curious to know what makes you think 4 is the right magic number for log_archive_max_processes - after all, he's only got one archive destination.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    A general reminder about "Forum Etiquette / Reward Points": http://forums.oracle.com/forums/ann.jspa?annID=718
    If you never mark your questions as answered people will eventually decide that it's not worth trying to answer you because they will never know whether or not their answer has been of any use, or whether you even bothered to read it.
    It is also important to mark answers that you thought helpful - again it lets other people know that you appreciate their help, but it also acts as a pointer for other people when they are researching the same question, moreover it means that when you mark a bad or wrong answer as helpful someone may be prompted to tell you (and the rest of the forum) what's so bad or wrong about the answer you found helpful.

  • Standby log files

    I want to convert our old script based primary /standby database into a dataguard config using the LGWR as log transport.
    I already have old log files on the standby database, but the data in them is from 2004. Not entirely interesting since the database gets recovered from the arch log files every night.
    Point is, can I use these as standby log files, or do I have to (somehow) drop these and re-create new standby logfiles. I cant drop them anyway since when I try, I get "ORA-01624, log 1 needed for crash recovery". (Like h*ll, since the data is older than Noah).
    Will these just get re-written?
    null
    null

    Note:219344.1 This note from metalink gives "Usage, Benefits and Limitations of Standby Redo Logs (SRL)".
    Standby Redo Logs are only supported for the Physical Standby Database in
    Oracle 9i and as well for Logical Standby Databases in 10g. Standby Redo Logs
    are only used if you have the LGWR activated for archival to the Remote Standby
    Database.
    The great Advantage of Standby Redo Logs is that every Entry written into
    the Online RedoLogs of the Primary Database is transfered to the Standby
    Site and written into the Standby Redo Logs at the same time; threfore, you
    reduce the probability of Data Loss on the Standby Database.

  • I'm a bit confused about standby log files

    Hi all,
    I'm a bit confused about something and wondering if someone can explain.
    I have a Primary database that ships logs to a Logical Standby database.
    Everything appears to be working properly. If I check the v$archived_log table in the Primary and compare it to the dba_logstdby_log view in the Logical Standby, I'm seeing that logs are being applied.
    On the logical standby, I have the following configured for log_archive_dest_n parameters:
    *.log_archive_dest_1='LOCATION=/u01/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_2='LOCATION=/u02/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_3='LOCATION=/u03/oracle/archivedlogs/ORADB1
    VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_4='SERVICE=PNX8A_WDC ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PNX8A_WDC'
    *.log_archive_dest_5='LOCATION=/u01/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_6='LOCATION=/u02/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    *.log_archive_dest_7='LOCATION=/u03/oracle/standbylogs/ORADB1
    VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=PNX8A_GMD'
    Here is my confusion now. Before converting from a Physical standby database to a Logical Standby database, I was under the impression that I needed the standby logs (i.e. log_archive_dest_5, 6 and 7 above) because a Physical Standby database would receive the redo from the primary and write it into the standby logs before applying the redo in the standby logs to the Physical standby database.
    I've now converted to a Logical Standby database. What's happening is that the standby logs are accumulating in the directory pointed to by log_archive_dest_6 above (/u02/oracle/standbylogs/ORADB1). They do not appear to be getting cleaned up by the database.
    In the Logical Standby database I do have STANDBY_FILE_MANAGEMENT parameter set to AUTO. Can anyone explain to me why standby log files would continue to accumulate and how I can get the Logical Standby database to remove them after they are no longer needed on the LSB db?
    Thanks in advance.
    John S

    JSebastian wrote:
    I assume you mean in your question, why on the standby database I am using three standby log locations (i.e. log_archive_dest_5, 6, and 7)?
    If that is your question, my answer is that I just figured more than one location would be safer but I could be wrong about this. Can you tell me if only one location should be sufficient for the standby logs? The more I think of this, that is probably correct because I assume that Log Transport services will re-request the log from the Primary database if there is some kind of error at the standby location with the standby log. Is this correct?As simple configure as below. Why more multiple destinations for standby?
    check notes Step by Step Guide on How to Create Logical Standby [ID 738643.1]
    >
    LOG_ARCHIVE_DEST_1='LOCATION=/arch1/boston VALID_FOR=(ONLINE_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=boston'
    LOG_ARCHIVE_DEST_2='SERVICE=chicago LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=chicago'
    LOG_ARCHIVE_DEST_3='LOCATION=/arch2/boston/ VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=boston'
    The following table describes the archival processing defined by the initialization parameters shown in Example 4-2.
         When the Boston Database Is Running in the Primary Role      When the Boston Database Is Running in the Logical Standby Role
    LOG_ARCHIVE_DEST_1      Directs archival of redo data generated by the primary database from the local online redo log files to the local archived redo log files in /arch1/boston/.      Directs archival of redo data generated by the logical standby database from the local online redo log files to the local archived redo log files in /arch1/boston/.
    LOG_ARCHIVE_DEST_2      Directs transmission of redo data to the remote logical standby database chicago.      Is ignored; LOG_ARCHIVE_DEST_2 is valid only when boston is running in the primary role.
    LOG_ARCHIVE_DEST_3      Is ignored; LOG_ARCHIVE_DEST_3 is valid only when boston is running in the standby role.      Directs archival of redo data received from the primary database to the local archived redo log files in /arch2/boston/.
    >
    Source:-
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ls.htm

  • Can not remove standby log file, please help

    Hi,
    My v$logfile
    GROUP# STATUS TYPE MEMBER
    IS_RECOVERY_DEST_FILE
    3 ONLINE /u01/app/oracle/oradata/orcl/redo03.log
    NO
    2 ONLINE /u01/app/oracle/oradata/orcl/redo02.log
    NO
    1 ONLINE /u01/app/oracle/oradata/orcl/redo01.log
    NO
    GROUP# STATUS TYPE MEMBER
    IS_RECOVERY_DEST_FILE
    4 STANDBY /u01/app/oracle/oradata/orcl/stdlog01.log
    NO
    5 STANDBY /u01/app/oracle/oradata/orcl/stdlog02.log
    NO
    And when i clear standby log 5
    SQL> alter database clear logfile group 5;
    alter database clear logfile group 5
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [2130], [0], [8], [2], [], [], [],[]
    Please help me :(

    I hoping you can provide more information. v$log should not return information on standby, V$STANDBY_LOG will.
    Are you preforming the query on the primary or standby side?
    What version of Oracle are you using?
    Why do you need to remove the standby log?
    You should only have to clear a logfile if it has become corrupt, what make you think this is the case?
    If you can provide more details if would be very helpful.
    Best Regards
    mseberg
    Since you have posted the exact same question in the GENERAL DATABASE section and refuse to supply version information there you really have provide more details before anybody will help you.
    Remove standby redo log, get ORA-00600
    Edited by: mseberg on Apr 9, 2011 5:35 AM

  • Question about frequent log switches

    I support an Oracle 10g database (10.2.0.4) and database activity has increase to the point that, during the heaviest parts of the day, log switches are occurring too frequently (15 - 20 times per hour!). We also utilize Data Guard to replicate the database to our DR site. We currently have 2 log groups with 2 membes in each group.
    I understand that I can tackle this issue 2 ways: either to increase the size of my redo log files (they are currently at 50 Meg each), or I can add additional redo log groups to the database.
    I would like to get some opinions on whether on solution is better than the other, or the pros and cons of each course of action.
    Thank you in advance for your advice with my question!

    CowTown_dba wrote:
    Thanks for helping me to understand my true problem. The issue is that because of the frequent log switches, database performance is degrading.Maybe that's the cause, maybe it isn't.
    Users are complaining about slow response. So if I add more groups it will buy the archiver extra time but it will not help with the slow response issue.Depends on the root cause of the slow response issue. That has yet to be determined. While it may be true that your car has a short in the electrical system and your car doesn't start, it doesn't necessarily follow that the car doesn't start because of the short in the electrical system.
    >
    I really appreciate everyone contributing to my understanding of the issue, and helping clarify the root problem so that I can fix it the first time around.
    You guys rock!

Maybe you are looking for