Home » RDBMS Server » Performance Tuning » .trc files
.trc files [message #431175] Mon, 16 November 2009 00:45 Go to next message
priyasinha396
Messages: 15
Registered: November 2009
Location: Delhi
Junior Member
can anybody please advice how to open .trc files and how to format them using tkprof ?
Re: .trc files [message #431177 is a reply to message #431175] Mon, 16 November 2009 00:49 Go to previous messageGo to next message
Michel Cadot
Messages: 63806
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
open: vi/noteppad
tkprof:
C:\>tkprof
Usage: tkprof tracefile outputfile [explain= ] [table= ]
              [print= ] [insert= ] [sys= ] [sort= ]
  table=schema.tablename   Use 'schema.tablename' with 'explain=' option.
  explain=user/password    Connect to ORACLE and issue EXPLAIN PLAN.
  print=integer    List only the first 'integer' SQL statements.
  aggregate=yes|no
  insert=filename  List SQL statements and data inside INSERT statements.
  sys=no           TKPROF does not list SQL statements run as user SYS.
  record=filename  Record non-recursive statements found in the trace file.
  waits=yes|no     Record summary for any wait events found in the trace file.
  sort=option      Set of zero or more of the following sort options:
    prscnt  number of times parse was called
    prscpu  cpu time parsing
    prsela  elapsed time parsing
    prsdsk  number of disk reads during parse
    prsqry  number of buffers for consistent read during parse
    prscu   number of buffers for current read during parse
    prsmis  number of misses in library cache during parse
    execnt  number of execute was called
    execpu  cpu time spent executing
    exeela  elapsed time executing
    exedsk  number of disk reads during execute
    exeqry  number of buffers for consistent read during execute
    execu   number of buffers for current read during execute
    exerow  number of rows processed during execute
    exemis  number of library cache misses during execute
    fchcnt  number of times fetch was called
    fchcpu  cpu time spent fetching
    fchela  elapsed time fetching
    fchdsk  number of disk reads during fetch
    fchqry  number of buffers for consistent read during fetch
    fchcu   number of buffers for current read during fetch
    fchrow  number of rows fetched
    userid  userid of user that parsed the cursor

Regards
Michel
Re: .trc files [message #431180 is a reply to message #431177] Mon, 16 November 2009 01:09 Go to previous message
priyasinha396
Messages: 15
Registered: November 2009
Location: Delhi
Junior Member
Thanks Michel..
Am able to do it now...
Previous Topic: Does CTAS uses unused space??
Next Topic: Profile Limits
Goto Forum:
  


Current Time: Tue Sep 27 12:47:08 CDT 2016

Total time taken to generate the page: 0.09289 seconds