ARCHIVE LOGS CREATED in WRONG FOLDER

Hello,
I'm facing an issue with the Archive logs.
In my Db the parameters for Archive logs are
log_archive_dest_1 string LOCATION=/u03/archive/SIEB MANDATORY REOPEN=30
db_create_file_dest string /u01/oradata/SIEB/dbf
db_create_online_log_dest_1 string /u01/oradata/SIEB/rdo
But the archive logs are created in
/u01/app/oracle/product/9.2.0.6/dbs
Listed Below :
bash-2.05$ ls -lrt *.arc
-rw-r----- 1 oracle dba 9424384 Jan 9 09:30 SIEB_302843.arc
-rw-r----- 1 oracle dba 7678464 Jan 9 10:00 SIEB_302844.arc
-rw-r----- 1 oracle dba 1536 Jan 9 10:00 SIEB_302845.arc
-rw-r----- 1 oracle dba 20480 Jan 9 10:00 SIEB_302846.arc
-rw-r----- 1 oracle dba 10010624 Jan 9 10:30 SIEB_302847.arc
-rw-r----- 1 oracle dba 104858112 Jan 9 10:58 SIEB_302848.arc
bash-2.05$
Does anyone have an Idea why this happens?
Is this a Bug!!!
Thxs

But in another Db I've
log_archive_dest string
log_archive_dest_1 string LOCATION=/u03/archive/SIEB MANDATORY REOPEN=30
and my archivelogs are in
oracle@srvsdbs7p01:/u03/archive/SIEB/ [SIEB] ls -lrt /u03/archive/SIEB
total 297696
-rw-r----- 1 oracle dba 10010624 Jan 9 10:30 SIEB_302847.arc
-rw-r----- 1 oracle dba 21573632 Jan 9 11:00 SIEB_302848.arc
-rw-r----- 1 oracle dba 101450240 Jan 9 11:30 SIEB_302849.arc
-rw-r----- 1 oracle dba 6308864 Jan 9 12:00 SIEB_302850.arc
-rw-r----- 1 oracle dba 12936704 Jan 9 12:30 SIEB_302851.arc
oracle@srvsdbs7p01:/u03/archive/SIEB/ [SIEB]

Similar Messages

  • Db file in Replica was created in wrong folder

    Hello!
    I created db file at \BDB_HOME\BDB_SUBx in Master, but in Replica site db file was created in wrong folder which is BDB_HOME.
    Do I miss something than setting path to DatabaseEnvironmentConfig.CreationDir ?
    \BDB_HOME
    |
    -BDB_SUB1
    -BDB_SUB2
    -BDB_SUB3
    FYI
    Ver.5.1.19 (HA)
    C#
    VisualStudio.Net 2010
    Thanks,
    Osamu

    Hi Osamu,
    This is a known limitation with BDB HA at the moment. This issue is tracked internally in SR #19041. We hope to fix it, but do not guarantee that it will make it, in the next BDB release, 5.2.
    Osamu, if you have access to MOS (MyOracle Support) please consult Note 1250654.1 (Doc ID 1250654.1) -- How to Correctly Replicate a Directory Structure Involving Subdirectories Between Master and Client. This article explains in detail this issue and how to work around it for now.
    For reference, to explain the issue in more detail, suppose on the master the environment directory structure looks something like this:
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         \BDB_SUBDIR_2
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         \BDB_SUBDIR_M
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbOn the client site, the environment directory structure will be incorrectly replicated and will look something similar to this (with all database files ending up under one of the subdirectories):
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         \BDB_SUBDIR_2
         \BDB_SUBDIR_M
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbThe workaround to resolve this issue depends on a manual hot backup. AUTOINIT should be turned off via rep_set_config with DB_REP_CONF_AUTOINIT and 0. Than the client should be bootstrapped with the databases and logs from the master and recovery should be run as described in the Berkeley DB Programmer's Reference Guide, in the Hot failover section.
    Basically, copy all the databases, copy the logs, run catastrophic recovery on the new client environment directory, and start the application. By turning off AUTOINIT you might need to take care of handling the REP_JOIN_FAILURE event error.
    To summarize, the workaround implies the following actions:
    1. On the client environment call DbEnv::rep_set_config like this:
    DbEnv::rep_set_config(DB_REP_CONF_AUTOINIT, 0);With the C# API it's something like:
    DatabaseEnvironmentConfig envConfig = new DatabaseEnvironmentConfig();
    envConfig.RepSystemCfg = new ReplicationConfig();
    envConfig.RepSystemCfg.AutoInit = false;
    DatabaseEnvironment env = DatabaseEnvironment.Open(envHomeDir, envConfig);or you could use the DatabaseEnvironment's class RepAutoInit property.
    2. Handle DB_REP_JOIN_FAILURE on the client environment, which could be returned from DbEnv::rep_process_message. Handling implies setting an event callback function via set_event_notify for DB_EVENT_REP_JOIN_FAILURE like this:
    DbEnv::set_event_notify(eventsHandler);where eventsHandler is a callback function that respects this signature:
    void (*db_event_fcn)(DB_ENV *dbenv, u_int32_t event, void *event_info)and internally checks to see if event is DB_EVENT_REP_JOIN_FAILURE. If it is, it may trigger copying of the backup files from the master onto the client.
    With the C# API you will set an EventNotifyDelegate delegate using the EventNotify property and check the NotificationEvent.
    3. Start the client. Because AUTOINIT is turned off, internal init will not be performed, hence it will not remove the directory structure on the client environment.
    4. If the event callback function gets notified of the DB_EVENT_REP_JOIN_FAILURE it means that the backup of the master (databases and log files of the master) is required on the client. Take a manual hot backup as per the guidelines in the Hot failover section, and copy the database and log files onto the client; this is something that the event callback function can do, when it handles DB_EVENT_REP_JOIN_FAILURE by using something like rsync to copy the files between the machines.
    5. If a backup was copied onto the client, run a catastrophic recovery in the client environment either manually via db_recover -c, or programmatically by specifying the DB_RECOVER_FATAL flag to the client's DbEnv::open call (with the C# API you specify it via RunFatalRecovery)
    6. After the catastrophic recovery will have been performed and the client will have started, all the replication synchronization will work as expected, replication messages will be processed correctly, and the directory structure will be maintained.
    Regards,
    Andrei

  • How to know the size of archived logs created under ASM

    I using Oracle 10g on Linux x86-64.
    I need to ship the archived logs(not the entire directory, only a few) from the Live database to the DR site, so I need an estimate of how much time it will take to ship them across the network ?
    Is there anyway I can know the size of a specific archived log file stored under ASM ?
    We can use du in ASM to know the size of directory but I dont find a command in ASM to get the size of a file ?

    No we are also switching logfiles manually , so the maximum size may not
    have reached.
    What I need is something like ls -l command in the Unix prompt which will
    help us to find the size of the file , a similar command to help us determine
    a size of file in ASM ?What is the objective?
    Anyways, you can get the size of an archived log file by quering V$ARCHIVED_LOG view.
    SQL> select sequence#, name, blocks*block_size from v$archived_log where sequence# > 180;
    SEQUENCE# NAME                                     BLOCKS*BLOCK_SIZE
           182 C:\MYDB\ARCH\ARC00182_0633314306.001             223053312
           181 C:\MYDB\ARCH\ARC00181_0633314306.001             264281600
           183 C:\MYDB\ARCH\ARC00183_0633314306.001              26209280
           184 C:\MYDB\ARCH\ARC00184_0633314306.001                  4096
           185 C:\MYDB\ARCH\ARC00185_0633314306.001                 16384
    SQL>

  • Standby creating archives log files issue!

    Hello Everyone,
    Working on oracle 10g R2/Windows, I have created a dataguard with one standby database, but there is a strange issue that happen, and I'll need someone to shed the light to me.
    By default archived log created from the primary database should be the  sent to the stanndby database, but I found that the standby database has plus one archived log file.
    From the primary database:
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 1021
    Next log sequence to archive 1023
    Current log sequence 1023
    contents of C:\local_destination1_orcl
    1_1022_623851185.ARC
    from the standby database:
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 1022
    Next log sequence to archive 0
    Current log sequence 1023
    contents of C:\local_destination1_orcl
    1_1022_623851185.ARC
    1_1023_623851185.ARC ---> this is the extra archive file created in the standby database, should someone let me know how to avoid this?
    Thanks for your help

    SELECT FROM v$version;*
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 64-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    The standby database is a physical standby database (not logical standby)
    Thanks against for your contribution, but I'm still not know why standby create and arhive files too?

  • Last archive log

    Hi All,
    sorry if i can not write English well. and i am beginner in Data guard(DG)
    i established Data guard . primary in server1 and DG in server2. dont enable redo log for DG.
    when an archive log created in server1 , immediate copy this archive log to server2 automatically.
    but for example when we have 10 archive log in server1 . we have 11 archive log in server2. i dont know the last archive is archive log or another file type but this name is same archive log file name format.
    for example when created O1_MF_1_69_689MFJSW_.ARC (40 MB size). this file copy to server2 but
    in server2 created O1_MF_1_70_689MFJSW_.ARC . and i think when DG database is shutdown, last archive log
    in this case O1_MF_1_70_689MFJSW_.ARC deleted automatically. my question is : what is this(last archive that created in server2) . this is normal or no?
    Best Regards
    Hassan

    hi,
    Can you paste the result of the below query.. Run it in primary
    SET PAGESIZE 124
    COL DB_NAME FORMAT A8
    COL HOSTNAME FORMAT A12
    COL LOG_ARCHIVED FORMAT 999999
    COL LOG_APPLIED FORMAT 999999
    COL LOG_GAP FORMAT 999
    COL APPLIED_TIME FORMAT A12
    COL LOG_DAY FORMAT A2
    SELECT DB_NAME, HOSTNAME, LOG_ARCHIVED, LOG_APPLIED,APPLIED_TIME,
    LOG_ARCHIVED-LOG_APPLIED LOG_GAP,LAG_DAY,LAG_TIME
    FROM
    SELECT NAME DB_NAME
    FROM V$DATABASE
    SELECT UPPER(SUBSTR(HOST_NAME,1,(DECODE(INSTR(HOST_NAME,'.'),0,LENGTH(HOST_NAME),
    (INSTR(HOST_NAME,'.')-1))))) HOSTNAME
    FROM V$INSTANCE
    SELECT MAX(SEQUENCE#) LOG_ARCHIVED
    FROM V$ARCHIVED_LOG WHERE DEST_ID=1 AND ARCHIVED='YES'
    SELECT MAX(SEQUENCE#) LOG_APPLIED
    FROM V$ARCHIVED_LOG WHERE DEST_ID=2 AND APPLIED='YES'
    SELECT TO_CHAR(MAX(COMPLETION_TIME),'DD-MON/HH24:MI') APPLIED_TIME
    FROM V$ARCHIVED_LOG WHERE DEST_ID=2 AND APPLIED='YES'
    SELECT floor((sysdate - MAX(COMPLETION_TIME))*24*60) LAG_TIME
    FROM V$ARCHIVED_LOG WHERE DEST_ID=2 AND APPLIED='YES'
    SELECT '+'||floor((sysdate - MAX(COMPLETION_TIME))*24) LAG_DAY
    FROM V$ARCHIVED_LOG WHERE DEST_ID=2 AND APPLIED='YES'
    );thanks,
    baskar.l

  • Cross Pltform Archive Log Application.

    Hi !!!
    In my organisation we have installed Oracle 10g on HP Unix & Oracle 10g on Windows 2000 Server, we are on OLTP. Now I want to get the ARCHIVE LOGS created from ORACLE 10g - HP UNIX on to ORACLE 10g - Windows 2000 Server. Can this be done, require urgent help on this.
    Thank's
    Rajeev.

    You cannot use the archivelogs of oracle onHP in oracle on Win2K.
    Are you planning to have a clone of your HP database or Win2k?
    Or
    Plannnig to use Win2K server as standby?

  • Oracle 9i request wrong archive log name during recovery

    Hello all,
    I am facing a problem with a database 9i Enterprise Edition running on Windows 2003 Enterprise Edition environment. According to the customer, when he takes the database offline using MSCS to take an offline backup, the database crashes when he tries to put it back online... But here a strange thing happens... when the command RECOVER DATABASE is issued, it asks for the wrong archive log... for example:
    The actual sequence is 14322, but Oracle asks for the archive log SID_4322... (in this case we have to rename the original file SID_14322 to SID_4322). I don't understand why it asks for the archive incorrectly... I issued the command ARCHIVE LOG LIST and it says that the current thread is 14322 (which is correct)... every new archive is created with the correct name (SID_143XX)... why is it asking for an archive without the number 1 in this case? Rename all the files to recover a database is not very pleasent job... creating an script to do so is not a solution in my opinion, hehe. Thanks for your help in advance.
    Best regards,
    Bruno Carvalho
    Edited by: Bruno Carvalho on Jul 5, 2010 10:08 AM

    Hello Damorgan,
    MSCS = Microsoft Cluster Services (it's an MMC console). The backup strategy is very old, and they use BR*Tools script to create a job on ArcServe Brigstor, and then the backup is performed via backint. (It's an SAP ERP system, which should be backed up using BR*Tools). I checked the alert log and I think that the problem is the length of the archive log name (in the alert log it gives me the error below):
    ARCH: Warning. Log sequence in archive filename wrapped
    to fix length as indicated by %S in LOG_ARCHIVE_FORMAT.
    Old log archive with same name might be overwritten.
    Media Recovery Log E:\ORACLE\SID\SAPARCH\SIDARCH\SIDARCH_43454.DBF <- this should be SIDARCH_143454.DBF
    Now I'm looking for a parameter where I can set the length of the archives, your help would be very appreciated (and please let me know if I'm not going the right way).
    Best regards,
    Bruno Carvalho

  • Create procedure is generating too many archive logs

    Hi
    The following procedure was run on one of our databases and it hung since there were too many archive logs being generated.
    What would be the answer? The db must remain in archivelog mode.
    I understand the nologging concept, but as I know this applies to creating tables, views, indexes and tablespaces. This script is creating procedure.
    CREATE OR REPLACE PROCEDURE APPS.Dfc_Payroll_Dw_Prc(Errbuf OUT VARCHAR2, Retcode OUT NUMBER
    ,P_GRE NUMBER
    ,P_SDATE VARCHAR2
    ,P_EDATE VARCHAR2
    ,P_ssn VARCHAR2
    ) IS
    CURSOR MainCsr IS
    SELECT DISTINCT
    PPF.NATIONAL_IDENTIFIER SSN
    ,ppf.full_name FULL_NAME
    ,ppa.effective_date Pay_date
    ,ppa.DATE_EARNED period_end
    ,pet.ELEMENT_NAME
    ,SUM(TO_NUMBER(prv.result_value)) VALOR
    ,PET.ELEMENT_INFORMATION_CATEGORY
    ,PET.CLASSIFICATION_ID
    ,PET.ELEMENT_INFORMATION1
    ,pet.ELEMENT_TYPE_ID
    ,paa.tax_unit_id
    ,PAf.ASSIGNMENT_ID ASSG_ID
    ,paf.ORGANIZATION_ID
    FROM
    pay_element_classifications pec
    , pay_element_types_f pet
    , pay_input_values_f piv
    , pay_run_result_values prv
    , pay_run_results prr
    , pay_assignment_actions paa
    , pay_payroll_actions ppa
    , APPS.pay_all_payrolls_f pap
    ,Per_Assignments_f paf
    ,per_people_f ppf
    WHERE
    ppa.effective_date BETWEEN TO_DATE(p_sdate) AND TO_DATE(p_edate)
    AND ppa.payroll_id = pap.payroll_id
    AND paa.tax_unit_id = NVL(p_GRE, paa.tax_unit_id)
    AND ppa.payroll_action_id = paa.payroll_action_id
    AND paa.action_status = 'C'
    AND ppa.action_type IN ('Q', 'R', 'V', 'B', 'I')
    AND ppa.action_status = 'C'
    --AND PEC.CLASSIFICATION_NAME IN ('Earnings','Alien/Expat Earnings','Supplemental Earnings','Imputed Earnings','Non-payroll Payments')
    AND paa.assignment_action_id = prr.assignment_action_id
    AND prr.run_result_id = prv.run_result_id
    AND prv.input_value_id = piv.input_value_id
    AND piv.name = 'Pay Value'
    AND piv.element_type_id = pet.element_type_id
    AND pet.element_type_id = prr.element_type_id
    AND pet.classification_id = pec.classification_id
    AND pec.non_payments_flag = 'N'
    AND prv.result_value &lt;&gt; '0'
    --AND( PET.ELEMENT_INFORMATION_CATEGORY LIKE '%EARNINGS'
    -- OR PET.element_type_id IN (1425, 1428, 1438, 1441, 1444, 1443) )
    AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN PET.EFFECTIVE_START_DATE AND PET.EFFECTIVE_END_DATE
    AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN PIV.EFFECTIVE_START_DATE AND PIV.EFFECTIVE_END_DATE --dcc
    AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN Pap.EFFECTIVE_START_DATE AND Pap.EFFECTIVE_END_DATE --dcc
    AND paf.ASSIGNMENT_ID = paa.ASSIGNMENT_ID
    AND ppf.NATIONAL_IDENTIFIER = NVL(p_ssn, ppf.NATIONAL_IDENTIFIER)
    ------------------------------------------------------------------TO get emp.
    AND ppf.person_id = paf.person_id
    AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN ppf.EFFECTIVE_START_DATE AND ppf.EFFECTIVE_END_DATE
    ------------------------------------------------------------------TO get emp. ASSIGNMENT
    --AND paf.assignment_status_type_id NOT IN (7,3)
    AND NVL(PPA.DATE_EARNED, PPA.EFFECTIVE_DATE) BETWEEN paf.effective_start_date AND paf.effective_end_date
    GROUP BY PPF.NATIONAL_IDENTIFIER
    ,ppf.full_name
    ,ppa.effective_date
    ,ppa.DATE_EARNED
    ,pet.ELEMENT_NAME
    ,PET.ELEMENT_INFORMATION_CATEGORY
    ,PET.CLASSIFICATION_ID
    ,PET.ELEMENT_INFORMATION1
    ,pet.ELEMENT_TYPE_ID
    ,paa.tax_unit_id
    ,PAF.ASSIGNMENT_ID
    ,paf.ORGANIZATION_ID
    BEGIN
    DELETE cust.DFC_PAYROLL_DW
    WHERE PAY_DATE BETWEEN TO_DATE(p_sdate) AND TO_DATE(p_edate)
    AND tax_unit_id = NVL(p_GRE, tax_unit_id)
    AND ssn = NVL(p_ssn, ssn)
    COMMIT;
    FOR V_REC IN MainCsr LOOP
    INSERT INTO cust.DFC_PAYROLL_DW(SSN, FULL_NAME, PAY_DATE, PERIOD_END, ELEMENT_NAME, ELEMENT_INFORMATION_CATEGORY, CLASSIFICATION_ID, ELEMENT_INFORMATION1, VALOR, TAX_UNIT_ID, ASSG_ID,ELEMENT_TYPE_ID,ORGANIZATION_ID)
    VALUES(V_REC.SSN,V_REC.FULL_NAME,v_rec.PAY_DATE,V_REC.PERIOD_END,V_REC.ELEMENT_NAME,V_REC.ELEMENT_INFORMATION_CATEGORY, V_REC.CLASSIFICATION_ID, V_REC.ELEMENT_INFORMATION1, V_REC.VALOR,V_REC.TAX_UNIT_ID,V_REC.ASSG_ID, v_rec.ELEMENT_TYPE_ID, v_rec.ORGANIZATION_ID);
    COMMIT;
    END LOOP;
    END ;
    So, how could I assist our developer with this, so that she can run it again without it generating a ton of logs ? ?
    Thanks
    Oracle 9.2.0.5
    AIX 5.2

    The amount of redo generated is a direct function of how much data is changing. If you insert 'x' number of rows, you are going to generate 'y' mbytes of redo. If your procedure is destined to insert 1000 rows, then it is destined to create a certain amount of redo. Period.
    I would question the <i>performance</i> of the procedure shown ... using a cursor loop with a commit after every row is going to be a slug on performance but that doesn't change the fact 'x' inserts will always generate 'y' redo.

  • Archive log gap is created is standby when ever audit trail is set to DB

    Hi
    I am a new dba. I am facing a problem at production server that whenever audit_trail parameter is set to db , archive log gap is created at the standby site.
    My database version is 10.2.0.4
    Os is windows 2003 R2
    Audit_trail parameter is set to db only in primary site, after setting the parameter as db when I bounced the database and switched the logfile , archive log gap is created in the standby..I am using LGWR mode of log transport.
    Is there any relation beteen audit_trail and log transport ?
    Please note that my archive log location of both the sites has sufficient disk space and the drive is working fine.Also my primary and standby is in WAN.
    Please help me in this.Any help will be highly appreciated.
    Here a trace file which may be helpful to give any opinion.
    Dump file d:\oracle\admin\sbiofac\bdump\sbiofac_lns1_6480.trc
    Tue Jun 05 13:46:02 2012
    ORACLE V10.2.0.4.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:16504M/18420M, Ph+PgF:41103M/45775M, VA:311M/2047M
    Instance name: sbiofac
    Redo thread mounted by this instance: 1
    Oracle process number: 21
    Windows thread id: 6480, image: ORACLE.EXE (LNS1)
    *** SERVICE NAME:() 2012-06-05 13:46:02.703
    *** SESSION ID:(534.1) 2012-06-05 13:46:02.703
    *** 2012-06-05 13:46:02.703 58902 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2012-06-05 13:46:02.750 58955 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2012-06-05 13:46:02.875 73045 kcrr.c
    Sending online log thread 1 seq 2217 [logfile 1] to standby
    Redo shipping client performing standby login
    *** 2012-06-05 13:46:03.656 66535 kcrr.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    Archiving to destination sbiofacdr ASYNC blocks=20480
    Allocate ASYNC blocks: Previous blocks=0 New blocks=20480
    Log file opened [logno 1]
    *** 2012-06-05 13:46:44.046
    Error 272 writing standby archive log file at host 'sbiofacdr'
    ORA-00272: error writing archive log
    *** 2012-06-05 13:46:44.078 62692 kcrr.c
    LGWR: I/O error 272 archiving log 1 to 'sbiofacdr'
    *** 2012-06-05 13:46:44.078 60970 kcrr.c
    kcrrfail: dest:2 err:272 force:0 blast:1
    *** 2012-06-05 13:47:37.031
    *** 2012-06-05 13:47:37.031 73045 kcrr.c
    Sending online log thread 1 seq 2218 [logfile 2] to standby
    *** 2012-06-05 13:47:37.046 73221 kcrr.c
    Shutting down [due to no more ASYNC destination]
    Redo Push Server: Freeing ASYNC PGA buffer
    LNS1: Doing a channel reset for next time around...

    OK
    Great details thanks!!
    Are The SDU/TDU settings are configured in the Oracle Net files on both primary and standby ? I will see if I have an example.
    The parameters appear fine.
    There was an Oracle document 386417.1 on this, I have not double checked if its still available. ( CHECK - Oracle 9 but worth a galance )
    Will Check and post here.
    I have these listed too. ( Will check all three and see if they still exist )
    When to modify, when not to modify the Session data unit (SDU) [ID 99715.1] ( CHECK - still there but very old )
    SQL*Net Packet Sizes (SDU & TDU Parameters) [ID 44694.1] ( CHECK - Best by far WOULD REVIEW FIRST )
    Any chance your firewall limit the Packet size?
    Best Regards
    mseberg
    Edited by: mseberg on Jun 6, 2012 12:36 PM
    Edited by: mseberg on Jun 6, 2012 12:43 PM
    Additional document
    The relation between MTU (Maximum Transmission Unit) and SDU (Session Data Unit) [ID 274483.1]
    Edited by: mseberg on Jun 6, 2012 12:50 PM
    Still later
    Not sure if this helps but I played around will this on Oracle 11 a little, here that example:
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = yourdomain.com)(PORT = 1521))
    SID_LIST_LISTENER = (SID_LIST =(SID_DESC =(SID_NAME = STANDBY)
                          (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
                          (SDU=32767)
                          (GLOBAL_DBNAME = STANDBY_DGMGRL.yourdomain.com)))   
    ADR_BASE_LISTENER = /u01/app/oracle
    INBOUND_CONNECT_TIMEOUT_LISTENER=120Edited by: mseberg on Jun 6, 2012 12:57 PM
    Also of interest
    Redo is transporting in 10gR2 versions.
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-dataguardnetworkbestpr-134557.pdf
    Edited by: mseberg on Jun 6, 2012 1:11 PM

  • OVM 3.0 Database Creating Lots of Archive Logs

    Greetings - ever since we initially installed OVM 3.0 earlier this fall (~October), the OVM database has generated archive logs at a very rapid rate. It continually threatens to fill up our 16 GB filesystem dedicated to archive logs, even after daily backup and purging.
    Our OVM database itself is about 4-6 GB large, and we would need to increase the archive log filesystem to about 20-25 GB in size, which we see as unreasonable for such a small database.
    What is causing OVM to generate so many redo logs? Our best guess is that OVM is continuously gathering guest VM CPU usage on each physical server.
    Is there a way to configure the OVM application in order to reduce the amount of redo/archive logs being created?
    We are currently running 3.0.3, having upgraded each time a 3.0.* patch was released. OVMM running on OEL 6.1, database running on latest HP-UX.

    majedian21 wrote:
    Greetings - ever since we initially installed OVM 3.0 earlier this fall (~October), the OVM database has generated archive logs at a very rapid rate. It continually threatens to fill up our 16 GB filesystem dedicated to archive logs, even after daily backup and purging.I would log an SR with Oracle Support for this, so that Development can look at it. Sounds like your environment has lots of VMs running and yes, collecting usage stats for all of those environments. However, there may be some old data from the previous versions that's causing more stats to be collected than necessary.

  • 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.

  • How to create uniform size archive logs?

    DB version 11.2.0.3
    OS solaris.
    i have 6 online redo log groups.
    i want that my archive logs file always create of uniform size of 50MB each?

    Asad99 wrote:
    DB version 11.2.0.3
    OS solaris.
    i have 6 online redo log groups.
    i want that my archive logs file always create of uniform size of 50MB each?Why do you care about the size of an individual archivelog? What problem does that solve?
    Archivelogs are simply "backup" copies of the online redologs. So in general, an archivelog will be the same size as the online redolog that it is archiving. It may happen to be be smaller in some circumstances that cause a log switch before an online redo log is full.

  • Why archived log of an instance got created in another instance?

    Hi All,
    It is a 2 nodes RAC. I found that there are archived log of instance#1 created in instance#2. It is strange. Do you have any idea?
    instance#1
    [oracle@server1 dbs]$ ls -l /appl/erp/arch/orcl/
    total 1501340
    -rw-r-----  1 oracle erpdba 49469952 Jan 17 09:33 1_781_715695404.arc
    -rw-r-----  1 oracle erpdba 50551808 Jan 17 09:34 1_782_715695404.arc
    -rw-r-----  1 oracle erpdba     1024 Jan 17 09:39 1_785_715695404.arc
    -rw-r-----  1 oracle erpdba 49051648 Jan 17 10:00 1_786_715695404.arc
    -rw-r-----  1 oracle erpdba 83065344 Jan 17 10:00 2_615_715695404.arc
    -rw-r-----  1 oracle erpdba 51148800 Jan 17 10:01 1_787_715695404.arc
    -rw-r-----  1 oracle erpdba     1024 Jan 17 10:01 2_616_715695404.arc
    -rw-r-----  1 oracle erpdba 48924672 Jan 17 10:01 1_788_715695404.arc
    -rw-r-----  1 oracle erpdba 48935424 Jan 17 10:01 1_789_715695404.arc
    -rw-r-----  1 oracle erpdba 23964160 Jan 17 10:06 1_790_715695404.arc
    -rw-r-----  1 oracle erpdba 51796480 Jan 17 10:07 1_791_715695404.arc
    -rw-r-----  1 oracle erpdba 52080640 Jan 17 10:08 1_792_715695404.arc
    -rw-r-----  1 oracle erpdba 51973120 Jan 17 10:09 1_793_715695404.arcinstance#2
    [oracle@server2 dbs]$ ls -l /appl/erp/arch/orcl/
    total 1501340
    -rw-rw----  1 oracle erpdba 101348352 Jan 16 15:46 2_605_715695404.arc
    -rw-rw----  1 oracle erpdba 101351424 Jan 16 16:05 2_606_715695404.arc
    -rw-rw----  1 oracle erpdba 101347840 Jan 16 16:06 2_607_715695404.arc
    -rw-r-----  1 oracle erpdba 101350400 Jan 16 16:55 2_596_715695404.arc
    -rw-rw----  1 oracle erpdba   3522560 Jan 16 18:13 2_609_715695404.arc
    -rw-rw----  1 oracle erpdba  47719424 Jan 17 09:33 2_610_715695404.arc
    -rw-rw----  1 oracle erpdba      7168 Jan 17 09:33 2_611_715695404.arc
    -rw-rw----  1 oracle erpdba   5175296 Jan 17 09:34 1_783_715695404.arc
    -rw-rw----  1 oracle erpdba   6170112 Jan 17 09:34 2_612_715695404.arc
    -rw-rw----  1 oracle erpdba  50551808 Jan 17 09:34 1_782_715695404.arc
    -rw-rw----  1 oracle erpdba      1024 Jan 17 09:34 1_784_715695404.arc
    -rw-rw----  1 oracle erpdba 102879232 Jan 17 09:36 2_613_715695404.arc
    -rw-rw----  1 oracle erpdba 103360512 Jan 17 09:38 2_614_715695404.arcRegards,
    nww

    Hi Salman,
    I don't know. I just modified your SQL a bit as below.
    select inst_id, name, thread#, sequence#, first_time from gv$archived_log
    where first_time like '16-JAN-13%'
    and sequence# between 605 and 793
    order by FIRST_TIME ;I tried again with the follow SQL. Do you know what's going on? The FIRST_TIME changed?
    select inst_id, name, thread#, sequence#, first_time from gv$archived_log
    where first_time >= trunc(sysdate-1)
    and sequence# between 605 and 793
    order by FIRST_TIME ;
       INST_ID NAME                                          THREAD#  SEQUENCE# FIRST_TIM
             2                                                     1        770 16-JAN-13
             2 ORCLSB                                              1        770 16-JAN-13
             1 ORCLSB                                              1        770 16-JAN-13
             1                                                     1        770 16-JAN-13
             1                                                     1        771 16-JAN-13
             2                                                     1        771 16-JAN-13
             1 ORCLSB                                              1        771 16-JAN-13
             2 ORCLSB                                              1        771 16-JAN-13
             2 ORCLSB                                              1        772 16-JAN-13
             1                                                     1        772 16-JAN-13
             2                                                     1        772 16-JAN-13
             1 ORCLSB                                              1        772 16-JAN-13
             1                                                     2        605 16-JAN-13
             2                                                     2        605 16-JAN-13
             2 ORCLSB                                              2        605 16-JAN-13
             1 ORCLSB                                              2        605 16-JAN-13
             1                                                     2        606 16-JAN-13
             2                                                     2        606 16-JAN-13
             1 ORCLSB                                              2        606 16-JAN-13
             2 ORCLSB                                              2        606 16-JAN-13
             2 ORCLSB                                              2        607 16-JAN-13
             2                                                     2        607 16-JAN-13
             1                                                     2        607 16-JAN-13
             1 ORCLSB                                              2        607 16-JAN-13
             1 ORCLSB                                              2        608 16-JAN-13
             2 ORCLSB                                              2        608 16-JAN-13
             1                                                     2        608 16-JAN-13
             2                                                     2        608 16-JAN-13
             2 ORCLSB                                              1        773 16-JAN-13
             2                                                     1        773 16-JAN-13
             1 ORCLSB                                              1        773 16-JAN-13
             1                                                     1        773 16-JAN-13
             2                                                     1        774 16-JAN-13
             1 ORCLSB                                              1        774 16-JAN-13
             2 ORCLSB                                              1        774 16-JAN-13
             1                                                     1        774 16-JAN-13
             2 ORCLSB                                              2        609 16-JAN-13
             1 ORCLSB                                              2        609 16-JAN-13
             1                                                     2        609 16-JAN-13
             2                                                     2        609 16-JAN-13
             1 ORCLSB                                              1        775 16-JAN-13
             1                                                     1        775 16-JAN-13
             2                                                     1        775 16-JAN-13
             2 ORCLSB                                              1        775 16-JAN-13
             2                                                     2        610 16-JAN-13
             1 ORCLSB                                              2        610 16-JAN-13
             1                                                     2        610 16-JAN-13
             2 ORCLSB                                              2        610 16-JAN-13
             2 ORCLSB                                              1        776 16-JAN-13
             2                                                     1        776 16-JAN-13
             1 ORCLSB                                              1        776 16-JAN-13
             1                                                     1        776 16-JAN-13
             2 ORCLSB                                              1        777 17-JAN-13
             1                                                     1        777 17-JAN-13
             1 ORCLSB                                              1        777 17-JAN-13
             2                                                     1        777 17-JAN-13
             1                                                     1        778 17-JAN-13
             1 ORCLSB                                              1        778 17-JAN-13
             2                                                     1        778 17-JAN-13
             2 ORCLSB                                              1        778 17-JAN-13
             2                                                     2        611 17-JAN-13
             1 ORCLSB                                              2        611 17-JAN-13
             2 ORCLSB                                              2        611 17-JAN-13
             1                                                     2        611 17-JAN-13
             2 ORCLSB                                              1        779 17-JAN-13
             1                                                     1        779 17-JAN-13
             1 ORCLSB                                              1        779 17-JAN-13
             2                                                     1        779 17-JAN-13
             2 ORCLSB                                              1        780 17-JAN-13
             2                                                     1        780 17-JAN-13
             1 ORCLSB                                              1        780 17-JAN-13
             1                                                     1        780 17-JAN-13
             1                                                     2        612 17-JAN-13
             1 ORCLSB                                              2        612 17-JAN-13
             2                                                     2        612 17-JAN-13
             2 ORCLSB                                              2        612 17-JAN-13
             1 ORCLSB                                              1        781 17-JAN-13
             1                                                     1        781 17-JAN-13
             2                                                     1        781 17-JAN-13
             2 ORCLSB                                              1        781 17-JAN-13
             1                                                     1        782 17-JAN-13
             2                                                     1        782 17-JAN-13
             2                                                     1        783 17-JAN-13
             1                                                     1        783 17-JAN-13
             2 ORCLSB                                              1        783 17-JAN-13
             1 ORCLSB                                              1        783 17-JAN-13
             1 ORCLSB                                              1        784 17-JAN-13
             1                                                     1        784 17-JAN-13
             2                                                     1        784 17-JAN-13
             2 ORCLSB                                              1        784 17-JAN-13
             2                                                     2        613 17-JAN-13
             1                                                     2        613 17-JAN-13
             1 ORCLSB                                              2        613 17-JAN-13
             2 ORCLSB                                              2        613 17-JAN-13
             2                                                     2        614 17-JAN-13
             1                                                     2        614 17-JAN-13
             1 ORCLSB                                              2        614 17-JAN-13
             2 ORCLSB                                              2        614 17-JAN-13
             2 ORCLSB                                              2        615 17-JAN-13
             1                                                     2        615 17-JAN-13
             1 ORCLSB                                              2        615 17-JAN-13
             2                                                     2        615 17-JAN-13
             1 ORCLSB                                              1        785 17-JAN-13
             1                                                     1        785 17-JAN-13
             2                                                     1        785 17-JAN-13
             2 ORCLSB                                              1        785 17-JAN-13
             2 ORCLSB                                              1        786 17-JAN-13
             2                                                     1        786 17-JAN-13
             1 ORCLSB                                              1        786 17-JAN-13
             1                                                     1        786 17-JAN-13
             2                                                     1        787 17-JAN-13
             1 ORCLSB                                              1        787 17-JAN-13
             2 ORCLSB                                              1        787 17-JAN-13
             1                                                     1        787 17-JAN-13
             1 ORCLSB                                              2        616 17-JAN-13
             2 ORCLSB                                              2        616 17-JAN-13
             1                                                     2        616 17-JAN-13
             2                                                     2        616 17-JAN-13
             2                                                     1        788 17-JAN-13
             1 ORCLSB                                              1        788 17-JAN-13
             1                                                     1        788 17-JAN-13
             2 ORCLSB                                              1        788 17-JAN-13
             2 ORCLSB                                              1        789 17-JAN-13
             1                                                     1        789 17-JAN-13
             1 ORCLSB                                              1        789 17-JAN-13
             2                                                     1        789 17-JAN-13
             1 ORCLSB                                              1        790 17-JAN-13
             1                                                     1        790 17-JAN-13
             2                                                     1        790 17-JAN-13
             2 ORCLSB                                              1        790 17-JAN-13
             1                                                     1        791 17-JAN-13
             1 ORCLSB                                              1        791 17-JAN-13
             2 ORCLSB                                              1        791 17-JAN-13
             2                                                     1        791 17-JAN-13
             1                                                     1        792 17-JAN-13
             1 ORCLSB                                              1        792 17-JAN-13
             2 ORCLSB                                              1        792 17-JAN-13
             2                                                     1        792 17-JAN-13
             2 ORCLSB                                              1        793 17-JAN-13
             2                                                     1        793 17-JAN-13
             1 ORCLSB                                              1        793 17-JAN-13
             1                                                     1        793 17-JAN-13
             1 ORCLSB                                              2        617 17-JAN-13
             1                                                     2        617 17-JAN-13
             2                                                     2        617 17-JAN-13
             2 ORCLSB                                              2        617 17-JAN-13
             2 ORCLSB                                              2        618 17-JAN-13
             1 /appl/erp/arch/ORCL/2_618_715695404.arc             2        618 17-JAN-13
             1 ORCLSB                                              2        618 17-JAN-13
             2 /appl/erp/arch/ORCL/2_618_715695404.arc             2        618 17-JAN-13
             2 /appl/erp/arch/ORCL/2_619_715695404.arc             2        619 17-JAN-13
             1 /appl/erp/arch/ORCL/2_619_715695404.arc             2        619 17-JAN-13
             2 /appl/erp/arch/ORCL/2_620_715695404.arc             2        620 17-JAN-13
             1 /appl/erp/arch/ORCL/2_620_715695404.arc             2        620 17-JAN-13
             2 /appl/erp/arch/ORCL/2_623_715695404.arc             2        623 17-JAN-13
             1 /appl/erp/arch/ORCL/2_622_715695404.arc             2        622 17-JAN-13
             1 /appl/erp/arch/ORCL/2_623_715695404.arc             2        623 17-JAN-13
             1 /appl/erp/arch/ORCL/2_621_715695404.arc             2        621 17-JAN-13
             2 /appl/erp/arch/ORCL/2_621_715695404.arc             2        621 17-JAN-13
             2 /appl/erp/arch/ORCL/2_622_715695404.arc             2        622 17-JAN-13
             2 /appl/erp/arch/ORCL/2_624_715695404.arc             2        624 17-JAN-13
             1 /appl/erp/arch/ORCL/2_624_715695404.arc             2        624 17-JAN-13
    162 rows selected.BTW, what are those records having blank name?
    Regards,
    nww

  • Archive log files are not being created

    I am doing some testing of the backup and recovery of our databases.
    I have a database which is in archive log mode.
    I have added some records to a table and I am expecting to see some archive files
    being written to but nothing is being produced.
    We are running Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    The current archive information is as follows :
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 1
    Next log sequence to archive 3
    Current log sequence 3
    SQL> show parameter db_recovery_file_dest;
    NAME TYPE VALUE
    db_recovery_file_dest string /export/flash_recovery_area
    When I look in the directory as indicated above I see no files :
    cd /export/flash_recovery_area/MRESTORE/archivelog/2013_04_16
    (no files)
    I'm wondering if I am missing something obvious here.
    Thank you in advance.

    user6502667 wrote:
    I am doing some testing of the backup and recovery of our databases.
    I have a database which is in archive log mode.
    I have added some records to a table and I am expecting to see some archive files
    being written to but nothing is being produced.
    We are running Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    The current archive information is as follows :
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 1
    Next log sequence to archive 3
    Current log sequence 3
    SQL> show parameter db_recovery_file_dest;
    NAME TYPE VALUE
    db_recovery_file_dest string /export/flash_recovery_area
    When I look in the directory as indicated above I see no files :
    cd /export/flash_recovery_area/MRESTORE/archivelog/2013_04_16
    (no files)
    I'm wondering if I am missing something obvious here.
    Thank you in advance.There can be several, but I'd say the most likely is that you simply didn't yet generate enough redo information to fill a redolog and thus trigger the writing of an archivelog.

  • Filters putting messages in wrong folder

    I've created a large number of filters for email based on from address, where each rule puts messages from a list of addresses into a specific folder, one folder per rule. for some reason, a few email addresses are always put in the wrong folder. I've verified that that address is not in the rule for that folder, and that the address is in the rule for the desired folder.

    If you want filter logs, you need to set that up after setting up the filter. Select the name of the filter, click the Filter Log button, then check the "Enable the Filter Log" box.

Maybe you are looking for

  • HT204266 My Apps won't update.. And now I can't acess them at all. Any advice?

    The App Store said I had three updates ready.. I clicked Update All and now each of those three apps just say "waiting"... It's been a few hours now. They haven't loaded or updated at all. Any advice? I'd like to use my apps, please. :)

  • Dump error in smartforms , please help me urgent

    Hi,       i have created a smartform with two pages in it , i was not able to create the window in the second page it was showing me a dump error but i manage to  copy the main window of first page in to second page it was working fine but if i delet

  • How to send file as attachment and call RFC to trigger event in ECC?

    Hello, A file is retrieved from FTP into PI (w/ NO MAPPING required - just pass through) and placed on the ECC appl. Server. Then, a RFC is made to trigger an event to process the file in ECC.  However, a RFC cannot be called in the graphical mapping

  • Character input disaplay after " " when show up in af:outputFormatted

    When I input text after "<" in text field and save it in database varchar2 column. It is found that all character disappear after "<" when I retrieve it with af:outputFormatted. If I retrieve it with outputText. It can show up properly. For example,

  • VGA-enabled app for projecting docs in iPad 1

    I'm looking for a VGA-enabled app able to project simple text and PDF documents to a projector through a VGA adapter on an iPad 1. There appear to be lots of VGA-enabled apps for projecting things, but few of them seem to work with iOS 5. Many of the