longpan 发表于 2018-9-7 08:14:20

Oracle 10046事件 介绍(二) ---tkprof

SQL ID: 484dcpmb3vazu Plan Hash: 2949544139  

  
select *
  
from
  
scott.emp where empno=:x
  

  

  
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      2      0.00       0.00          0          2          0         1
  
------- -------------- ---------- ---------- ---------- --------------------
  
total      4      0.00       0.00          0          2          0         1
  

  
Misses in library cache during parse: 1
  
Optimizer mode: ALL_ROWS
  
Parsing user id: SYS
  
Number of plan statistics captured: 1
  

  
Rows (1st) Rows (avg) Rows (max)Row Source Operation
  
---------- ---------- -------------------------------------------------------------
  
         1          1          1TABLE ACCESS BY INDEX ROWID EMP (cr=2 pr=0 pw=0 time=38 us cost=1 size=38 card=1)
  
         1          1          1   INDEX UNIQUE SCAN PK_EMP (cr=1 pr=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 87109)
  

  

  
Elapsed times include waiting on following events:
  
Event waited on                           Times   Max. WaitTotal Waited
  
----------------------------------------   Waited----------------------
  
SQL*Net message to client                     2      0.00          0.00
  
SQL*Net message from client                     2      0.01          0.01


页: [1]
查看完整版本: Oracle 10046事件 介绍(二) ---tkprof