How to Analyse  Trace Files?

Hi,
Can anybody let me know how to analyse the downloaded tracefile. (From ST05).
Any links or materials on this matter will be of great help as analysis of trace file is a urgent need for me.
-B S B
Points assured for useful tips.

Hi,
Check these links..
http://help.sap.com/saphelp_nw04s/helpdata/en/5a/ace273ca0211d194b500a0c94260a5/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm
THanks,
Naren

Similar Messages

  • How to read trace file content

    Hi,
    DB :11.2
    How to read trace file content.It's only for ORACLE SUPPORT?
    calling         
    call
    entry           
    argument values in hex
    location        
    type
    point           
    (? means dubious value)
    ksedst()+31     
    call
    ksedst1()       
    000000000 ? 000000001 ?
    7FFF19B98CA0 ? 7FFF19B98D00 ?
    7FFF19B98C40 ? 000000000 ?
    ksedmp()+610    
    call
    ksedst()        
    000000000 ? 000000001 ?
    7FFF19B98CA0 ? 7FFF19B98D00 ?
    7FFF19B98C40 ? 000000000 ?
    ksfdmp()+21     
    call
    ksedmp()        
    000000003 ? 000000001 ?
    7FFF19B98CA0 ? 7FFF19B98D00 ?
    7FFF19B98C40 ? 000000000 ?
    kgerinv()+161   
    call
    ksfdmp()        
    000000003 ? 000000001 ?
    7FFF19B98CA0 ? 7FFF19B98D00 ?
    7FFF19B98C40 ? 000000000 ?
    kgeasnmierr()+163
    call
    kgerinv()       
    0069107E0 ? 011F80370 ?
    7FFF19B98D00 ? 7FFF19B98C40 ?
    000000000 ? 000000000 ?
    kssmov()+502    
    call
    kgeasnmierr()   
    0069107E0 ? 011F80370 ?
    7FFF19B98D00 ? 7FFF19B98C40 ?
    000000029 ? 0D3F1C600 ?
    kfncInitSlavePool()  call
    kssmov()        
    0D3F1C5D0 ? 000000000 ?
    +203                                          
    7FFF19B98D00 ? 7FFF19B98C40 ?
    000000029 ? 0D3F1C600 ?
    kfncWorkMsgAlloc()+  call
    kfncInitSlavePool()  0D3F1C5D0 ? 000000000 ?
    83                                            
    7FFF19B98D00 ? 7FFF19B98C40 ?
    000000029 ? 0D3F1C600 ?
    kfncFileUnidentify(  call
    kfncWorkMsgAlloc()   0D3F1C5D0 ? 7FFF19B99AD0 ?
    )+635                                         
    7FFF19B98D00 ? 7FFF19B98C40 ?
    000000029 ? 0D3F1C600 ?
    kffmRequestFree()+1  call
    kfncFileUnidentify(  7FFF19B99BC8 ? 7FFF19B99BC0 ?
    Br,
    Raj

    One needs to know the meaning of the kernel functions and their working within the oracle database. I guess, oracle support can do the analysis more easily as they have access to the software code  as well necessary tools to interpret these internal routines.
    Aman....

  • How to disable trace files in oracle version 11g

    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practice

    SHANOJ wrote:
    Senario : trace file are growing
    How to disable trace files in oracle version 11g
    pls guide with best practiceIn 11g, there is an extensive tracing that happens for the reasons best known to Oracle only. But if you want to disable it, Coskan had published a small post mentioning an undocumented parameter(which means you must think twice before using it) to disable it- disablehealth_check* . You may want to read the complete post here,
    http://coskan.wordpress.com/2009/06/03/too-many-trace_file-on-11g/
    Aman....

  • How to Generate Trace Files in SQL*Plus

    Hi Friends ,
    How to Generate Trace Files in SQL*Plus ?
    i have no idea
    thanks
    raj

    What trace files would you like to generate?
    Are we talking SQL trace files?
    ALTER SESSION SET sql_trace = TRUE;This will be generated in the user_dump_dest on the server.
    show parameter dump

  • How to generate Trace files

    Hi,
    I have a package under which there are some procedures and functions.
    I am supposed to generate the trace files for each run of the procedures in the package.
    How to generate trace files? Pls help me out.
    Thanks in advance
    Regards,
    Vijay

    I dont have access to production server to see the
    trace file. Is there a way to see the content of the
    trace file from client machine?No. At least there isn't one without additional work from your administrator. I remember I've seen somewhere some kind of solution when user_dump_dest is used as oracle directory (specific oracle object) in your db and then use either external tables or utl_file or something like that to read the trace file. Of course this assumes your DBA should do some work before.
    However I'd say that simply getting trace file from server is much easier :)
    Consider, Autotrace option in sqlplus. With the help
    of Autotrace set option, we can see the trace output
    on the sqlplus screen for the anonymous blocks. Different tool, different behaviour.
    Is there a way to see the trace for the stored
    procedures?Explained above.
    Gints Plivna
    http://www.gplivna.eu

  • How to access Trace file in storage account

    Hi,
    I am new to Azure Cloud, I would like to know how to access the trace file stored in Storage account.
    We have implemented diagnostics & traces, I have no idea how to access the trace file.
    I have no idea what are the folders created inside the storage account and where the trace files are stored.
    Would some one help me?
    Thank you!

    Hi,
    In addition, you could use Azure Storage Explorer (https://azurestorageexplorer.codeplex.com/) to search your trace files.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to find trace file error in form

    hai all,
    i have big problem in my form in apps i open the form one error is ocuured,
    i got the trace file and check the error,
    PARSE ERROR #82:len=2903 dep=0 uid=173 oct=3 lid=173 tim=4265689973879 err=904 this is the trace file error meassage,
    how to find this error in form and also this is occured one select statement,how to find this select statement where can be used in form,
    i have one button ,when ever i press the button this error is ocuured,i check this button pl/sql procedure code but in this code not using that sql statement,
    if any one know to find the sql statement through trace file.
    plz give the replay as soon as possible.
    thank's

    The newest SQL Developer can converts the trace to readable format too, I'm not shure if you see the sql statement related to the error then.
    It seems you get ORA-00904 which says you use an invalid coumn in a dml statement.
    Normally such error should pop up in message - do you overwrite the message handling or use exception handling in you form which block this message?
    Easiest way to find this is to compile the form against the target database.
    If this does not give an error, you should check, if you use dynamic sql statements which are wrong.
    If you call database routines from your form, than this could be the errro cause too.

  • How to change trace file location in Oracle Fusion Middleware

    Hi all,
    I would like to know how to change the location of the trace file in Oracle Fusion Middleware - Report Server 11g ?
    I notice there is logging.xml file in $ORACLE_HOME/config/ReportServerComponenent/logging.xml. In the xml file, it did specify the location of the diagnostic file and other log files.
    Is it the correct way to reconfigure the location of the log file? I havent try it though. :D
    Thanks.

    Hi Fleix,
    For additional instructions for Release 11i, see Note.167635.1 and Note.150168.1.
    For additional instructions for Release 11.0.3 and 10.7, see Note.148982.1 and Note.135715.1.
    a. Append the following to the end of the URL used to login to the Oracle Applications:
    ?play=&record=collect&log=/tmp/oracle.FRD.log
    ** Note: The self service login URL will not work for creating FRD trace files. You may need to talk to your technical team to get the URL that accesses the forms server directly.
    b. If the URL to logon to 11i applications is:
    http://machine:9603/dev60cgi/f60cgi
    Then the following label needs to be included:
    ?play=&record=collect&log=/tmp/'file_name'.frd
    For example to create frd for above url log in to application as
    http://machine:9603/dev60cgi/f60cgi?play=&record=collect&log=/tmp/4764802.992.frd
    c. Now log into the application and go directly to the form with the problem and perform the actions which generate the error.
    Once the error has been generated and cleared, immediately log out of the application so no additional diagnostics are captured.
    d. The diagnostics will be written to the file specifed after "log=". In the example, this would be /tmp/4764802.992.frd
    e. After reproducing the issue, log on the server side of the instance and go to the directory to /tmp (cd tmp)
    f. Retrieve the frd file: /tmp/4764802.992.frd
    This file contains all the details about built-in programs, triggers, procedures in a FORM
    Thanks,
    Anchorage :)

  • How to use trace file information?

    Hello.
    I got trace files in $O_H/network/trace/ listener.trc and in
    $O_H/rdbms/log/ora_orcl_22846.trc and others in the same dir. SO
    how can I get any understandable form? ( All this numbers and
    letters say nothing to me :((. Maybe I should read some manual?)
    Thank You.
    null

    ANdrey (guest) wrote:
    : Hello.
    : I got trace files in $O_H/network/trace/ listener.trc and in
    : $O_H/rdbms/log/ora_orcl_22846.trc and others in the same dir.
    SO
    : how can I get any understandable form? ( All this numbers and
    : letters say nothing to me :((. Maybe I should read some
    manual?)
    : Thank You.
    Listener trace should be humanly readable by itself and
    oracle trace files should be processed by using tkprof.
    null

  • How to read trace files alerted in the alert.log file

    Hello,
    My alert.log file indicated multiple trace files to review. How to read these trace files to understand the cause of errors. Do I open the trace files with vi and do a search for 'ORA-' error. Are there tools to read and understand trace files. Thank you.

    It depends what kind of trace file it is.
    You can use vi or other text editing tool to open the trace file. The trace file usually provides more detailed information when you have ORA- errors in alert.log. It's also very helpful for Oracle support when troubleshooting.

  • How to SQL trace File in udump Folder

    Hi,
    I kept the Sql Trace for one database. Now i am getting the bulk of files in udump folder. I tryed the command
    ALTER SESSION SET SQL_TRACE=FALSE
    to stop the trace, but it is not stoping.
    Now my problem is how to stop this file load in to that folder.
    Thank u,

    hi,
    Thank u alok, Thank u very much. its working fine.
    U told first that it is my mistake of enabling in database level. What are the real commands to start the trace and stop the trace by that session. What the Oracle Books says is this commands i followed ( Book name --- ORACLE HIGH PERFORMANCE TUNING FOR 9i AND 10g BY GAVIN POWELL ) Page -- 339
    ALTER SESSION SET TIMED_STATISTICS = TRUE;
    ALTER SESSION SET TIMED_OS_STATISTICS = 5;
    ALTER SESSION SET MAX_DUMP_FILE_SIZE=1M;
    ALTER SESSION SET SQL_TRACE = TRUE;
    ALTER SESSION SET STATISTICS = ALL;
    This command i followed. This is for session only, then why this is happened in database level.
    Can u provide me the commands for start and stop the SQL TRACE.
    Thank u for ur reply.

  • How to generate trace file from different session?

    I have a cron job which starts several Oracle stored proc (Oracle 9.2). I want to generate a trace file when the job is running. I know I can use this alter session command before I start this job. But this is my session not the job session. So this command won't generate trace file for job's session.
    ALTER SESSION SET EVENTS '10046 TRACE NAME CONTEXT FOREVER, LEVEL 8';
    Appreciate any ideas.
    Thanks.
    S.

    Easiest way is to use database control/grid control - click trace session button!
    The 'old fashioned way is'
    begin
    DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION(SID,serial#,TRUE);
    end;
    find sid and serial# in a select from v$session
    There are other ways too but this is probably the easiest.
    You'll need appropriate privileges to run this .
    Cheers,
    Harry

  • Deadlock occur how to read trace file session info

    i got a dead lock & here is the part of trace from the call stack here i know one process but how i can get the inofrmation of
    process 237 session 126 , i want to know which two process are involved in dead lock , i know table and rowid but i want to know the secod call stack or procedure if any one can help please reply .
    *** 2010-08-16 17:32:48.038
    *** SESSION ID:(126.255) 2010-08-16 17:32:47.880
    DEADLOCK DETECTED ( ORA-00060 )
    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-001a0026-0002969f 237 126 X 253 147 X
    TX-00010014-00020a0a 253 147 X 237 126 X
    session 126: DID 0001-00ED-00000028     session 147: DID 0001-00FD-000000A0
    session 147: DID 0001-00FD-000000A0     session 126: DID 0001-00ED-00000028
    Rows waited on:
    Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
    (dictionary objn - 4617, file - 52, block - 8371, slot - 64)
    Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
    (dictionary objn - 4617, file - 52, block - 8370, slot - 29)
    Information on the OTHER waiting sessions:
    Session 147:
    pid=253 serial=316 audsid=21499288 user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
    Current SQL Statement:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    373209A0 74 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
    373209A0 156 package body GA_APPLICATION.DATALESS_KEY_PROCESSING_PKG
    407DC818 247 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
    407DC818 358 package body GA_APPLICATION.MESSAGE_AND_HISTORY_PKG
    41502DC8 9705 package body GA_APPLICATION.BPEL_ORDER_PKG
    41502DC8 5520 package body GA_APPLICATION.BPEL_ORDER_PKG
    416091D0 1286 package body MSG_INTF_APPLICATION.ORDER_PKG
    42C2C638 1 anonymous block
    ===================================================
    PROCESS STATE
    Process global information:
    process: 31853F30, call: 36FF8998, xact: 3471B720, curses: 31B53BD8, usrses: 31B53BD8
    SO: 31853F30, type: 2, owner: 0, flag: INIT/-/-/0x00
    (process) Oracle pid=237, calls cur/top: 36FF8998/36FF8930, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 0 0 4
    last post received-location: kslpsr
    last process to post me: 3181e400 1 6
    last post sent: 0 0 16
    last post sent-location: ksasnd
    last process posted by me: 3181e400 1 6
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 31B01F50
    O/S info: user: , term: , ospid: 000700E6
    OSD pid info: OSDI process pid: 000700E6, image: MINBNDS
    SO: 350BD728, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6d60 incno=0 pending i/o cnt=0
    SO: 350C2A98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa62f0 incno=0 pending i/o cnt=0
    SO: 350C28B8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9d0d0 incno=0 pending i/o cnt=0
    SO: 350C25E8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa7fa8 incno=0 pending i/o cnt=0
    SO: 350C0EC0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaa438 incno=0 pending i/o cnt=0
    SO: 350BB0A0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaa190 incno=0 pending i/o cnt=0
    SO: 350BB028, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa2c28 incno=0 pending i/o cnt=0
    SO: 350BAF38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9db40 incno=0 pending i/o cnt=0
    SO: 350E12A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa2990 incno=0 pending i/o cnt=0
    SO: 350C8B88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa07a8 incno=0 pending i/o cnt=0
    SO: 350CB2D0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa14b0 incno=0 pending i/o cnt=0
    SO: 350CB258, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa50b8 incno=0 pending i/o cnt=0
    SO: 350DA3F0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aac620 incno=0 pending i/o cnt=0
    SO: 35146570, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9e858 incno=0 pending i/o cnt=0
    SO: 3516B278, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4b78 incno=0 pending i/o cnt=0
    SO: 35110D50, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4e10 incno=0 pending i/o cnt=0
    SO: 3510E380, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa8240 incno=0 pending i/o cnt=0
    SO: 35109CB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa19e0 incno=0 pending i/o cnt=0
    SO: 35104030, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa48e0 incno=0 pending i/o cnt=0
    SO: 350FFFB0, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9f7f8 incno=0 pending i/o cnt=0
    SO: 350FCD70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa3400 incno=0 pending i/o cnt=0
    SO: 350EF0A8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aab918 incno=0 pending i/o cnt=0
    SO: 350E4650, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6058 incno=0 pending i/o cnt=0
    SO: 350D7930, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa84e8 incno=0 pending i/o cnt=0
    SO: 35109E20, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa8cb0 incno=0 pending i/o cnt=0
    SO: 350D6A00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9cba0 incno=0 pending i/o cnt=0
    SO: 350FAE98, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa1218 incno=0 pending i/o cnt=0
    SO: 350FA5F8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9f560 incno=0 pending i/o cnt=0
    SO: 350FA238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9d8a8 incno=0 pending i/o cnt=0
    SO: 350EDAE8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9c3c8 incno=0 pending i/o cnt=0
    SO: 350EBF58, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aab140 incno=0 pending i/o cnt=0
    SO: 350EBD00, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aacb50 incno=0 pending i/o cnt=0
    SO: 350EBC88, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa21b8 incno=0 pending i/o cnt=0
    SO: 350EBC10, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aaaea8 incno=0 pending i/o cnt=0
    SO: 350D0238, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aac388 incno=0 pending i/o cnt=0
    SO: 350CDF70, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aabbb0 incno=0 pending i/o cnt=0
    SO: 350CDEF8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa1748 incno=0 pending i/o cnt=0
    SO: 350CDE80, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa72a0 incno=0 pending i/o cnt=0
    SO: 350CDE08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa7538 incno=0 pending i/o cnt=0
    SO: 350CDD90, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa6ac8 incno=0 pending i/o cnt=0
    SO: 350CDD18, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9fd38 incno=0 pending i/o cnt=0
    SO: 350CDB38, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa0a40 incno=0 pending i/o cnt=0
    SO: 350CBEB8, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aabe48 incno=0 pending i/o cnt=0
    SO: 350CBA08, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9e080 incno=0 pending i/o cnt=0
    SO: 350CB828, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa5350 incno=0 pending i/o cnt=0
    SO: 350CB168, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa4108 incno=0 pending i/o cnt=0
    SO: 350CB078, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33aa9720 incno=0 pending i/o cnt=0
    SO: 350CB000, type: 8, owner: 31853F30, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=33a9ce38 incno=0 pending i/o cnt=0
    SO: 31B53BD8, type: 4, owner: 31853F30, flag: INIT/-/-/0x00
    (session) trans: 3471B720, creator: 31853F30, flag: (100045) USR/- BSY/-/-/-/-/-
    DID: 0001-00ED-00000028, short-term DID: 0000-0000-00000000
    txn branch: 0
    oct: 3, prv: 0, sql: 3731E1A8, psql: 3731E1A8, user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_Messaging 1.00 SO_SYNC MSG_INTF_BATCH
    last wait for 'enqueue' blocking sess=0x31b60208 seq=11337 wait_time=3333245
    name|mode=e3e70006, id1=10014, id2=20a0a
    temporary object counter: 0
    SO: 36D06490, type: 52, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=36d06490 handle=3731f318 mode=S lock=53af8dc8
    user=31b53bd8 session=31b53bd8 count=1 mask=0041 savepoint=63373 flags=[00]
    SO: 4C1AEF38, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c1aef38 handle=3eb115d8 mode=N
    call pin=0 session pin=439995E8
    htl=4C1AEF74[3403195C,510B35B8] htb=510B35B8
    user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63228
    LIBRARY OBJECT HANDLE: handle=3eb115d8
    namespace=CRSR flags=RON/KGHP/PN0/[10010000]
    kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=2
    lwt=3EB115F0[3EB115F0,3EB115F0] ltm=3EB115F8[3EB115F8,3EB115F8]
    pwt=3EB11608[3EB11608,3EB11608] ptm=3EB11660[3EB11660,3EB11660]
    ref=3EB115E0[3EB11820, 3EB11820] lnd=3EB1166C[3EB1166C,3EB1166C]
    LIBRARY OBJECT: object=3eb10850
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    DEPENDENCIES: count=6 size=16
    AUTHORIZATIONS: count=1 size=16 minimum entrysize=28
    ACCESSES: count=2 size=16
    TRANSLATIONS: count=2 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb10a60 3eb10608 I/P/A 0 NONE
    6 3eb108f8 3eb0f3a8 I/-/A 0 NONE
    SO: 4C1AF910, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c1af910 handle=3eb1e3b8 mode=N
    call pin=46E24C60 session pin=0
    htl=4C1AF94C[3502B6B4,510B3680] htb=510B3680
    user=31b53bd8 session=31b53bd8 count=1 flags=[00] savepoint=63227
    LIBRARY OBJECT HANDLE: handle=3eb1e3b8
    name=
    INSERT INTO PO_MSG ( PO_MSG_ID ,PO_ID ,PO_NBR ,PO_DT ,LOC_ACCT_ID ,PO_FORMAT ,DS_ID ,QGRD_TABLE_PROD_ID ,TRANS_MODE ,TRA
    NS_TYPE_ID ,SPLIT_WHEN ,LEAD_CAR_NBR ,PO_STATUS ,ENABLE_EXTEND_AMT ,CONTROL_NBR ,SHIP_WHEN ,PO_TYPE ,PRINT_COPIES ,PRINT
    PRICE ,GENERATESO ,RETURN_AUTHORIZE ,ASSESS_STATE_ID ,REPEAT_ORDER ,REPEAT_NBR_DAYS ,REPEAT_DAY ,REPEAT_DAYS ,REPEAT_U
    NTIL_DT ,CURRENCY_ID ,CURR_RATE_TYPE_ID ,EXCH_RATE_AVG ,COMMENTS_EXIST ,CREATE_USER_ID ,CREATE_DT_TIME ,UPDATE_USER_ID ,
    UPDATE_DT_TIME ,REPEAT_TRIGGER ,
    hash=e58fc51 timestamp=08-15-2010 08:22:27
    namespace=CRSR flags=RON/KGHP/TIM/PN0/[10010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=2
    lwt=3EB1E3D0[3EB1E3D0,3EB1E3D0] ltm=3EB1E3D8[3EB1E3D8,3EB1E3D8]
    pwt=3EB1E3E8[3EB1E3E8,3EB1E3E8] ptm=3EB1E440[3EB1E440,3EB1E440]
    ref=3EB1E3C0[3EB1E3C0, 3EB1E3C0] lnd=3EB1E44C[3EAECA24,3EB20044]
    LIBRARY OBJECT: object=3eb118f0
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 3eb11a98 3eb11820 3eb115d8
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb25b40 3eb11980 I/P/A 0 NONE
    SO: 4C752940, type: 51, owner: 31B53BD8, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=4c752940 handle=3eb20cf8 mode=N
    call pin=3B503AF8 session pin=0
    htl=4C75297C[36856DD4,510B3628] htb=510B3628
    user=31b53bd8 session=31b53bd8 count=2 flags=[00] savepoint=63218
    LIBRARY OBJECT HANDLE: handle=3eb20cf8
    name=GA_APPLICATION.PO_AUR
    hash=92b14a46 timestamp=06-29-2010 21:08:46
    namespace=TRGR flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0059-0059 lock=N pin=0 latch#=5
    lwt=3EB20D10[3EB20D10,3EB20D10] ltm=3EB20D18[3EB20D18,3EB20D18]
    pwt=3EB20D28[3EB20D28,3EB20D28] ptm=3EB20D80[3EB20D80,3EB20D80]
    ref=3EB20D00[3EB20D00, 3EB20D00] lnd=3EB20D8C[3EAB046C,3EB79DFC]
    LIBRARY OBJECT: object=3eb20c10
    type=TRGR flags=EXS/LOC[0005] pflags=NST [01] status=VALD load=0
    DEPENDENCIES: count=17 size=32
    READ ONLY DEPENDENCIES: count=2 size=16
    ACCESSES: count=5 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 3eb25ba8 3eb208f0 I/-/A 0 NONE
    3 3eb207d0 0 -/P/- 0 NONE
    4 3eb20838 3eb1f558 I/-/A 0 NONE
    6 3eb208a0 3eb1dd60 I/-/A 0 NONE
    ----------------------------------------

    Hi,
    ---------Blocker(s)-------- ---------Waiter(s)---------
    Resource Name process session holds waits process session holds waits
    TX-001a0026-0002969f 237 *126* X 253 *147* X
    TX-00010014-00020a0a 253 *147* X 237 *126* X
    session 126: DID 0001-00ED-00000028 session 147: DID 0001-00FD-000000A0
    session 147: DID 0001-00FD-000000A0 session 126: DID 0001-00ED-00000028
    Rows waited on:
    Session 147: obj - rowid = 00001209 - AAAEiHAA0AAACCzABA
    *(dictionary objn - 4617, file - 52, block - 8371, slot - 64)*
    Session 126: obj - rowid = 00001209 - AAAEiHAA0AAACCyAAd
    *(dictionary objn - 4617, file - 52, block - 8370, slot - 29)*
    Information on the OTHER waiting sessions:
    Session 147:
    pid=253 serial=316 audsid=21499288 user: 77/<none>
    O/S info: user: , term: , ospid: 1234, machine: reg-bpel1.viterra.ca
    program:
    client info: BPEL_MESSAGING 1.00 SHIPMENT_ACTUALS_SYNC MSG_INTF_BATCH
    Current SQL Statement:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    SELECT NEXT_ID, UPDATE_DT_TIME, UPDATE_USER_ID FROM ID_V WHERE UPPER(TABLE_NAME) = UPPER(:B1 ) FOR UPDATE OF NEXT_ID
    Has most of the information.
    You have to check what session 126 and 147 were doing. It also gives you information on object_id and rowid where you had the lock by two sessions.
    The culprit is FOR UPDATE OF NEXT_ID.
    Regards
    Edited by: skvaish1 on Aug 18, 2010 5:26 PM

  • How to generate trace file in oracle application forms

    hi
    I want to generate trace fle in oracle application
    Regards
    9841672839

    Hi,
    Refer to the following documents.
    Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296559.1
    Note: 130182.1 - HOW TO TRACE FROM FORM, REPORT, PROGRAM AND OTHERS IN ORACLE APPLICATIONS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=130182.1
    Regards,
    Hussein

  • APEX Overhead and trace files

    Hey everyone,
    We've been asked to "stress" and "load" test our application as it is predicted our user base might grow in the near future (company acquisitions/etc)...
    Unfortunately, there is concern about the overhead added by APEX.  From everything I've read, I do not personally believe APEX adds much to each page view (as compared to our own self-managed data), however I need to PROVE this to our system admins/etc.  Simply referencing things on the internet like "APEX doesn't add much overhead" doesn't exactly make the case.
    To accomplish my mission, I've done the following:
    1) generated a trace file on a test page by appending the following to the end of the URL:
    "&p_trace=YES" (without quotes)
    2) found the location of trace files using:
    select value from v$parameter where name = 'user_dump_dest';
    3) found the exact trace file for my apex page view
    grep -l "3853406964369" *.trc (where the number in quotes was the session id taken from my apex url)
    4) formatted the trace file using tkprof from the linux command line:
    tkprof orcl_ora_24115.trc tkprof_output
    Now, I'm in the process of examining the file.  It is great that it shows everything involved in generating a page!  A couple of quick questions though.
    A) is it safe to assume that this trace file (found by using my method above in steps 1-4) only contains records associated with my single apex page view?  My fear is that just because a file contains my session id, that does not guarantee that other random stuff from other sessions is also in the same file (sorry i'm new to trace files and especially trace files generated by apex).
    B) if i view a second page with the trace=YES, will a second file get generated or does it get combined into 1 file?  how can i easily tell which file is for which page view?
    C) is there an easy way to differentiate what queries would normally be made by oracle (regardless of the UI) versus queries ran by APEX specifically (which would not occur if we were using PHP for a front end)?
    Specifically, I see queries (similar to the following) that do not appear to be APEX specific from what I can tell:
    -- example 1 --
    select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i.property,
      i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.distkey,i.lblkkey,
      i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samplesize,i.dataobj#,
      nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mod(i.pctthres$,256),
      i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(c.deferrable#+c.valid#,0),
      nvl(i.spare1,i.intcols),i.spare4,i.spare2,i.spare6,decode(i.pctthres$,null,
      null,mod(trunc(i.pctthres$/256),256)),ist.cachedblk,ist.cachehit,
      ist.logicalread
    from
    ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols,
      min(to_number(bitand(defer,1))) deferrable#,min(to_number(bitand(defer,4)))
      valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where
      i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj#
    -- example 2 --
    select intcol#, toid, version#, intcols, intcol#s, flags, synobj#
    from
    subcoltype$ where obj#=:1 order by intcol# asc
    and I see queries that are definitely APEX related (based on the existence of references to wwv objects):
    -- example 3 --
    SELECT ID, BRANCH_NAME, BRANCH_ACTION, BRANCH_POINT, BRANCH_TYPE,
      BRANCH_CONDITION, BRANCH_CONDITION_TEXT, BRANCH_CONDITION_TYPE,
      BRANCH_WHEN_BUTTON_ID, NVL(SAVE_STATE_BEFORE_BRANCH_YN,'N'),
      SECURITY_SCHEME
    FROM
    WWV_FLOW_STEP_BRANCHES WHERE FLOW_ID = :B4 AND FLOW_STEP_ID = :B3 AND
      BRANCH_POINT = 'BEFORE_HEADER' AND (REQUIRED_PATCH IS NULL OR
      (REQUIRED_PATCH > 0 AND (:B2 IS NULL OR INSTR(:B2 ,
      ':'||TO_CHAR(REQUIRED_PATCH)||':') = 0) ) OR (REQUIRED_PATCH < 0 AND (:B1
      IS NULL OR INSTR(:B1 ,':'||TO_CHAR(0-REQUIRED_PATCH)||':') = 0) ) ) ORDER
      BY BRANCH_SEQUENCE, ID
    and then of course it's easy for me to identify any queries that are based on our code because I recognize the object names we use.
    In the mean-time I'm starting to look into how to interpret trace files (outside of the context of apex).
    My biggest concern is that I do not want to "ding" or "tax" APEX for queries that it had nothing to do with and that would be ran by oracle regardless of the UI we use to "view a page".
    Thanks!

    Move older audit files to a different filesystem until you find someone being able to define what files can be deleted.
    Regards
    Gustavo Restuccia

Maybe you are looking for