Trace file levels

Hi experts,
I have a simple question:
1. For logging and tracing in Integration Engine, where can I configure the trace level and log levels?
2. For logging and tracing in Adapter Engine, where can I configure the trace level and log levels?
3. Where can I find the trace / log files for Integration Engine?
4. Where can I find the trace / log files for Adapter Engine?
I understand there's a log Viewer in Visual Admin, but I will need to knw which file to look at, in order to analyze the problems.
Please help.
Thanks.
Ron

Hi,
Please see below
1. For logging and tracing in Integration Engine, where can I configure the trace level and log levels?
In SXMB_ADM goto IE Specific Configuration ,and set TRACE_LEVEL to 3.
Remember it's good to set the TRACE_LEVEL to 3
only when you need very accurate global trace
but not for a very long time because it can fill your
DEV XI system database very quickly
2. For logging and tracing in Adapter Engine, where can I configure the trace level and log levels?
As explained above , and see the below links
http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/44d94016828431e10000000a1550b0/content.htm
3. Where can I find the trace / log files for Integration Engine?
4. Where can I find the trace / log files for Adapter Engine?
see the below links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8314cb90-0201-0010-f586-9155dba8934d
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50#search=%22xi%20
archiving%22
http://help.sap.com/saphelp_nw04/helpdata/en/aa/fce73a86e99c77e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/15/01df3a1fd91974e10000000a11402f/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8314cb90-0201-0010-f586-9155dba8934d
/people/michal.krawczyk2/blog/2005/09/07/xi-why-dont-start-searching-for-all-errors-from-one-place
Regards
Chilla

Similar Messages

  • XSJS Tracing - Trace files do not show trace levels other than 'error'

    Hi!
    I'm doing some experiments with server side javascript tracing on Hana. I created a small xsjs file that searches for some parameters on the web request (first name, last name and email) so I can call a DB procedure later. As I wanted to make sure that client data was arriving to the server properly, I added some trace calls using $.trace as you can see in the snipped below.
    After some time I noticed that just $.trace.error calls were added to xsengine*trc trace files. In other words, information, debug and warnings were not being included on the trace files.
    $.trace.info("INFO: Register_user.xsjs called");
    $.trace.error("ERROR: Register_user.xsjs called");
    if($.request.method === $.net.http.POST || $.request.method === $.net.http.GET) {
        var first_name = $.request.parameters.get("first_name");
        var last_name = $.request.parameters.get("last_name");
        var email = $.request.parameters.get("email");
        $.trace.error("ERROR: First Name:" + first_name);
        $.trace.error("ERROR: Last Name:" + last_name);
        $.trace.error("ERROR: Email:" + email);
        $.trace.warning("WARNING: First Name:" + first_name);
        $.trace.warning("WARNING: Last Name:" + last_name);
        $.trace.warning("WARNING: Email:" + email);
        // send response
        $.response.contentType = "application/json";
        $.response.status = $.net.http.OK;
        $.response.setBody(" { \"message\" : \"User registered successfully\"} ");
      } else {
        // unsupported method
      $.trace.error("ERROR: Method was not POST");
        $.response.status = $.net.http.INTERNAL_SERVER_ERROR;
    A small piece of a xsengine*.trc file is shown below.
    [4940]{-1}[-1/-1] 2014-09-08 20:37:10.453384 e xsa: demo.user_c register_user.xsjs(00026) : ERROR: Register_user.xsjs called
    [4940]{-1}[-1/-1] 2014-09-08 20:37:10.453690 e xsa: demo.user_c register_user.xsjs(00037) : ERROR: First Name:war
    [4940]{-1}[-1/-1] 2014-09-08 20:37:10.453710 e xsa: demo.user_c register_user.xsjs(00038) : ERROR: Last Name:ning
    [4940]{-1}[-1/-1] 2014-09-08 20:37:10.453796 e xsa: demo.user_c register_user.xsjs(00039) : ERROR: Email:[email protected]
    [4940]{-1}[-1/-1] 2014-09-08 20:58:21.854254 e xsa: demo.user_c register_user.xsjs(00024) : ERROR: request path: /demo/user_creation/logic/register_user.xsjs
    [4940]{-1}[-1/-1] 2014-09-08 20:58:21.854285 e xsa: demo.user_c register_user.xsjs(00026) : ERROR: Register_user.xsjs called
    Here are my doubts:
    Is there any standard filter for trace calls (which for example would show just error messages as default)? If there is, where to change it?
    Are there separate trace files for each trace level?
    Looking at the beginning of each row on the trace file, are the numbers from the left side of the timestamp somehow relevant to determine what kind of trace leve is shown? What do they mean? (the sequence of [4635]{-1}[-1/-1] )
    Related (and useful) links which couldn't solve the problem:
    How to print from XSJS to Console
    JSDoc: Namespace: trace
    I'm using:
    Cloudshare (SAP HANA SPS6 server)
    Hana Studio Version: 1.80.3
    Thanks for the support!

    Hi Fabio,
    You need to do some configurations. Please have a look at Trace Server-Side JavaScript Applications - SAP HANA Developer Guide - SAP Library and View XS JavaScript Application Trace Files - SAP HANA Developer Guide - SAP Library
    Best regards,
    Wenjun

  • How to scan 'immediate trace name SYSTEMSTATE level 10' trace files?

    Hi ,my 20 TB of database is hanging and my manager told me to run the following system state dump and anaylse the trace file to see which processes etc are hanging the database.
    SQL>alter session set events 'immediate trace name SYSTEMSTATE level 10';
    I got 2 trace files which are quite large....not sure what to look into.....can anybody plz suggest what to see if in them if database is not responsing
    Thanks
    gagan

    If you dump a couple of hanganalyze every 60 seconds or so. You will be able to see wait chains and identify sessions that are progressing(slow) and those that aren't(hung). Then you can reference this information with the process information in the system state dump. A level 3 or 4 is ok for what you want. Still, if you are not sure where to look in the first place, best to log a SR with Oracle.

  • How to read SYstemstate level 266 dump trace file?

    Hi I have simple question regarding documentation availability.
    How to read SYstemstate level 266 dump trace file?
    I tried googling it but didnt find any good article?

    Hi,
    It is supposed to graph frequency content vs time, and the display I get comes all black. Look at the attachments for the load state, the first one is the legacy SW and the second one is the modified one.
     I put probes on them, and the legacy one gets the 250,000 from the Value embedded. The modified one it is supposed to get it from the sample rate path, please let me know if this is enough info, thanks. 
    LabVIEW Intermediate I level!
    Attachments:
    sample rate-load state legacy.JPG ‏174 KB
    sample rate-load state modified.JPG ‏198 KB

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

  • 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

  • Generation of MMON process trace files in large file size (GB Size)

    Hi,
    I have created a database using the dbca in windows platform. Few days I found that, in the BDUMP directory the MMON process trace files are getting generated. The files starts to generate in MB size and will increase upto GB size. I know that the back ground process trace files cannot be disabled. So now iam force to manually delete these files from the bdump directory.plz help me to resolve this issue.
    I have checked and verified the SGA size, Shared Pool size and other memory areas.
    The statistics level in Typical also.
    But still the files are generated.
    PLease Helppp.....
    Shiyas

    hi
    As per your instruction i have checked the Alert log file. I have pasted a part of errors that found in the alert log file.
    Mon Jun 07 09:30:58 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:31:02 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:36:00 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_652.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:36:08 2010
    Restarting dead background process MMON
    MMON started with pid=11, OS id=656
    Mon Jun 07 09:36:11 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:36:15 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:41:12 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:41:16 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:46:13 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:46:17 2010
    Errors in file d:\oracle\product\10.2.0\admin\mir\bdump\mir_mmon_656.trc:
    ORA-00600: internal error code, arguments: [kjhn_post_ha_alert0-862], [], [], [], [], [], [], []
    Mon Jun 07 09:50:18 2010
    Shutting down instance: further logons disabled
    Mon Jun 07 09:50:19 2010
    Stopping background process QMNC
    Mon Jun 07 09:50:19 2010
    Stopping background process CJQ0
    Mon Jun 07 09:50:20 2010
    Stopping background process MMNL
    Mon Jun 07 09:50:21 2010
    Stopping background process MMON
    Mon Jun 07 09:50:22 2010
    Shutting down instance (immediate)
    License high water mark = 4
    Mon Jun 07 09:50:22 2010
    Stopping Job queue slave processes, flags = 7
    Mon Jun 07 09:50:22 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Mon Jun 07 09:50:23 2010
    alter database close normal
    Mon Jun 07 09:50:23 2010
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Jun 07 09:50:23 2010
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Thread 1 closed at log sequence 71
    Successful close of redo thread 1
    Mon Jun 07 09:50:23 2010
    Completed: alter database close normal
    Mon Jun 07 09:50:23 2010
    alter database dismount
    Completed: alter database dismount
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    But I am not able to understand anything above of this.
    And I am sorry we dont have the metalink support or srs support.
    Is there any other way to resolve this issue.
    Shiyas

  • How to find username from trace file for deadlock due to user

    This is the info from the trace file.
    *** 2003-08-18 08:07:40.590
    *** SESSION ID:(560.60728) 2003-08-18 08:07:40.560
    DEADLOCK DETECTED
    Current SQL statement for this session:
    SELECT S.AVAILABLE,GET_AVAIL(S.PRODUCT_ID),S.ON_HAND,S.W_PL,S.PRODUCT_GROUP,S.SIZE_ID,S.COLOR_ID,S.ONEZ,S.COST,IS_IT_KIT(:b1),
    NVL(PR.R_AVAIL,0),NVL(PR.R_SOLD,0),NVL(PR.UNIT_OF_MEASURE,'QTY'),NVL(DECODE(PR.AV_CT,0,1,PR.AV_CT),1) FROM ACNTV.SKU S,ACNTV
    .PRERED_QUANTITIES PR WHERE S.PRODUCT_ID = PR.PRODUCT_ID (+) AND S.PRODUCT_ID = :b1 FOR UPDATE OF S.ON_HAND,
    S.W_PL,PR.R_AVAIL
    The following deadlock is not an ORACLE error. It is a
    deadlock due to user error in the design of an application
    or from issuing incorrect ad-hoc SQL. The following
    information may aid in determining the deadlock:
    Deadlock graph:
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-0021004b-000125d8 366 560 X 329 135 X
    TX-0008003b-000125fc 329 135 X 366 560 X
    session 560: DID 0001-016E-00000002 session 135: DID 0001-0149-00000002
    session 135: DID 0001-0149-00000002 session 560: DID 0001-016E-00000002
    Rows waited on:
    Session 135: obj - rowid = 00017FAC - AAAX+sAAPAAAS9/AAP
    Session 560: obj - rowid = 0001586C - AAAVhsABXAAAAIRAAN
    We know the objects ,but how to find out the username ?
    Thanks

    Hi;
    Please see:
    How To Check If a Profile Option Is Set In Oracle Application [ID 470102.1]
    How to list E-Business Suite Profile Option values for all levels using SQLPlus [ID 201945.1]
    How to Search all of the Profile Options for a Specific Value [ID 282382.1]
    Regard
    Helios

  • Controlfile trace file in 11g r2

    Hi,
    i created a backup of controlfile like
    alter database backup controlfile to trace; in oracle 11g 2r on oel 5where i can find this trace file in os level.
    and i am finding user and background trace files in trace directory.
    how i can identify separately.
    thank you!

    Hi,
    Please see below query.
    SQL>alter database backup controlfile to trace;
    Database altered.
    SQL>SELECT sid FROM v$session WHERE audsid = userenv('sessionid');
    SID
    412
    1 row selected.
    SQL>Select s.sid, s.username,
    i.instance_name || '_ora_' || ltrim(to_char(p.spid)) ||
    decode (p.traceid, null, '', '_'||p.traceid) || '.trc'
    TraceFile
    from v$session s, v$process p, v$instance i
    where p.addr = s.paddr
    and s.type = 'USER' and s.username is not null
    and s.sid=412 <<<<--------------------------------------------------SID
    order by username, sid
    SID USERNAME TRACEFILE
    412 SYS DBname_ora_24625.trc
    Thanks.
    Tarun
    Edited by: user8886876 on Nov 16, 2011 2:56 AM

  • Where is the user trace file?

    I have issued the statement below to enable sql trace in session 260 ,and it execute successfully.but i can not find where the trace file in directory $ORACLE_BASE/admin/testcs/udump (testcs is my database name).
    SQL> execute dbms_system.set_sql_trace_in_session(260,34880,true);
    PL/SQL procedure successfully completed.
    where is the trace file?
    By the way,how can i find the information about the package DBMS_SYSTEM which is not in ORACLE references?

    Did you issue some queries after turning tracing on? The trace file might not be created until there is some activity in the session.
    I know that DBMS_SYSTEM is documented in the O'Reilly Press book "Oracle Built-in Packages" by Feuerstein, Dye & Beresniewicz.
    However for tracing I think that Oracle expects you to use the dbms_support package:
    execute sys.dbms_support.start_trace_in_session -
      (sid => &sid, serial => &serial, waits => true, binds => true)Or for Oracle 7.3.4 or 8.0 you can use oradebug. Example:
    select pid, spid, username from v$process;
    PID    SPID   USERNAME
    8      25807  oracle
    SVRMGR> oradebug setorapid 8
    -- or -
    SVRMGR> oradebug setospid 25807
    -- turn on
    SVRMGR> oradebug event 10046 trace name context forever, level 12 
    -- turn off
    SVRMGR> oradebug event 10046 trace name context off

  • Do you know Timmings for trace files generated?

    Hi,
    I have done some sql traceing using DBMS_MONITOR package.
    We can also enable SQL traceing using DBMS_SESSION.
    I want to generate sql trace file for "particuler part of application".
    When i did that i got some sql trace files,, now that "particuler part of application" was over application was idle..
    but as time goes these files are still populating in size means they are still sql traceing going on...
    My question is when and how trace files are generated?
    Do you have idea???
    Thanks and Regards,
    Rushang Kansara
    Message was edited by:
    Rush

    also what content of my sql trace file should i
    consider for exacly tracing that "particuler part of
    application".
    Rushang
    Parse Count To Execute Ratio
    Take the numbers of parse count and divide it by numbers of time execute count if it is 1 then it means you are parsing the same statment everytime,If this ratio is 1 then it will latch the shared SQL area which will degrade the overall performance.Like if you execute a query which is using bind variable and this query is at yours front end level trigger (Forms) POST_QUERY then it will show you (parse count=execute count) which shows you are parsing for every triggering event which is bad ,for that you should put this seqeuel within PL/SQL procedure which cache the cursor and will turn in (parse count<Execute Count).
    Large Diffrence Between Elasped Time And CPU Time
    If this diffrence (Elapsed time[b]-CPU time)>1 then it means you are spending yours time in for waiting resources this waiting resources will in turn wait events e.g some one updated the row and dont realease by COMMIT or ROLBACK and the same span of time you want to update then you will see a lock in tkprof result in wait event section.If you read the data from hard disk (as first time you issue it reads from HD and then put into buffer cache during this reading a latch is grabed and will not let you read this data until you perform the alls read from HD to buffer cache this will also show you in wait events which is cache buffers chain
    Fetch Calls
    If yours Fetch calls=Rows then it means you are not using Bulk fetch and yours this code will take a lot of roundtrips which will in turn jam the network.
    Disk Count
    If every time yours disk count=current + query mode then you are reading alls block from disk alls the time ,usually oracle read once from disk and put it into SGA and should be found in SGA second time.
    And there is many more...depend on yors environemnt setup but above are common.
    As you said its reproducing the tkprof again and again ,make sure you terminate the session or you explicitly turn off the tracer by
    ALTER SESSION SET SQL_TRACE=FALSE Khurram

  • Useful logs and trace files

    Hello experts, for our Netweaver AS administration, I am in charge of periodically checking logs and trace files. I would like to know which are the most useful logs and trace files and the information each one will hold. I am familiar with "DefaultTrace.trc", and as of today it is the only one I have used, but I believe I should also be looking at other logs and trace files.
    Any suggestions?

    Hi Pedro,
    If you are talking about JAVA only system defaulttrace is the best log/trace to look, there are other log files like application log, but maybe the best way to check you logs is using NWA (NetWeaver Administrator) on the following URL on your JAVA system:
    http://<hostname>:<port>/nwa
    From there you need to go to Monitoring -> Logs and Traces and then Predefined View/SAP logs.
    My other recommendation is to change the severity level to ERROR for all you JAVA component within the Visual Administrator -> ServeNode -> Services -> Log Configurator -> Locations, otherwise it is possible that you see a lot of garbage on the defaulttraces. Anyway you can change the severity level per component, on demand, to investigate any possible problem.
    The work directory is very imporant and maybe you can also check the file "dev_serverX" that also will give you information about any out of memory conditions and garbage collection activity if you have these values set for the server node using the config tool:
    -verbose:gc
    -XX:+PrintGCDetails
    -XX:+PrintGCTimeStamps
    You can find more information on here:
    http://help.sap.com/saphelp_nw70/helpdata/en/ac/e9d8a51c732e42bd0e7de54b9ff4e2/content.htm
    Hopefully this help you, let me know if you need more information,
    Zareh

  • External portal capturing internal portal URL in Log and trace file

    Hi,
    We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
    Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
    But in log and trace file we can see the external portal link capturing the internal portal URL.
    We need to find, from where system capturing the internal portal URL.
    Thanks.

    The tkproffed trace file is in seconds.
    "set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
    You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
    One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
    There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight.

Maybe you are looking for

  • Reminders won't synch with Macbook Air

    Hi Folks: I have an iPhone 5c running IOS 7.1.2, Macbook Air running 10.9.4 Reminders on the phone stopped synching with the Macbook.  Tuesday it didn't synch, I rebooted the phone, turned Reminders on /off in Settings>iCloud.  Didn't work.  Halh hou

  • What is the Replacement Product Part Number of the SFP MGBSX1 that I can use?

    I did a BOM using ESW-520-48-K9 with SFP MGBSX1 (I need 1000BaseSX). But the configuartion tool said that Unit Price Column: "EOL" indicates item is end of life; N/A indicates item not available in current pricelist

  • Urgent urgent...plzz

    hi, hi gurus, what is difference between service tax with credit and without credit.............. i want a create a tax code for service tax without credit... if i use this tax code what would be effects,  will the tax be added to the base amount...

  • GRN date

    Hello friends,                     I am working on an alv where i have to display the date on which GRN was created,can any1 tell in which table to look for this date,                     I have been to the transaction MIGO,there im gettin the field

  • Syncing Mobile Mail draft messages to /Drafts in Gmail over IMAP

    I'm using IMAP with Googlemail. Can anyone tell me how to set my iPod touch's Mail account to save drafts to /Drafts on the IMAP server? Currently it saves to [Google Mail]/Drafts even though under Incoming Settings, IMAP Path Prefix is set to / . Th