Lgwr Trace file

Dump file f:\oracle\product\10.2.0\admin\db\bdump\db_lgwr_1712.trc
Fri Feb 23 08:50:01 2007
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows 2000 Version V5.0 Service Pack 4
CPU : 4 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1575M/2047M, Ph+PgF:2870M/3939M, VA:856M/2047M
Instance name: DB
Redo thread mounted by this instance: 1
Oracle process number: 6
Windows thread id: 1712, image: ORACLE.EXE (LGWR)
*** SERVICE NAME:() 2007-02-23 08:50:01.828
*** SESSION ID:(199.1) 2007-02-23 08:50:01.828
LGWR: Archivelog for thread 1 sequence 569 will NOT be compressed
tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)
tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x1)
Maximum redo generation record size = 156160 bytes
Maximum redo generation change vector size = 150672 bytes
tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x10)
tkcrrpa: (WARN) Failed initial attempt to send ARCH message (message:0x10)
*** 2007-02-23 09:47:36.796
LGWR: Archivelog for thread 1 sequence 570 will NOT be compressed
*** 2007-02-23 10:07:40.125
LGWR: Archivelog for thread 1 sequence 571 will NOT be compressed
*** 2007-02-23 10:26:49.109
LGWR: Archivelog for thread 1 sequence 572 will NOT be compressed
*** 2007-02-23 10:48:58.500
LGWR: Archivelog for thread 1 sequence 573 will NOT be compressed
*** 2007-02-23 11:16:28.640
LGWR: Archivelog for thread 1 sequence 574 will NOT be compressed
*** 2007-02-23 11:56:18.453
LGWR: Archivelog for thread 1 sequence 575 will NOT be compressed
*** 2007-02-23 12:41:25.875
LGWR: Archivelog for thread 1 sequence 576 will NOT be compressed
*** 2007-02-23 12:57:26.031
LGWR: Archivelog for thread 1 sequence 577 will NOT be compressed
*** 2007-02-23 14:50:27.609
LGWR: Archivelog for thread 1 sequence 578 will NOT be compressed
*** 2007-02-23 15:22:37.156
LGWR: Archivelog for thread 1 sequence 579 will NOT be compressed
*** 2007-02-23 15:51:31.218
LGWR: Archivelog for thread 1 sequence 580 will NOT be compressed
*** 2007-02-23 17:00:55.890
LGWR: Archivelog for thread 1 sequence 581 will NOT be compressed
*** 2007-02-23 20:27:21.078
tkcrrxmp: Stopping ARC1 to reduce ARCH processes from 2 to 0
tkcrrxmp: Stopping ARC0 to reduce ARCH processes from 1 to 0
Dump file f:\oracle\product\10.2.0\admin\db\bdump\db_lgwr_1712.trc
Anyone have any idea about this.
Thanks

Refer
LGWR: Archivelog for thread 1 sequence 219 will NOT be compressed

Similar Messages

  • LGWR trace file message

    Oracle 10g:
    I am getting the following message. Is that the disk IO issue? Where could look at more info?
    *** 2008-11-19 14:02:19.962
    Warning: log write time 3650ms, size 748KB
    We are seeing performance issue and I am assuming this will slow down our transaction rate.

    BUG 4704334 - ''TKCRRSARC: (WARN) FAILED TO FIND ARCH FOR MESSAGE (MESSAGE:0X1)''
    These messages are warning messages and are a consequence of the internal archive process spawning and releasing.
    There can be different reasons for this message to appear, but it is in fact related to internal work.
    Solution
    These are only diagnostic messages and can be safely ignored.
    Please ignore the messages.

  • Ubormal trace file generation in 11.1.0.7

    oracle version
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for 64-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    OS
    Windows 2008 EE R1 SP2
    Problem
    My trace files generated every 30 second and its drive me crazy i have to delete to maintain space of the server
    i check the alert logfile and it does not show anything suspecious here are a couple of lines from the alert.log file
    Sat Jan 22 00:16:52 2011
    Thread 1 advanced to log sequence 117 (LGWR switch)
    Current log# 1 seq# 117 mem# 0: E:\DATA\ORACLE\PMDB\REDO01A.LOG
    Current log# 1 seq# 117 mem# 1: E:\DATA\ORACLE\PMDB\REDO01B.LOG
    Sat Jan 22 02:00:00 2011
    Clearing Resource Manager plan via parameter
    Sat Jan 22 06:00:00 2011
    Setting Resource Manager plan SCHEDULER[0x2C49]:DEFAULT_MAINTENANCE_PLAN via scheduler window
    Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
    Sat Jan 22 06:00:03 2011
    Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
    End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"
    Sat Jan 22 06:00:36 2011
    Thread 1 advanced to log sequence 118 (LGWR switch)
    Current log# 2 seq# 118 mem# 0: E:\DATA\ORACLE\name\REDO02A.LOG
    Current log# 2 seq# 118 mem# 1: E:\DATA\ORACLE\nameREDO02B.LOG
    Sat Jan 22 11:09:15 2011
    Thread 1 advanced to log sequence 119 (LGWR switch)
    Current log# 1 seq# 119 mem# 0: E:\DATA\ORACLE\name\REDO01A.LOG
    Current log# 1 seq# 119 mem# 1: E:\DATA\ORACLE/name\REDO01B.LOG
    Sat Jan 22 11:37:19 2011
    Thread 1 advanced to log sequence 120 (LGWR switch)
    Current log# 2 seq# 120 mem# 0: E:\DATA\ORACLE\nam\REDO02A.LOG
    Current log# 2 seq# 120 mem# 1: E:\DATA\ORACLE\name\REDO02B.LOG
    And i have cheched the trace files and here are a couple of lines
    *** 2011-01-19 15:23:54.265
    *** SESSION ID:(43.21827) 2011-01-19 15:23:54.265
    *** CLIENT ID:() 2011-01-19 15:23:54.265
    *** SERVICE NAME:(name) 2011-01-19 15:23:54.265
    *** MODULE NAME:(OMS) 2011-01-19 15:23:54.265
    *** ACTION NAME:() 2011-01-19 15:23:54.265
    XS Users and Roles -- OCI Info
    kzxupnamread error -- 942: ORA-00942: table or view does not exist
    XS Users and Roles -- OCI Info
    kzxupnamread error -- 942: ORA-00942: table or view does not exist
    Trace file e:\app\oracle\diag\rdbms\pmdb\pmdb\trace\pmdb_ora_7688.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Windows NT Version V6.0 Service Pack 2
    CPU : 16 - type 8664, 8 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:8575M/16372M, Ph+PgF:24932M/32827M
    Instance name: name
    Redo thread mounted by this instance: 1
    Oracle process number: 18
    Windows thread id: 7688, image: ORACLE.EXE (SHAD)
    Would you please help me in identifying a solution to this problem

    Thanks everybody ,
    I have communciated to Oracle Support below is their reply :-
    << Based on the Developer comment in the bug, "This belongs to EXTENDED SECURITY and don't have conditions to run, it is addressed in patch 7019661 and solved in 11.2", >>
    i have to test the patch in the test environment and than i will do it in Live
    Thank you again

  • Huge nsa trace files in 11.2

    Dear all,
    11.2.2 rac one node on windows 2008. We are using Physical standby for this too. We have huge generation of trace files in the rdbms/trace directory with the below name
    medtdw_2_nsa2_7644
    contents of the file are :
    Trace file C:\APP\ORAADMIN\diag\rdbms\medtdw\medtdw_2\trace\medtdw_2_nsa2_7644.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    Windows NT Version V6.1 Service Pack 1
    CPU                 : 16 - type 8664, 8 Physical Cores
    Process Affinity    : 0x0x0000000000000000
    Memory (Avail/Total): Ph:8426M/16373M, Ph+PgF:23293M/32745M
    Instance name: medtdw_2
    Redo thread mounted by this instance: 2
    Oracle process number: 61
    Windows thread id: 7644, image: ORACLE.EXE (NSA2)
    *** 2012-02-24 10:08:11.265
    *** SESSION ID:(642.3) 2012-02-24 10:08:11.265
    *** CLIENT ID:() 2012-02-24 10:08:11.265
    *** SERVICE NAME:() 2012-02-24 10:08:11.265
    *** MODULE NAME:() 2012-02-24 10:08:11.265
    *** ACTION NAME:() 2012-02-24 10:08:11.265
    *** 2012-02-24 10:08:11.265 862 krsw.c
    NSA2: initializing for LGWR communication
    NSA2: connecting to KSR channel
    Success
    NSA2: subscribing to KSR channel
    Success
    *** 2012-02-24 10:08:11.265 907 krsw.c
    NSA2: initialized successfully ASYNC=1
    *** 2012-02-24 10:08:24.260
    NSA2: receiving message on its channel
    No NET_TIMEOUT has been specified - will use default network timeout
    ...Successfully Received Message from KSR
    Received message opcodes(11,11) and status=0
    *** 2012-02-24 10:08:24.260 1277 krsw.c
    Message 1 has 1 parts
    Destination is specified with ASYNC=61440
    *** 2012-02-24 10:08:24.260 7291 krsw.c
    krsw_log_switch_wait: log switch in progress
    *** 2012-02-24 10:08:24.369 2116 krsa.c
    Requesting CFTXN 0x0000000055D2D548 noenqueue (last PID:7656) [krsw.c:5185] IX0
    *** 2012-02-24 10:08:28.316
    *** 2012-02-24 10:08:28.316 2133 krsa.c
    Started    CFTXN 0x0000000055D2D548 noenqueue (PID:7644) [krsw.c:5185] IX+
    Retrieving log 3
    *** 2012-02-24 10:08:28.316 5212 krsw.c
    Sending online log thread 2 seq 422 [logfile 3] to standby
    Opening logfile [logno 3]
    *** 2012-02-24 10:08:28.331 4654 krsw.c
    Acquiring Async LNS enqueue thread 2 seq 422 dest 2 mode 4
    *** 2012-02-24 10:08:28.331 4674 krsw.c
    Acquired Async LNS enqueue thread 2 seq 422 dest 2 mode 4 [id1 131074 id2 422]
    Clearing FARC_FINAL/FARC_EOR by Lgwr archive NotiFYer routine
    krsd_init_sdips: called from [krsl.c:915] with function 5
    Log switch from thread 2 sequence 421 to sequence 422
    Changing dest 1 PDI dstvno from 0 to 2 [krsd.c:6072]
    Changing [krsd.c:6097] dest 1 stavno from 0 to 2
    Setting dest 1 KCRRDROP [krsd.c:6107]
    Changing dest 2 PDI dstvno from 0 to 2 [krsd.c:6072]
    Changing [krsd.c:6097] dest 2 stavno from 0 to 2
    Setting dest 2 KCRRDROP [krsd.c:6107]
    Changing dest 3 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 3 stavno from 0 to 1
    Setting dest 3 KCRRDROP [krsd.c:6107]
    Changing dest 4 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 4 stavno from 0 to 1
    Setting dest 4 KCRRDROP [krsd.c:6107]
    Changing dest 5 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 5 stavno from 0 to 1
    Setting dest 5 KCRRDROP [krsd.c:6107]
    Changing dest 6 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 6 stavno from 0 to 1
    Setting dest 6 KCRRDROP [krsd.c:6107]
    Changing dest 7 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 7 stavno from 0 to 1
    Setting dest 7 KCRRDROP [krsd.c:6107]
    Changing dest 8 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 8 stavno from 0 to 1
    Setting dest 8 KCRRDROP [krsd.c:6107]
    Changing dest 9 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 9 stavno from 0 to 1
    Setting dest 9 KCRRDROP [krsd.c:6107]
    Changing dest 10 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 10 stavno from 0 to 1
    Setting dest 10 KCRRDROP [krsd.c:6107]
    Changing dest 11 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 11 stavno from 0 to 1
    Setting dest 11 KCRRDROP [krsd.c:6107]
    Changing dest 12 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 12 stavno from 0 to 1
    Setting dest 12 KCRRDROP [krsd.c:6107]
    Changing dest 13 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 13 stavno from 0 to 1
    Setting dest 13 KCRRDROP [krsd.c:6107]
    Changing dest 14 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 14 stavno from 0 to 1
    Setting dest 14 KCRRDROP [krsd.c:6107]
    Changing dest 15 PDI dstvno from 0 to 1 [krsd.c:6072]
    Changing [krsd.c:6097] dest 15 stavno from 0 to 1trace files are getting very huge and reaching 80Gb too.. what are these files ? any clue ?
    Kai

    Handle: KaiS
    Email: [email protected]
    Status Level: Newbie (10)
    Registered: Nov 20, 2007
    Total Posts: 1,353
    Total Questions: 574 (434 unresolved)
    You have very bad profile status, please bring down the number of pending thread and mark then answered if possible...Please read following
    https://forums.oracle.com/forums/ann.jspa?annID=718
    Now coming backup to your problem, it seems that you have enabled the tracing of archive..Please read following metalink document which applies to your case...
    How To Avoid Many Trace Files With KCRRDROP [ID 1150056.1]
    set log_archive_trace=0, if its current value is higher...
    Bye

  • Not able to get the actual plan from trace file

    Hi all
    I have a Db package and want to get actual execution plan of all the statements in that pakcage it does provides the plan for System's statements but does not displays the plan for Sql statements
    DB version 9.2.0 using the following sequence of insructions
    set timing on
    set serveroutput on
    alter session set events '10046 trace name context forever ,level 12';
    begin
    run_service.collect_data(sysdate);
    end;
    alter session set sql_trace=false;
    exit; ---exit from Sql
    now look at the output
    select distinct obj#,containerobj#,pflags,xpflags,mflags
    from
    sum$, suminline$ where sumobj#=obj# and inline#=:1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 1 1 0 0
    total 3 0.00 0.00 1 1 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Rows Row Source Operation
    0 SORT UNIQUE
    0 NESTED LOOPS
    0 TABLE ACCESS BY INDEX ROWID SUMINLINE$
    0 INDEX RANGE SCAN I_SUMINLINE$_2 (object id 1614116)
    0 TABLE ACCESS BY INDEX ROWID SUM$
    0 INDEX UNIQUE SCAN I_SUM$_1 (object id 319)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 1 0.00 0.00
    SELECT SEQ_NUM, S_DATE, S_TIME, CSTATUS, G_SERVICE,
    B_REFERENCE, V_REFERENCE, M_PRIORITY
    FROM GL_HIST
    ORDER BY S_DATE DESC, S_TIME DESC
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.01 0 0 0 0
    Execute 2819 0.37 0.32 0 0 0 0
    Fetch 2819 2.50 20.47 2786 20164 0 2819
    total 5639 2.88 20.81 2786 20164 0 2819
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 2786 0.05 18.19
    latch free 4 0.04 0.06
    UPDATE G_ORIG SET G_SERVICE = :B1
    WHERE
    SEQ_NUM = :B5 AND S_DATE = :B4 AND S_TIME = :B3 AND
    C_STATUS = :B2 AND NVL(G_SERVICE, '+') <> NVL(:B1, '+')
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.03 0 0 0 0
    Execute 3731 0.74 0.99 261 18712 119 54
    Fetch 0 0.00 0.00 0 0 0 0
    total 3732 0.74 1.02 261 18712 119 54
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 261 0.01 0.19
    latch free 9 0.01 0.04
    COMMIT

    Remove the line alter session set sql_trace=false and just exit/disconnect. The explain plain is contained in the STAT lines in the trace file and are only written when the cursor closes. If you turn off tracing before the cursor closes the STAT lines will not get written.

  • How to create the trace file using run_report_object at runtime

    Dear All
    using :
    Oracel Application Server 10g
    Oracle Database 11g
    Windows XP/sp3
    I'm using run_report_object to call a report inside the form. THis report is running OK from reports builder, however it's too slow when run from Application server.
    How Can I create a trace file (at runtime) that contains the time spent in sql and formating the layout of the report ??
    Here is My code :
    repid := find_report_object('report5');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'INVOICE.REP');
    v_url :='paramform=no';
    v_url := v_url||' FROM_NO=' || :PRINT_BLOCK.FROM_NO ;
    v_url := v_url ||' TO_NO=' || :PRINT_BLOCK.TO_NO ||' FROM_DATE=' || v_from_date ||' TO_DATE='|| v_to_date ||' NO_DATE=' ;
    v_url := v_url ||:PRINT_BLOCK.NO_DATE||' IDENT=' ||:PRINT_BLOCK.IDENT_NO||' REPORT_HEADING='''||V_REPORT_HEADING||'''' ;
    v_url := v_url||' COMPANY_NO='||:global.company_no;
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,v_url);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,:GLOBAL.INV_REPORT_SERVER_NAME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    v_rep := RUN_REPORT_OBJECT(repid);
    IF rep_status = 'FINISHED' THEN
    V1:='/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1);
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?server='||REPORT_SERVER_NAME,'_blank');
    END IF;
    Thanks a lot

    Slow running reports often are not the result of a flawed report, but rather a flawed configuration. For example:
    1. If you call your reports (from Forms) via the default or inProcess Reports Server, often because startup time is slow, it will appear that it took too long for the report to be delievered. Using a stand-alone Rep Server is the preferred way to do this.
    2. If your Forms application makes numerous calls to RRO (RUN_REPORT_OBJECT), this can tend to result in what might appear as a memory leak (although it is not). The result is delayed processing because of the excessive memory use. This problem has been overcome in Forms/Reports 11 by the use of JVM pooling. However in v10 enabling "6i compatibility" mode is the way to overcome the issue. See Note 266073.1
    3. If the report runs fine from the Builder and it is connecting to the same db as when you run it from App Server, the issue is unlikely a db problem. However, if you want to look anyway, enable sqlnet tracing.
    4. To enable Reports tracing and investigate other tuning options, refer to the Reports 10 documentation:
    http://docs.oracle.com/cd/B14099_11/bi.1012/b14048/pbr_tune.htm
    Almost forgot to mentioned this one....
    If you are using a v11 db with App Server 10, you will probably want to consider reviewing Note 1099035.1 as it discusses an issue related to performance with such a configuration.
    Edited by: Michael Ferrante on Apr 10, 2012 8:49 AM

  • Unable to generate trace file

    Hi,
    I have written the stored procedure for starting sql trace on a given session for say n number of seconds.
    create or replace procedure start_trace
    v_sid in number,
    v_serial# in number,
    seconds in number)
    IS
    v_user varchar2 (32);
    duration number;
    dump_dest varchar2 (200);
    db_name varchar2 (32);
    no_session_found exception;
    stmt varchar2(100);
    stmt1 varchar2(100);
    BEGIN
    begin
    select username into v_user
    from v$session
    where sid= v_sid and
    serial# = v_serial#;
    exception
    when NO_DATA_FOUND then
    raise no_session_found;
    end;
    dbms_output.put_line('Tracing Started for User: '|| v_user);
    dbms_output.put_line('Tracing Start Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
    dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true);
    if seconds is null then
    duration := 60;
    else
    duration := seconds;
    end if;
    dbms_lock.sleep(duration);
    dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false);
    dbms_output.put_line ('Tracing Stop Time: '|| TO_CHAR(SYSDATE, 'MM-DD-YYYY HH24:MI:SS'));
    select value into dump_dest
    from v$parameter
    where name = 'user_dump_dest';
    dbms_output.put_line('Trace Directory: ' || dump_dest);
    exception
    when no_session_found then
    dbms_output.put_line('No session found for sid and serial# specified');
    END start_trace;
    The above procedure compiles successfully and when I call it from sql prompt it gives me the message that the pl/sql procedure was completed successfully and all put_line statements are displayed.
    Real problem comes when I check udump for the trace file. I can not find it there. It seems all the statements in the procedure are executed successfully except dbms_system.set_sql_trace_in_session(v_sid,v_serial#,true) and dbms_system.set_sql_trace_in_session(v_sid,v_serial#,false) for some strange reasons.
    Any help will be appreciated.
    Thanks.

    Thanks for the reply.
    I do not get any error message. The following is the output:
    SQL> exec start_trace(118,6243,30);
    Tracing Started for User: SVCWRK
    Tracing Start Time: 09-26-2011 16:28:29
    Tracing Stop Time: 09-26-2011 16:28:59
    Trace Directory: /orasoft/app/oracle/admin/testsvcb/udump
    PL/SQL procedure successfully completed.
    But the trace file is not generated.
    I am using Oracle 10.2.0.4.0.
    Will try using DBMS_MONITOR.
    Thanks again.

  • Ora-00604 error while taking tkprof of a trace file

    Sorry i am giving the full erro but omitting exact table names
    Hi ,
    I have an error while taking tkprof of a trace file.
    I gave the following command ---
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela explain= /
    error is --
    Error in create table of EXPLAIN PLAN table : unix_session_user.prof$paln_table
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20001: Step-6:DDL
    Event Security. You are not permitted to perform the requested structural
    changes to PROF (TABLE)
    Event triggered : CREATE
    ora_login_user
    (session_user) : unix_session_user(dummy)
    Search : select count(*) from
    tabl(dummy table name) where obj_name like '%\%%' escape '\' and obj_type =
    'TABLE' and obj_type = 'USER' and ( event_CREATE = 'Y' or status =
    'Override')
    ORA-06512: at line 162
    ORA-06510: PL/SQL: unhandled
    user-defined exception
    EXPLAIN PLAN option disabled.
    i searched for the error and in oracle forum i found a solution .. http://forums.oracle.com/forums/thread.jspa?threadID=844287&tstart=0
    but after giving the table option it is giving the same error
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=old_schema.plan_table explain= /
    it again gave the same error.
    In both two cases it gives elapsed time results,library cache missing etc but before giving this it throws ORA-00604 error as stated above
    then i again correct the tkprof statement ..
    tkprof <source.trc> <file.prc> sys=no sort=exeela,fchela,prsela table=new_schema.plan_table explain= /
    say this schema name here i used is dummy schema name.
    My question is did this error came as we had not sufficient previlages in the old_schema but that previleges we have in new_schema?
    My databse version is 9.2.0.4.0
    Thanks in advance
    Edited by: bp on Feb 3, 2009 11:36 PM
    Edited by: bp on Feb 3, 2009 11:40 PM

    Please post here full error message, there should be lines with ORA-00604 and then some other ORA as well.
    And are there any trace files generated during this error?
    And as You can see from error description, probably You will have to contact with Oracle support in order to solve this case:
    oerr ora 00604
    00604, 00000, "error occurred at recursive SQL level %s"
    // *Cause:  An error occurred while processing a recursive SQL statement
    // (a statement applying to internal dictionary tables).
    // *Action: If the situation described in the next error on the stack
    // can be corrected, do so; otherwise contact Oracle Support.

  • Create sql trace files on client machine

    Hi
    oracle creates sql trace files on server side, what are possible and best ways of sharing those files with end users? is it possible to create them on client side instead?

    Dbb wrote:
    Hi
    Hi
    oracle creates sql trace files on server side,
    Yes
    what are possible and best ways of sharing those files with end users?
    Using shared directory. Use the parameters dump to point to it
    is it possible to create them on client side instead?
    No
    . :-) any help with my english is wellcome :-) .does this mean sharing user_dump destination at linux level and then mounting it from client machines ( win xp )?is there any doc on this?

  • Reading trace file on the fly.

    I came across one cool trick mentioned by Tanel Poder, but it doesn't seem to work for me. Could anyone please help in reading trace file on the fly.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> !uname -a
    Linux abc 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
    SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
      2             (select spid||case when traceid is not null then '_'||traceid else null end
                     from v$process where addr = (select paddr from v$session
      3    4                                               where sid = (select sid from v$mystat
      5                                                          where rownum = 1
      6                                                     )
      7                                          )
      8             ) || '.trc' tracefile
      9      from v$parameter where name = 'user_dump_dest'
    10     /
    TRACEFILE
    /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc
    SQL> host mknod /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc p
    SQL> set define off
    SQL> host grep "WAIT" /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc &
    SQL> set define on
    SQL> alter session set events '10046 trace name context forever, level 8';
    Session altered.
    SQL> select * from dual;
    D
    X
    SQL>
    SQL> select * from dual;
    D
    X
    {code}
    I dont get any WAIT printed into the pipe file created before tracing.
    Am i doing something wrong here ?
    Edited by: Yasu on Nov 12, 2012 10:14 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I tried manual method and yes i am able to find WAIT lines in trace file.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
               (select spid||case when traceid is not null then '_'||traceid else null end
      2    3                   from v$process where addr = (select paddr from v$session
      4                                               where sid = (select sid from v$mystat
      5                                                          where rownum = 1
      6                                                     )
      7                                          )
      8             ) || '.trc' tracefile
      9      from v$parameter where name = 'user_dump_dest'
    10     /
    TRACEFILE
    /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    SQL> alter session set events '10046 trace name context forever, level 8';
    Session altered.
    SQL> select * from dual;
    D
    X
    SQL> alter session set events '10046 trace name context off';
    Session altered.
    SQL> !ls -lrt /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    -rw-r----- 1 oracle oinstall 2738 2012-11-12 01:13 /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    SQL> !grep "WAIT" /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704368368424
    WAIT #1: nam='SQL*Net message from client' ela= 4057810 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428142
    WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428492
    WAIT #1: nam='SQL*Net message from client' ela= 195 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428892
    WAIT #1: nam='SQL*Net message to client' ela= 3 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428939
    WAIT #1: nam='SQL*Net message from client' ela= 46319788 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704418748740Not sure why using mknod fails in my case.
    Edited by: Yasu on Nov 12, 2012 12:48 PM

  • Trace File / EJB / dbms_java.grant_permission

    I am trying to deploy a simple Hello World EJB onto Oracle 8.1.7 using Jdeveloper 3.2.
    I get the following error when deploying :
    Loading EJB Jar file and Comm Stubs Jar file...
    error: loadJava has failed to load some classes; Please check trace file!
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    My trace file has the following in it :
    *** 2001-05-03 17:33:29.531
    *** SESSION ID:(14.2397) 2001-05-03 17:33:29.531
    Error while creating class oracle/aurora/jndi/sess_iiop/ActivationException
    ORA-29545: badly formed class: User has attempted to load a class (oracle.aurora.jndi.sess_iiop.ActivationException) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    could not find oracle/aurora/jndi/sess_iiop/ActivationException in WILLOW2K
    could not find oracle/aurora/jndi/sess_iiop/ActivationException in WILLOW2K
    ORA-29534: referenced object WILLOW2K.javax/naming/InitialContext could not be resolved
    ORA-29545: badly formed class: at offset 128 of packagessb.ssbClient2.main expecting a class-javax.naming.NamingException but encountered a class-oracle.aurora.jndi.sess_iiop.ActivationException.
    ORA-29545: badly formed class: at offset 4 of javax.naming.spi.NamingManager.createObjectFromFactories expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 4 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 38 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    at offset 38 of javax.naming.spi.NamingManager.getStateToBind expecting a class-javax.naming.Name but encountered a class-javax.naming.Name.
    at offset 37 of javax.naming.spi.NamingManager.getURLObject expecting a class-javax.naming.Context but encountered a class-javax.naming.Context.
    ORA-29534: referenced object WILLOW2K.javax/naming/spi/NamingManager could not be resolved
    ORA-29534: referenced object WILLOW2K.javax/naming/spi/NamingManager could not be resolved
    Error while resolving class oracle/aurora/jndi/sess_iiop/ActivationException
    ORA-04043: object /889d46b7_ActivationException does not exist
    I think the error stems from the line :
    (oracle.aurora.jndi.sess_iiop.ActivationException) into a restricted package. Permission can be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
    Doe anyone know how I can grant the user permission to the above library. How exactly is it done using Oracle 8.1.7 ?
    null

    did you read the install notes (install.htm) or release notes(readme.htm) files for known issues ?
    see the release notes for the following :
    Problems Deploying Business Components for Java Libraries in Different Schema (1095107)
    Attempting to deploy a Business Components for Java library in a different schema from the JDeveloper IDE generates the following error:
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    error: loadJava has failed to load some classes; Please check trace file!
    *** Errors occurred while deploying the EJB to 8i JVM ***

  • How to find out the Trace file

    Hi Dba's
    I need to find out the trace file with the Request id. how can i find out it?
    Thanks

    There are many ways to create a trace file in the apps. Pl provide details on how you enabled trace, as that will determine where the trace file is created.Concurrent requests trace files are always created under USER_DUMP_DEST directory.

  • Name of trace file from trace enabled concurrent program

    Hi all,
    I am looking for a sql script or method to find the name of a trace file in udump for trace enabled concurrent programs. I know the trace files show 11i logon (user_name from fnd_user) in the name of the trace file but I am looking for a sql that would give the exact name of the raw trace file with request id as input.
    I have 11.5.10.2.
    Any help?
    Thanks,

    Please see these docs.
    11i-How to find the Trace file generated for a concurrent program [ID 270446.1]
    How to find the Trace file generated for a concurrent program? [ID 967966.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Creating trace file in oracle 10g forms

    hii there,
    I have developed an application in oracle 10g. but it's too slow . Now i have to trace forms . How can trace oracle forms.
    please send it in details as early as possible. I don't know about this trace file generation.
    -----Sachin

    Hi,
    To run SQL trace for a form :
    a. Get to the point in the form where you want to turn trace on.
    For example, if the problem occurs on the commit, wait until you are
    ready to commit, THEN turn trace on.
    b. Turn tracing on. In GUI versions: Help - Tools - Trace, enable tracing.
    c. Execute the steps you want to trace.
    d. Turn tracing off. In GUI versions: Help - Tools - Trace, disable tracing.
    The trace file will be written to the subdirectory specified in the
    'user_dump_dest' parameter in the INIT.ORA file.

  • On RAID 10 - How to relieve Log Writer Slow Write Time Trace Files

    We have a DELL 8 CPU 5460 3.16Ghz Xeon with Dell Open Manage RAID 10 array
    Oracle 10g 10.2.0.4 on RedHat EL 5 with
    filesystemio_options='' (DEFAULT)
    disk_asynch_io='TRUE' ( NOT DEFAULT)
    Running 2 instances 64 bit 10g 10.2.0.4 with an app that does a lot of row updates and uses BLOBs heavily.
    Our storage (RAID 10) is presented through a single mount point.
    I periodically see these messages in a lgwr trc file as follows
    Warning: log write time 560ms, size 5549KB
    *** 2010-02-25 17:22:24.574
    Warning: log write time 650ms, size 6759KB
    *** 2010-02-25 17:22:25.103
    Warning: log write time 510ms, size 73KB
    *** 2010-02-25 20:33:00.015
    Warning: log write time 540ms, size 318KB
    *** 2010-02-25 20:35:17.956
    Warning: log write time 800ms, size 5KB
    Note that most of these are larger chunks of data.
    Our log wait histogram is as follows:
    106 log file parallel write 1 465780158
    106 log file parallel write 2 5111874
    106 log file parallel write 4 5957262
    106 log file parallel write 8 2171240
    106 log file parallel write 16 1576186
    106 log file parallel write 32 1129199
    106 log file parallel write 64 852217
    106 log file parallel write 128 2092462
    106 log file parallel write 256 508494
    106 log file parallel write 512 109449
    106 log file parallel write 1024 55441
    106 log file parallel write 2048 11403
    106 log file parallel write 4096 1197
    106 log file parallel write 8192 29
    106 log file parallel write 16384 5
    In discussions with the group that builds and maintains the systems (DBA's do not) we have asked for more spindles / hba's / mount points to address this issue. We have been advised that since the RAID 10 spreads the I/Os across multiple drives this is not going to affect the situation.
    Our thoughts are that multiple HBAs going to separate RAID 10 devices would help relieve the pressure.
    Thank you.

    Is this an internal RAID array? Is it composed of SCSI (SAS) or SATA drives? How many drives are in the array?
    Does the RAID controller have a built in battery backed cache (some of Dell's RAID controllers have 128MB, 256MB, or 512MB of battery backed cache). If the RAID controller has a battery backed cache, consider disabling the caching of all read operations, and set the write policy to write-back (see: http://support.dell.com/support/edocs/software/svradmin/5.1/en/omss_ug/html/cntrls.html ).
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

Maybe you are looking for