MERITS Profiler Report

Report Date: Sun 15-Nov-09 20:00:58 (generated by MERITS Profiler release 0.9.4)

Abbreviations

Avg.: Average
CR: Consistent reads
Cum.: Cumulative
Ela.: Elapsed time
Est.: Estimated
MB: Multi block
MBR: Multi block read
Obj.: Object (ALL_OBJECTS.OBJECT_ID)
PR: Physical reads
PW: Physical writes
SB: Single block
SBR: Single block read
n.r.: not resolvable (e.g. no match for a user ID in DB_USERS)

Notes: The portion of 'SQL*Net message from client' waits that execeed the think time threshold of 5 ms are reported as the pseudo wait event "think time"
All timings are in seconds unless noted otherwise.

Trace File Header


Dump file c:\programme\oracle\product\admin\ten\udump\ten_ora_20428.trc
Sun Nov 15 20:00:59 2009
ORACLE V10.2.0.3.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining options
Windows XP Version V5.1 Service Pack 2
CPU : 2 - type 586
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:702M/2046M, Ph+PgF:2317M/3940M, VA:1532M/2047M
Instance name: ten
Redo thread mounted by this instance: 1
Oracle process number: 20
Windows thread id: 20428, image: ORACLE.EXE (SHAD)
*** 2009-11-15 20:00:59.562

Session in trace file(s): 1
39.5078

Statspack Snapshots

Begin snapshot: 482
End snapshot: 483

Active Workload Repository Snapshots

Begin snapshot: 2426
End snapshot: 2427
AWR report: awr_report_2426_2427.html
ASH report: ash_report_2426_2427.html

Response Time and Statistics

Accounted-for response time (R): 508.204 s
Measurement interval (delta tim): 509.440 s
Intra Database Call Wait Time: 157.406 s
Inter Database Call Wait Time: 16.312 s
Committed transactions: 4014
Committed transactions/s (based on delta tim): 7.88
Transaction rollbacks: 0
Commits (read only): 2860
Rollbacks (read only): 0
Oracle PARSE ERROR entries: 0
MERITS Profiler parser errors: 109

Resource Profile for Trace File BFILENAME('USER_DUMP_DEST', 'ten_ora_20428.trc')

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU196.40625038.6405020.004849
unknown139.31564327.3482.902409
PL/SQL lock timer84.41941816.680110.010538
db file sequential read72.73423014.355180.013181
SQL*Net message from client14.1247942.828590.004940
think time2.1685510.421910.000990
log file switch completion0.1535340.010.153534
read by other session0.0574130.030.019138
buffer busy waits0.0377380.050.007548
SQL*Net message to client0.0181890.028580.000006
latch free0.0026440.020.001322
log file sync0.0010340.020.000517
latch: library cache0.0001250.030.000042
latch: cache buffers lru chain0.0000480.010.000048
latch: cache buffers chains0.0000470.010.000047
latch: row cache objects0.0000120.010.000012
Total509.439667100.0620060.008216

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE28650.0800.0000280.0000.00000000000
EXEC25904491.8130.018986196.4060.0075825518141292364889116500
FETCH117330.0000.0000000.0000.0000000002204290
Total40502491.8920.012145196.4060.00484955181412923648892320790
Avg. per EXEC1.5640.018989n/a0.007582n/a0.21354.5452.5058.9590.000
Avg. per FETCH3.4520.041924n/a0.016740n/a0.470120.4235.53019.7800.000
Avg. per Row0.1750.002120n/a0.000846n/a0.0246.0880.2801.0000.000

Buffer cache hit ratio: 99.6 %
Parse call library cache hit ratio: 100.0 %

Elapsed Time/CPU Usage/Wait Time by Recursive Call Depth

Note: cumulative values in parentheses

Recursive Call Depth012
DB Call Elapsed Time (s)141.217 (491.892)350.582 (350.676)0.093
CPU Time (s)8.875 (196.406)187.531 (187.531)0.000
Wait Time (s)98.600 (171.543)72.860 (72.943) 0.084

Hardware

cpu_count=2 (number of CPU cores)

Initialization Parameters

NameValueDefaultModified
_ash_sample_allFALSEFALSEMODIFIED
background_dump_destC:\PROGRAMME\ORACLE\PRODUCT\ADMIN\TEN\BDUMPFALSEFALSE
compatible10.2.0.1.0FALSEFALSE
control_filesC:\ORADATA\TEN\CONTROL01.CTL, C:\ORADATA\TEN\CONTROL02.CTL, C:\ORADATA\TEN\CONTROL03.CTLFALSEFALSE
core_dump_destC:\PROGRAMME\ORACLE\PRODUCT\ADMIN\TEN\CDUMPFALSEFALSE
create_bitmap_area_size8388608TRUEFALSE
db_block_size8192FALSEFALSE
db_cache_size28MFALSEFALSE
db_domainoradbpro.comFALSEFALSE
db_file_multiblock_read_count16FALSEFALSE
db_nameTENFALSEFALSE
db_16k_cache_size52MFALSEFALSE
db_2k_cache_size8MFALSEFALSE
disk_asynch_ioTRUETRUEFALSE
dispatchers(protocol=tcp)(dispatchers=1)FALSEFALSE
hash_area_size131072TRUEFALSE
java_pool_size32MFALSEFALSE
job_queue_processes1FALSEFALSE
large_pool_size0FALSEFALSE
local_listenerlistener.oradbpro.comFALSEFALSE
log_archive_dest_1location=c:\tempFALSEFALSE
log_buffer6984704TRUEFALSE
max_dump_file_sizeUNLIMITEDTRUEFALSE
open_cursors300FALSEFALSE
optimizer_dynamic_sampling2TRUEFALSE
optimizer_features_enable10.2.0.3TRUEFALSE
optimizer_index_caching0TRUEFALSE
optimizer_index_cost_adj100TRUEFALSE
optimizer_modeALL_ROWSTRUEFALSE
optimizer_secure_view_mergingTRUETRUEFALSE
parallel_execution_message_size2148TRUEFALSE
pga_aggregate_target256MFALSEFALSE
processes50FALSEFALSE
resource_limitTRUEFALSEFALSE
resource_manager_planSYSTEM_PLANFALSEFALSE
service_namesTEN.oradbpro.comFALSEFALSE
shared_pool_reserved_size10MTRUEFALSE
shared_pool_size200MFALSEFALSE
shared_servers0FALSEFALSE
sort_area_size65536TRUEFALSE
statistics_levelALLFALSEMODIFIED
streams_pool_size20MFALSEFALSE
undo_managementAUTOFALSEFALSE
undo_tablespaceUNDOTBS1FALSEFALSE
user_dump_destC:\PROGRAMME\ORACLE\PRODUCT\ADMIN\TEN\UDUMPFALSEFALSE

System Statistics

Gathered between 2008-10-21 20:50:00.0 and 2008-10-21 20:50:00.0

ParameterValueDescription
cpuspeednw1386.2Noworkload CPU speed (million operations/s)
ioseektim10.0I/O seek time (ms)
iotfrspeed4096.0I/O transfer speed (bytes/ms)
cpuspeedundefinedWorkload CPU speed (million operations/s)
maxthrundefinedMaximum I/O system throughput (bytes/s)
mbrcundefinedAverage mutli block read count
mreadtimundefinedMultiblock read time (ms/block)
slavethrundefinedMaximum throughput of a parallel execution slave (bytes/s)
sreadtimundefinedSingle block read time (ms)

Results for Individual Statements

Distinct statements: 29

Top Statements

Service time is the response time spent in the DBMS server plus IPC latency wait time. Thus, service time excludes think time. Service time is the metric used to rank the statements.
The statement response time R includes think time.
Percentage of statement contribution is reported based on delta tim.
Only statements at recursive call depth zero (dep=0) are shown.
Statements at ranks higher than 10 that contribute less than 1.0% to the total service time are not listed
The statement text is truncated to at most 80 characters.

RankHash Value/CursorSQL IDService TimePercentR (s)PercentStatement Text
19667583821xxksrhwtz3zf334.12865.59 %337.15766.18 %BEGIN :1 := orderentry.neworder(:2,:3,:4); END;
2163108979107p193phmhx3z60.63111.90 %63.08312.38 %BEGIN :1 := orderentry.browseproducts(:2,:3,:4); END;
34030344732c0q36xbs3nbhw46.8719.20 %49.2509.67 %BEGIN :1 := orderentry.browseandupdateorders(:2,:3,:4); END;
435897219259hjz3yrazdmu533.2706.53 %35.8177.03 %BEGIN :1 := orderentry.newcustomer(:2,:3,:4,:5,:6,:7); END;
520869077565v8hhf9y67bvc20.1813.96 %22.8924.49 %BEGIN :1 := orderentry.processorders(:2,:3); END;
6150.0420.01 %0.0420.01 %Note: statement text unavailable due to absence of parse call from trace file
Total495.12297.19 %508.24099.76 %


Rank 1: Statement with Hash Value 966758382

Response Time Including Think Time: 337.157 s (66.18 % of delta tim)
Response Time Excluding Think Time: 334.128 s (65.59 % of delta tim)
Recursive Elapsed Time: 222.887 s
SQL ID: 1xxksrhwtz3zf
Force Matching Signature: 0
Command Type: 47 (PL/SQL Block)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 0
Waits: 7008
Total Wait Time: 59.915 s
Intra Database Call Wait Time: 56.338 s
Inter Database Call Wait Time: 3.578 s
IPC latency wait time: 0.549 s
Line Number: 29

Statement Text

BEGIN :1 := orderentry.neworder(:2,:3,:4); END;

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU184.76562554.811940.154745
unknown92.47554827.4192.475548
PL/SQL lock timer56.33729616.753300.010570
SQL*Net message from client2.9597900.95970.004958
think time0.6139910.24830.001271
SQL*Net message to client0.0040760.05970.000007
latch free0.0003060.010.000306
Total337.156586100.082030.041102

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE5970.0160.0000270.0000.00000000000
EXEC597333.5630.558732184.7660.30949018411357351424645970
FETCH00.0000.0000000.0000.00000000000
Total1194333.5790.279379184.7660.15474518411357351424645970
Avg. per EXEC2.0000.558758n/a0.309490n/a3.0842273.62071.1291.0000.000
Avg. per Row2.0000.558758n/a0.309490n/a3.0842273.62071.1291.0000.000

Recursive Descendants

The statement has 10 recursive descendants that have contributed an elapsed time of 222.887 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
2863564559189.55578 (SOE)SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTIO
208449111715.53178 (SOE)SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LAN
26378620829.92778 (SOE)SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTOR
22369203247.72278 (SOE)INSERT INTO ORDER_ITEMS(ORDER_ID, LINE_ITEM_ID, PRODUCT_ID,
2557188230.08978 (SOE)COMMIT
35241475270.04478 (SOE)INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES
1244681950.01678 (SOE)SELECT SYSDATE FROM DUAL
41964747730.00178 (SOE)INSERT INTO LOGON VALUES (:B2 , :B1 )
13446283610.00178 (SOE)UPDATE INVENTORIES SET QUANTITY_ON_HAND = QUANTITY_ON_HAND -
29907266270.00178 (SOE)UPDATE ORDERS SET ORDER_MODE = 'online', ORDER_STATUS = FLOO

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
015240126500352287081215-Nov-09 19:47:59
115240126500375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
075.801176.5860.014094.2999.69503116031160
1106.953222.73100065.1848.88402122021240

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532100ALL_ROWS3750204916.401429.2963182329.5
24242870266532100ALL_ROWS3522870812.054758.0236592331.8

Captured Bind Variables

Note: trace file contains 597 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0
1NUMBER413006
2NUMBER4
3NUMBER6
Bind Section 2:
PositionTypeValue
0
1NUMBER146609
2NUMBER4
3NUMBER6
Bind Section 3:
PositionTypeValue
0
1NUMBER398168
2NUMBER4
3NUMBER6
Bind Section 4:
PositionTypeValue
0
1NUMBER912983
2NUMBER4
3NUMBER6
Bind Section 5:
PositionTypeValue
0
1NUMBER299795
2NUMBER4
3NUMBER6
Bind Section 6:
PositionTypeValue
0
1NUMBER988201
2NUMBER4
3NUMBER6
Bind Section 7:
PositionTypeValue
0
1NUMBER174073
2NUMBER4
3NUMBER6
Bind Section 8:
PositionTypeValue
0
1NUMBER114327
2NUMBER4
3NUMBER6
Bind Section 9:
PositionTypeValue
0
1NUMBER669288
2NUMBER4
3NUMBER6
Bind Section 10:
PositionTypeValue
0
1NUMBER177360
2NUMBER4
3NUMBER6

Rank 2: Statement with Hash Value 2863564559

Response Time: 192.387 s (37.76 % of delta tim)
SQL ID: dw2zgaapax1sg
Force Matching Signature: 3138049466602010507
MD5 Hash Value: 3A7DCCD2344B7F8D7C3C39C1B56E88C5
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductDetailsByCategory'
Waits: 3
Total Wait Time: 0.002 s
Intra Database Call Wait Time: 0.002 s
Line Number: 115

Statement Text

SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE PRODUCTS.CATEGORY_ID = :B1 AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID ORDER BY INVENTORIES.WAREHOUSE_ID

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU176.39062591.736160.048781
unknown15.9943758.3115.994375
latch free0.0023380.010.002338
latch: cache buffers chains0.0000470.010.000047
latch: row cache objects0.0000120.010.000012
Total192.387390100.036200.053146

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC180810.5880.0058560.8910.00049300000
FETCH1808181.7990.100553175.5000.0970690134206201808000
Total3616192.3870.053204176.3910.0487810134206201808000
Avg. per EXEC2.0000.106409n/a0.097561n/a0.000742.2910.000100.0000.000
Avg. per FETCH2.0000.106409n/a0.097561n/a0.000742.2910.000100.0000.000
Avg. per Row0.0200.001064n/a0.000976n/a0.0007.4230.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10196900SORT ORDER BY9.117331196.01791401461541024700
211137680   HASH JOIN128.150055186.90058901461541024700
3256884      NESTED LOOPS OUTER0.7508092.7915230275660000
4356884         TABLE ACCESS FULL PRODUCT_INFORMATION0.5266820.52668223628236280000
530         TABLE ACCESS BY INDEX ROWID PRODUCT_DESCRIPTIONS0.8716111.514032039380000
650            INDEX UNIQUE SCAN PRD_DESC_PK0.6424210.642421393839380000
7211341440      TABLE ACCESS FULL INVENTORIES55.95902355.9590231433975143397524724700

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0380359247831380494666020105072108007948352287081215-Nov-09 19:47:59
1380359247831380494666020105072108007948375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
0105.449119.373000.1080015461154612235
136.69641.496000.274004124122235

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  dw2zgaapax1sg, child number 0
-------------------------------------
SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, WARRANTY_PERIOD, SUPPLIER_ID, 
PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE PRODUCTS.CATEGORY_ID = :B1 
AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID ORDER BY INVENTORIES.WAREHOUSE_ID
 
Plan hash value: 2108007948
 
-------------------------------------------------------------------------------------------------------------------------------------------
| Id  | Operation                      | Name                 | E-Rows |E-Bytes|E-Temp | Cost (%CPU)| E-Time   |  OMem |  1Mem | Used-Mem |
-------------------------------------------------------------------------------------------------------------------------------------------
|   1 |  SORT ORDER BY                 |                      |    580 |   288K|   632K|   235   (1)| 00:00:03 |   302K|   302K|  268K (0)|
|*  2 |   HASH JOIN                    |                      |    580 |   288K|       |   169   (1)| 00:00:03 |   690K|   690K| 1177K (0)|
|   3 |    NESTED LOOPS OUTER          |                      |     29 | 14500 |       |     4   (0)| 00:00:01 |       |       |          |
|*  4 |     TABLE ACCESS FULL          | PRODUCT_INFORMATION  |     29 |  6351 |       |     4   (0)| 00:00:01 |       |       |          |
|   5 |     TABLE ACCESS BY INDEX ROWID| PRODUCT_DESCRIPTIONS |      1 |   281 |       |     0   (0)|          |       |       |          |
|*  6 |      INDEX UNIQUE SCAN         | PRD_DESC_PK          |      1 |       |       |     0   (0)|          |       |       |          |
|   7 |    TABLE ACCESS FULL           | INVENTORIES          |   5760 | 57600 |       |   164   (0)| 00:00:02 |       |       |          |
-------------------------------------------------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$F5BB74E1
   4 - SEL$F5BB74E1 / I@SEL$2
   5 - SEL$F5BB74E1 / D@SEL$2
   6 - SEL$F5BB74E1 / D@SEL$2
   7 - SEL$F5BB74E1 / INVENTORIES@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$F5BB74E1")
      MERGE(@"SEL$2")
      OUTLINE(@"SEL$1")
      OUTLINE(@"SEL$2")
      FULL(@"SEL$F5BB74E1" "I"@"SEL$2")
      INDEX_RS_ASC(@"SEL$F5BB74E1" "D"@"SEL$2" ("PRODUCT_DESCRIPTIONS"."PRODUCT_ID" "PRODUCT_DESCRIPTIONS"."LANGUAGE_ID"))
      FULL(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      LEADING(@"SEL$F5BB74E1" "I"@"SEL$2" "D"@"SEL$2" "INVENTORIES"@"SEL$1")
      USE_NL(@"SEL$F5BB74E1" "D"@"SEL$2")
      USE_HASH(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - (NUMBER): 1
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("INVENTORIES"."PRODUCT_ID"="I"."PRODUCT_ID")
   4 - filter("I"."CATEGORY_ID"=:B1)
   6 - access("D"."PRODUCT_ID"="I"."PRODUCT_ID" AND "D"."LANGUAGE_ID"=SYS_CONTEXT('USERENV','LANG'))
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3803592478
SQL ID: dw2zgaapax1sg

Execution plan with plan hash value 2108007948 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 235
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 235
10 SORT ORDER BY580295800235233648000
21  HASH JOIN 580295800169168
32   NESTED LOOPS OUTER291450044
43    TABLE ACCESS FULLSOE.PRODUCT_INFORMATION6074129635144
53    TABLE ACCESS BY INDEX ROWIDSOE.PRODUCT_DESCRIPTIONS60743128100
65     INDEX UNIQUE SCANSOE.PRD_DESC_PK60770100
72   TABLE ACCESS FULLSOE.INVENTORIES60740576057600164164

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
2427287026653212108007948235ALL_ROWS3750204916.102932.091322742.4
2424287026653212108007948235ALL_ROWS3522870812.006799.006344742

AWR execution plan with plan hash value 2108007948 for SQL ID dw2zgaapax1sg


SQL_ID dw2zgaapax1sg
--------------------
SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, 
WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM 
PRODUCTS, INVENTORIES WHERE PRODUCTS.CATEGORY_ID = :B1 AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID 
ORDER BY INVENTORIES.WAREHOUSE_ID
 
Plan hash value: 2108007948
 
----------------------------------------------------------------------------------------------------------------
| Id  | Operation                      | Name                 | E-Rows |E-Bytes|E-Temp | Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT               |                      |        |       |       |   235 (100)|          |
|   1 |  SORT ORDER BY                 |                      |    580 |   288K|   632K|   235   (1)| 00:00:03 |
|   2 |   HASH JOIN                    |                      |    580 |   288K|       |   169   (1)| 00:00:03 |
|   3 |    NESTED LOOPS OUTER          |                      |     29 | 14500 |       |     4   (0)| 00:00:01 |
|   4 |     TABLE ACCESS FULL          | PRODUCT_INFORMATION  |     29 |  6351 |       |     4   (0)| 00:00:01 |
|   5 |     TABLE ACCESS BY INDEX ROWID| PRODUCT_DESCRIPTIONS |      1 |   281 |       |     0   (0)|          |
|   6 |      INDEX UNIQUE SCAN         | PRD_DESC_PK          |      1 |       |       |     0   (0)|          |
|   7 |    TABLE ACCESS FULL           | INVENTORIES          |   5760 | 57600 |       |   164   (0)| 00:00:02 |
----------------------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$F5BB74E1
   4 - SEL$F5BB74E1 / I@SEL$2
   5 - SEL$F5BB74E1 / D@SEL$2
   6 - SEL$F5BB74E1 / D@SEL$2
   7 - SEL$F5BB74E1 / INVENTORIES@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$F5BB74E1")
      MERGE(@"SEL$2")
      OUTLINE(@"SEL$1")
      OUTLINE(@"SEL$2")
      FULL(@"SEL$F5BB74E1" "I"@"SEL$2")
      INDEX_RS_ASC(@"SEL$F5BB74E1" "D"@"SEL$2" ("PRODUCT_DESCRIPTIONS"."PRODUCT_ID" 
              "PRODUCT_DESCRIPTIONS"."LANGUAGE_ID"))
      FULL(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      LEADING(@"SEL$F5BB74E1" "I"@"SEL$2" "D"@"SEL$2" "INVENTORIES"@"SEL$1")
      USE_NL(@"SEL$F5BB74E1" "D"@"SEL$2")
      USE_HASH(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - :B1 (NUMBER): 1
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 1807 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER7
Bind Section 2:
PositionTypeValue
0NUMBER1
Bind Section 3:
PositionTypeValue
0NUMBER4
Bind Section 4:
PositionTypeValue
0NUMBER7
Bind Section 5:
PositionTypeValue
0NUMBER9
Bind Section 6:
PositionTypeValue
0NUMBER3
Bind Section 7:
PositionTypeValue
0NUMBER5
Bind Section 8:
PositionTypeValue
0NUMBER1
Bind Section 9:
PositionTypeValue
0NUMBER9
Bind Section 10:
PositionTypeValue
0NUMBER8

Rank 3: Statement with Hash Value 2084491117

Response Time: 65.339 s (12.83 % of delta tim)
SQL ID: 75621g9y3xmvd
Force Matching Signature: 9616035054348117015
MD5 Hash Value: 826587046C2C6BDA8E44DAEF2DF4FF0
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getCustomerDetails'
Waits: 2994
Total Wait Time: 43.867 s
Intra Database Call Wait Time: 43.867 s
Line Number: 64

Statement Text

SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LANGUAGE, NLS_TERRITORY, CREDIT_LIMIT, CUST_EMAIL, ACCOUNT_MGR_ID FROM CUSTOMERS WHERE CUSTOMER_ID = :B1 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read43.86692867.129930.014657
unknown19.90987230.5119.909872
CPU1.5625002.445240.000345
latch: cache buffers lru chain0.0000480.010.000048
Total65.339378100.075190.008690

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC226220.9720.0092711.2030.00053200000
FETCH226244.3670.0196140.3590.00015929939056022620
Total452465.3390.0144431.5630.00034529939056022620
Avg. per EXEC2.0000.028886n/a0.000691n/a1.3234.0040.0001.0000.000
Avg. per FETCH2.0000.028886n/a0.000691n/a1.3234.0040.0001.0000.000
Avg. per Row2.0000.028886n/a0.000691n/a1.3234.0040.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
102476TABLE ACCESS BY INDEX ROWID CUSTOMERS26.24496547.947411247799161793325700
212476   INDEX UNIQUE SCAN CUSTOMERS_PK21.70244821.702448743974391464146400

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0362376404696160350543481170154238351645352287081215-Nov-09 19:47:59
1362376404696160350543481170154238351645375020491615-Nov-09 20:01:17
2362376404696160350543481170154238351645375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
023.61354.895000333.6970020203023
1.2488.2430008.19800314013
2.2795.5110004.54700246013

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  75621g9y3xmvd, child number 0
-------------------------------------
SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LANGUAGE, NLS_TERRITORY, 
CREDIT_LIMIT, CUST_EMAIL, ACCOUNT_MGR_ID FROM CUSTOMERS WHERE CUSTOMER_ID = :B1
 
Plan hash value: 4238351645
 
---------------------------------------------------------------------------------------------
| Id  | Operation                   | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------
|   1 |  TABLE ACCESS BY INDEX ROWID| CUSTOMERS    |      1 |    66 |     3   (0)| 00:00:01 |
|*  2 |   INDEX UNIQUE SCAN         | CUSTOMERS_PK |      1 |       |     2   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / CUSTOMERS@SEL$1
   2 - SEL$1 / CUSTOMERS@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "CUSTOMERS"@"SEL$1" ("CUSTOMERS"."CUSTOMER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - (NUMBER): 74530
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("CUSTOMER_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3623764046
SQL ID: 75621g9y3xmvd

Execution plan with plan hash value 4238351645 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 3
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 3
10 TABLE ACCESS BY INDEX ROWIDSOE.CUSTOMERS6073616633
21  INDEX UNIQUE SCANSOE.CUSTOMERS_PK60764122

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532142383516453ALL_ROWS3750204916.024276.0009914
24242870266532142383516453ALL_ROWS3522870812.016533.0006734

AWR execution plan with plan hash value 4238351645 for SQL ID 75621g9y3xmvd


SQL_ID 75621g9y3xmvd
--------------------
SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LANGUAGE, NLS_TERRITORY, 
CREDIT_LIMIT, CUST_EMAIL, ACCOUNT_MGR_ID FROM CUSTOMERS WHERE CUSTOMER_ID = :B1
 
Plan hash value: 4238351645
 
---------------------------------------------------------------------------------------------
| Id  | Operation                   | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT            |              |        |       |     3 (100)|          |
|   1 |  TABLE ACCESS BY INDEX ROWID| CUSTOMERS    |      1 |    66 |     3   (0)| 00:00:01 |
|   2 |   INDEX UNIQUE SCAN         | CUSTOMERS_PK |      1 |       |     2   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / CUSTOMERS@SEL$1
   2 - SEL$1 / CUSTOMERS@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "CUSTOMERS"@"SEL$1" ("CUSTOMERS"."CUSTOMER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - :B1 (NUMBER): 74530
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
60736163023.7240.01500.0000.00000.0SOE.CUSTOMERS
60764136320.1430.01500.0000.00000.0SOE.CUSTOMERS_PK

Captured Bind Variables

Note: trace file contains 2261 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER146609
Bind Section 2:
PositionTypeValue
0NUMBER16803
Bind Section 3:
PositionTypeValue
0NUMBER1084193
Bind Section 4:
PositionTypeValue
0NUMBER1084194
Bind Section 5:
PositionTypeValue
0NUMBER398168
Bind Section 6:
PositionTypeValue
0NUMBER912983
Bind Section 7:
PositionTypeValue
0NUMBER1084201
Bind Section 8:
PositionTypeValue
0NUMBER319705
Bind Section 9:
PositionTypeValue
0NUMBER299795
Bind Section 10:
PositionTypeValue
0NUMBER988201

Rank 4: Statement with Hash Value 1631089791

Response Time Including Think Time: 63.083 s (12.38 % of delta tim)
Response Time Excluding Think Time: 60.631 s (11.90 % of delta tim)
Recursive Elapsed Time: 19.755 s
SQL ID: 07p193phmhx3z
Force Matching Signature: 0
Command Type: 47 (PL/SQL Block)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 0
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 3099
Total Wait Time: 19.657 s
Intra Database Call Wait Time: 16.625 s
Inter Database Call Wait Time: 3.032 s
IPC latency wait time: 0.581 s
Line Number: 3770

Statement Text

BEGIN :1 := orderentry.browseproducts(:2,:3,:4); END;

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown38.59721461.2138.597214
PL/SQL lock timer16.62515126.415890.010463
CPU4.8281257.710880.004438
SQL*Net message from client2.6878994.35440.004941
think time0.3412180.54220.000809
SQL*Net message to client0.0030700.05440.000006
Total63.082676100.041880.015063

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE5440.0150.0000270.0000.00000000000
EXEC54460.0360.1103604.8280.0088759684211021015440
FETCH00.0000.0000000.0000.00000000000
Total108860.0500.0551934.8280.0044389684211021015440
Avg. per EXEC2.0000.110387n/a0.008875n/a1.77977.4083.8621.0000.000
Avg. per Row2.0000.110387n/a0.008875n/a1.77977.4083.8621.0000.000

Recursive Descendants

The statement has 5 recursive descendants that have contributed an elapsed time of 19.755 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
208449111714.23778 (SOE)SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LAN
6226951905.50678 (SOE)SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTIO
1244681950.01278 (SOE)SELECT SYSDATE FROM DUAL
41964747730.00078 (SOE)INSERT INTO LOGON VALUES (:B2 , :B1 )
2557188230.00078 (SOE)COMMIT

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0109489138900352287081215-Nov-09 19:47:59
1109489138900375020491615-Nov-09 20:01:18

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
08.8180.37400071.3033.75103117031170
113.19881.09800046.3193.19302085020850

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532100ALL_ROWS3750204916.052338.00584282.2
24242870266532100ALL_ROWS3522870812.025131.0028183.4

Captured Bind Variables

Note: trace file contains 544 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0
1NUMBER103369
2NUMBER4
3NUMBER6
Bind Section 2:
PositionTypeValue
0
1NUMBER432449
2NUMBER4
3NUMBER6
Bind Section 3:
PositionTypeValue
0
1NUMBER82535
2NUMBER4
3NUMBER6
Bind Section 4:
PositionTypeValue
0
1NUMBER259806
2NUMBER4
3NUMBER6
Bind Section 5:
PositionTypeValue
0
1NUMBER73960
2NUMBER4
3NUMBER6
Bind Section 6:
PositionTypeValue
0
1NUMBER268737
2NUMBER4
3NUMBER6
Bind Section 7:
PositionTypeValue
0
1NUMBER238642
2NUMBER4
3NUMBER6
Bind Section 8:
PositionTypeValue
0
1NUMBER165341
2NUMBER4
3NUMBER6
Bind Section 9:
PositionTypeValue
0
1NUMBER114913
2NUMBER4
3NUMBER6
Bind Section 10:
PositionTypeValue
0
1NUMBER112828
2NUMBER4
3NUMBER6

Rank 5: Statement with Hash Value 4030344732

Response Time Including Think Time: 49.250 s (9.67 % of delta tim)
Response Time Excluding Think Time: 46.871 s (9.20 % of delta tim)
Recursive Elapsed Time: 15.329 s
SQL ID: c0q36xbs3nbhw
Force Matching Signature: 0
Command Type: 47 (PL/SQL Block)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 0
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 2228
Total Wait Time: 10.279 s
Intra Database Call Wait Time: 7.187 s
Inter Database Call Wait Time: 3.092 s
IPC latency wait time: 0.713 s
Line Number: 689

Statement Text

BEGIN :1 := orderentry.browseandupdateorders(:2,:3,:4); END;

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown36.58039574.3136.580395
PL/SQL lock timer7.18673714.66900.010416
SQL*Net message from client2.7749115.65620.004938
CPU2.3906254.911240.002127
think time0.3138270.64130.000760
SQL*Net message to client0.0032330.05620.000006
log file sync0.0002560.010.000256
Total49.249985100.033530.014688

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE5620.0160.0000280.0000.00000000000
EXEC56246.1420.0821032.3910.0042541023339721745620
FETCH00.0000.0000000.0000.00000000000
Total112446.1580.0410662.3910.0021271023339721745620
Avg. per EXEC2.0000.082132n/a0.004254n/a1.8206.0443.8681.0000.000
Avg. per Row2.0000.082132n/a0.004254n/a1.8206.0443.8681.0000.000

Recursive Descendants

The statement has 5 recursive descendants that have contributed an elapsed time of 15.329 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
208449111714.56678 (SOE)SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LAN
8201584660.75178 (SOE)SELECT ORDER_ID, ORDER_MODE, CUSTOMER_ID, ORDER_STATUS, ORDE
1244681950.01278 (SOE)SELECT SYSDATE FROM DUAL
41964747730.00078 (SOE)INSERT INTO LOGON VALUES (:B2 , :B1 )
2557188230.00078 (SOE)COMMIT

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
072783103600352287081215-Nov-09 19:47:59
172783103600375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
04.37574.08500070.9351.18803053030530
17.98573.51500049.4481.15602106021060

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532100ALL_ROWS3750204916.048079.00238110
24242870266532100ALL_ROWS3522870812.023961.00139910

Captured Bind Variables

Note: trace file contains 562 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0
1NUMBER16803
2NUMBER4
3NUMBER6
Bind Section 2:
PositionTypeValue
0
1NUMBER319705
2NUMBER4
3NUMBER6
Bind Section 3:
PositionTypeValue
0
1NUMBER65945
2NUMBER4
3NUMBER6
Bind Section 4:
PositionTypeValue
0
1NUMBER976867
2NUMBER4
3NUMBER6
Bind Section 5:
PositionTypeValue
0
1NUMBER207370
2NUMBER4
3NUMBER6
Bind Section 6:
PositionTypeValue
0
1NUMBER705210
2NUMBER4
3NUMBER6
Bind Section 7:
PositionTypeValue
0
1NUMBER871184
2NUMBER4
3NUMBER6
Bind Section 8:
PositionTypeValue
0
1NUMBER419672
2NUMBER4
3NUMBER6
Bind Section 9:
PositionTypeValue
0
1NUMBER294145
2NUMBER4
3NUMBER6
Bind Section 10:
PositionTypeValue
0
1NUMBER560920
2NUMBER4
3NUMBER6

Rank 6: Statement with Hash Value 3589721925

Response Time Including Think Time: 35.817 s (7.03 % of delta tim)
Response Time Excluding Think Time: 33.270 s (6.53 % of delta tim)
Recursive Elapsed Time: 0.169 s
SQL ID: 9hjz3yrazdmu5
Force Matching Signature: 0
Command Type: 47 (PL/SQL Block)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 0
Module: 'Browse and Update Orders'
Action: 'getOrdersByCustomer'
Waits: 1556
Total Wait Time: 3.124 s
Intra Database Call Wait Time: 0.000 s
Inter Database Call Wait Time: 3.124 s
IPC latency wait time: 0.577 s
Line Number: 767

Statement Text

BEGIN :1 := orderentry.newcustomer(:2,:3,:4,:5,:6,:7); END;

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown29.78628783.2129.786287
CPU2.9062508.111180.002600
SQL*Net message from client2.7631407.75590.004943
think time0.3571521.04380.000815
SQL*Net message to client0.0039250.05590.000007
Total35.816757100.026750.013389

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE5590.0160.0000290.0000.00000000000
EXEC55932.6770.0584552.9060.00519914142264127835590
FETCH00.0000.0000000.0000.00000000000
Total111832.6930.0292422.9060.00260014142264127835590
Avg. per EXEC2.0000.058484n/a0.005199n/a2.5304.05022.8681.0000.000
Avg. per Row2.0000.058484n/a0.005199n/a2.5304.05022.8681.0000.000

Recursive Descendants

The statement has 6 recursive descendants that have contributed an elapsed time of 0.169 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
24827018650.05278 (SOE)SELECT CUSTOMER_SEQ.NEXTVAL FROM DUAL
2557188230.04978 (SOE)COMMIT
20844911170.03478 (SOE)SELECT CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, NLS_LAN
5805069540.02278 (SOE)INSERT INTO CUSTOMERS(CUSTOMER_ID ,CUST_FIRST_NAME ,CUST_LAS
1244681950.01378 (SOE)SELECT SYSDATE FROM DUAL
41964747730.00078 (SOE)INSERT INTO LOGON VALUES (:B2 , :B1 )

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0244571206700352287081215-Nov-09 19:47:59
1244571206700375020491615-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
04.32580.630.007076.6311.01303000030000
111.62978.22700051.857.81102163021630

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532100ALL_ROWS3750204916.044229.00315727
24242870266532100ALL_ROWS3522870812.026442.00141427.2

Captured Bind Variables

Note: trace file contains 559 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0
1(N)VARCHAR2"Alonso"
2(N)VARCHAR2"Fonda"
3(N)VARCHAR2"th"
4(N)VARCHAR2"THAILAND"
5NUMBER4
6NUMBER6
Bind Section 2:
PositionTypeValue
0
1(N)VARCHAR2"Carol"
2(N)VARCHAR2"von Sydow"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER4
6NUMBER6
Bind Section 3:
PositionTypeValue
0
1(N)VARCHAR2"Alexander"
2(N)VARCHAR2"Wilder"
3(N)VARCHAR2"i"
4(N)VARCHAR2"ITALY"
5NUMBER4
6NUMBER6
Bind Section 4:
PositionTypeValue
0
1(N)VARCHAR2"Klaus"
2(N)VARCHAR2"Wilder"
3(N)VARCHAR2"us"
4(N)VARCHAR2"AMERICA"
5NUMBER4
6NUMBER6
Bind Section 5:
PositionTypeValue
0
1(N)VARCHAR2"Dominic"
2(N)VARCHAR2"Pacino"
3(N)VARCHAR2"th"
4(N)VARCHAR2"THAILAND"
5NUMBER4
6NUMBER6
Bind Section 6:
PositionTypeValue
0
1(N)VARCHAR2"Harry dean"
2(N)VARCHAR2"Quinlan"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER4
6NUMBER6
Bind Section 7:
PositionTypeValue
0
1(N)VARCHAR2"Eddie"
2(N)VARCHAR2"Fonda"
3(N)VARCHAR2"ja"
4(N)VARCHAR2"JAPAN"
5NUMBER4
6NUMBER6
Bind Section 8:
PositionTypeValue
0
1(N)VARCHAR2"Kristin"
2(N)VARCHAR2"Mahoney"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER4
6NUMBER6
Bind Section 9:
PositionTypeValue
0
1(N)VARCHAR2"Orson"
2(N)VARCHAR2"Prashant"
3(N)VARCHAR2"us"
4(N)VARCHAR2"AMERICA"
5NUMBER4
6NUMBER6
Bind Section 10:
PositionTypeValue
0
1(N)VARCHAR2"Ridley"
2(N)VARCHAR2"Buckley"
3(N)VARCHAR2"d"
4(N)VARCHAR2"SWITZERLAND"
5NUMBER4
6NUMBER6

Rank 7: Statement with Hash Value 2086907756

Response Time Including Think Time: 22.892 s (4.49 % of delta tim)
Response Time Excluding Think Time: 20.181 s (3.96 % of delta tim)
Recursive Elapsed Time: 4.155 s
SQL ID: 5v8hhf9y67bvc
Force Matching Signature: 0
Command Type: 47 (PL/SQL Block)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 0
Module: 'New Customer'
Action: 'getCustomerDetails'
Waits: 2031
Total Wait Time: 7.749 s
Intra Database Call Wait Time: 4.270 s
Inter Database Call Wait Time: 3.479 s
IPC latency wait time: 0.768 s
Line Number: 1066

Statement Text

BEGIN :1 := orderentry.processorders(:2,:3); END;

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown13.62661559.5113.626615
PL/SQL lock timer4.27023218.74020.010622
SQL*Net message from client2.93405412.85960.004923
CPU1.5156256.611920.001271
think time0.5411282.44340.001247
SQL*Net message to client0.0038850.05960.000007
latch: library cache0.0001250.030.000042
Total22.891665100.032240.007100

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE5960.0170.0000290.0000.00000000000
EXEC59619.3950.0325431.5160.002543272780153675960
FETCH00.0000.0000000.0000.00000000000
Total119219.4130.0162861.5160.001271272780153675960
Avg. per EXEC2.0000.032571n/a0.002543n/a0.45613.0899.0051.0000.000
Avg. per Row2.0000.032571n/a0.002543n/a0.45613.0899.0051.0000.000

Recursive Descendants

The statement has 3 recursive descendants that have contributed an elapsed time of 4.155 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
7465896404.15478 (SOE)SELECT /*+ first_rows index(customers, customers_pk) index(
9146254790.00178 (SOE)UPDATE /*+ index(orders, order_pk) */ ORDERS SET ORDER_STATU
2557188230.00078 (SOE)COMMIT

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0275763450800352287081215-Nov-09 19:47:59
1275763450800375020491615-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
02.71121.12400018.685.69503107031070
17.90125.8800011.01.55302105021050

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532100ALL_ROWS3750204916.016636.00222522.2
24242870266532100ALL_ROWS3522870812.006531.0008721.4

Captured Bind Variables

Note: trace file contains 596 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 2:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 3:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 4:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 5:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 6:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 7:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 8:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 9:
PositionTypeValue
0
1NUMBER4
2NUMBER6
Bind Section 10:
PositionTypeValue
0
1NUMBER4
2NUMBER6

Rank 8: Statement with Hash Value 580506954

Response Time: 16.314 s (3.20 % of delta tim)
Recursive Elapsed Time: 0.015 s
SQL ID: 0bzhqhhj9mpaa
Force Matching Signature: 0
MD5 Hash Value: 77CC6F97CF779A8E4BEE0673948A073
Command Type: 2 (INSERT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Customer'
Action: 'getOrdersByCustomer'
Waits: 1408
Total Wait Time: 15.372 s
Intra Database Call Wait Time: 15.372 s
Line Number: 876

Statement Text

INSERT INTO CUSTOMERS(CUSTOMER_ID ,CUST_FIRST_NAME ,CUST_LAST_NAME ,NLS_LANGUAGE ,NLS_TERRITORY ,CREDIT_LIMIT ,CUST_EMAIL ,ACCOUNT_MGR_ID ) VALUES (:B9 , :B4 , :B3 , :B8 , :B7 , FLOOR(DBMS_RANDOM.VALUE(:B6 , :B5 )), :B4 ||'.'||:B3 ||'@'||'oracle.com', FLOOR(DBMS_RANDOM.VALUE(:B2 , :B1 )))

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read15.37234594.214080.010918
CPU0.7656254.75590.001370
unknown0.1760061.110.176006
Total16.313976100.019680.008290

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC55916.3140.0291840.7660.001370141120100965590
FETCH00.0000.0000000.0000.00000000000
Total55916.3140.0291840.7660.001370141120100965590
Avg. per EXEC1.0000.029184n/a0.001370n/a2.5240.03618.0611.0000.000
Avg. per Row1.0000.029184n/a0.001370n/a2.5240.03618.0611.0000.000

Recursive Descendants

The statement has 2 recursive descendants that have contributed an elapsed time of 0.015 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
23797172790.0150 (SYS)update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,max
15702137240.0000 (SYS)select file# from file$ where ts#=:1

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0317242490200352287081215-Nov-09 19:47:59
1317242490200375020491615-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
06.243128.15000123.355.13505030021
1.1584.8960004.83.0030133021

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  0bzhqhhj9mpaa, child number 0
                                     
INSERT INTO CUSTOMERS(CUSTOMER_ID ,CUST_FIRST_NAME ,CUST_LAST_NAME 
,NLS_LANGUAGE ,NLS_TERRITORY ,CREDIT_LIMIT ,CUST_EMAIL ,ACCOUNT_MGR_ID 
) VALUES (:B9 , :B4 , :B3 , :B8 , :B7 , FLOOR(DBMS_RANDOM.VALUE(:B6 , 
:B5 )), :B4 ||'.'||:B3 ||'@'||'oracle.com', FLOOR(DBMS_RANDOM.VALUE(:B2 
, :B1 )))
 
NOTE: cannot fetch plan for SQL_ID: 0bzhqhhj9mpaa, CHILD_NUMBER: 0
      Please verify value of SQL_ID and CHILD_NUMBER; 
      It could also be that the plan is no longer in cursor cache (check v$sql_plan)
 

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532101ALL_ROWS3750204916.031852.00113818.1
24242870266532101ALL_ROWS3522870812.025459.0009818.2

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
607835536.3220.01100.0000.00000.0SOE.CUST_EMAIL_IX
607865525.0020.00900.0000.00000.0SOE.CUST_UPPER_NAME_IX
607822933.9590.01400.0000.00000.0SOE.CUST_LNAME_IX
60736100.0900.00900.0000.00000.0SOE.CUSTOMERS

Captured Bind Variables

Note: trace file contains 558 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER1084194
1(N)VARCHAR2"Carol"
2(N)VARCHAR2"von Sydow"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Carol"
8(N)VARCHAR2"von Sydow"
9NUMBER145
10NUMBER171
Bind Section 2:
PositionTypeValue
0NUMBER1084201
1(N)VARCHAR2"Alexander"
2(N)VARCHAR2"Wilder"
3(N)VARCHAR2"i"
4(N)VARCHAR2"ITALY"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Alexander"
8(N)VARCHAR2"Wilder"
9NUMBER145
10NUMBER171
Bind Section 3:
PositionTypeValue
0NUMBER1084206
1(N)VARCHAR2"Klaus"
2(N)VARCHAR2"Wilder"
3(N)VARCHAR2"us"
4(N)VARCHAR2"AMERICA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Klaus"
8(N)VARCHAR2"Wilder"
9NUMBER145
10NUMBER171
Bind Section 4:
PositionTypeValue
0NUMBER1084207
1(N)VARCHAR2"Dominic"
2(N)VARCHAR2"Pacino"
3(N)VARCHAR2"th"
4(N)VARCHAR2"THAILAND"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Dominic"
8(N)VARCHAR2"Pacino"
9NUMBER145
10NUMBER171
Bind Section 5:
PositionTypeValue
0NUMBER1084210
1(N)VARCHAR2"Harry dean"
2(N)VARCHAR2"Quinlan"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Harry dean"
8(N)VARCHAR2"Quinlan"
9NUMBER145
10NUMBER171
Bind Section 6:
PositionTypeValue
0NUMBER1084211
1(N)VARCHAR2"Eddie"
2(N)VARCHAR2"Fonda"
3(N)VARCHAR2"ja"
4(N)VARCHAR2"JAPAN"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Eddie"
8(N)VARCHAR2"Fonda"
9NUMBER145
10NUMBER171
Bind Section 7:
PositionTypeValue
0NUMBER1084221
1(N)VARCHAR2"Kristin"
2(N)VARCHAR2"Mahoney"
3(N)VARCHAR2"zhs"
4(N)VARCHAR2"CHINA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Kristin"
8(N)VARCHAR2"Mahoney"
9NUMBER145
10NUMBER171
Bind Section 8:
PositionTypeValue
0NUMBER1084224
1(N)VARCHAR2"Orson"
2(N)VARCHAR2"Prashant"
3(N)VARCHAR2"us"
4(N)VARCHAR2"AMERICA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Orson"
8(N)VARCHAR2"Prashant"
9NUMBER145
10NUMBER171
Bind Section 9:
PositionTypeValue
0NUMBER1084225
1(N)VARCHAR2"Ridley"
2(N)VARCHAR2"Buckley"
3(N)VARCHAR2"d"
4(N)VARCHAR2"SWITZERLAND"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Ridley"
8(N)VARCHAR2"Buckley"
9NUMBER145
10NUMBER171
Bind Section 10:
PositionTypeValue
0NUMBER1084227
1(N)VARCHAR2"Cyndi"
2(N)VARCHAR2"McQueen"
3(N)VARCHAR2"us"
4(N)VARCHAR2"AMERICA"
5NUMBER100
6NUMBER5000
7(N)VARCHAR2"Cyndi"
8(N)VARCHAR2"McQueen"
9NUMBER145
10NUMBER171

Rank 9: Statement with Hash Value 2236920324

Response Time: 15.579 s (3.06 % of delta tim)
Recursive Elapsed Time: 0.003 s
SQL ID: 0yas01u2p9ch4
Force Matching Signature: 0
MD5 Hash Value: A249221FFF1E35A1E35F609C91908
Command Type: 2 (INSERT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 593
Total Wait Time: 5.994 s
Intra Database Call Wait Time: 5.994 s
Line Number: 214

Statement Text

INSERT INTO ORDER_ITEMS(ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY) VALUES (:B4 , :B3 , :B2 , :B1 , 1)

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown8.05432151.718.054321
db file sequential read5.99367438.55930.010107
CPU1.5312509.820880.000733
Total15.579245100.026820.005809

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC208815.5790.0074611.5310.0007335941652573920880
FETCH00.0000.0000000.0000.00000000000
Total208815.5790.0074611.5310.0007335941652573920880
Avg. per EXEC1.0000.007461n/a0.000733n/a0.2840.07912.3271.0000.000
Avg. per Row1.0000.007461n/a0.000733n/a0.2840.07912.3271.0000.000

Recursive Descendants

The statement has 3 recursive descendants that have contributed an elapsed time of 0.003 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
23797172790.0020 (SYS)update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,max
38404667600.0010 (SYS)update tsq$ set blocks=:3,maxblocks=:4,grantor#=:5,priv1=:6,
15702137240.0000 (SYS)select file# from file$ where ts#=:1

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0269877242800352287081215-Nov-09 19:47:59
1269877242800375020491615-Nov-09 20:01:16

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
013.33936.74300023.2360017878021
1.5523.1540002.3400464021

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  0yas01u2p9ch4, child number 0
                                     
INSERT INTO ORDER_ITEMS(ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY) 
VALUES (:B4 , :B3 , :B2 , :B1 , 1)
 
NOTE: cannot fetch plan for SQL_ID: 0yas01u2p9ch4, CHILD_NUMBER: 0
      Please verify value of SQL_ID and CHILD_NUMBER; 
      It could also be that the plan is no longer in cursor cache (check v$sql_plan)
 

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532101ALL_ROWS3750204916.00613.00093612.4
24242870266532101ALL_ROWS3522870812.001416.000312.3

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
607755365.2750.01000.0000.00000.0SOE.ITEM_ORDER_IX
60776270.3290.01200.0000.00000.0SOE.ITEM_PRODUCT_IX
60767170.2180.01300.0000.00000.0SOE.ORDER_ITEMS_UK
6073870.0870.01200.0000.00000.0SOE.ORDER_ITEMS
6076660.0840.01400.0000.00000.0SOE.ORDER_ITEMS_PK

Captured Bind Variables

Note: trace file contains 2087 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER45092
1NUMBER2
2NUMBER194
3NUMBER345
Bind Section 2:
PositionTypeValue
0NUMBER45094
1NUMBER1
2NUMBER189
3NUMBER3
Bind Section 3:
PositionTypeValue
0NUMBER45094
1NUMBER2
2NUMBER199
3NUMBER18
Bind Section 4:
PositionTypeValue
0NUMBER45094
1NUMBER3
2NUMBER209
3NUMBER65
Bind Section 5:
PositionTypeValue
0NUMBER45094
1NUMBER4
2NUMBER219
3NUMBER60
Bind Section 6:
PositionTypeValue
0NUMBER45095
1NUMBER1
2NUMBER189
3NUMBER3
Bind Section 7:
PositionTypeValue
0NUMBER45095
1NUMBER2
2NUMBER199
3NUMBER18
Bind Section 8:
PositionTypeValue
0NUMBER45096
1NUMBER1
2NUMBER186
3NUMBER3
Bind Section 9:
PositionTypeValue
0NUMBER45096
1NUMBER2
2NUMBER196
3NUMBER231
Bind Section 10:
PositionTypeValue
0NUMBER45096
1NUMBER3
2NUMBER206
3NUMBER23

Rank 10: Statement with Hash Value 2637862082

Response Time: 14.922 s (2.93 % of delta tim)
SQL ID: 8z3542ffmp562
Force Matching Signature: 17991828121679737456
MD5 Hash Value: 1038CE2923B248A5A4871B1688AA63EA
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 184

Statement Text

SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTORIES I WHERE I.PRODUCT_ID = :B2 AND I.PRODUCT_ID = P.PRODUCT_ID AND I.WAREHOUSE_ID = :B1 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown13.84432492.8113.844324
CPU1.0781257.241760.000258
Total14.922449100.041770.003573

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC208814.8390.0071070.8440.00040400000
FETCH20880.0830.0000400.2340.00011206266020880
Total417614.9220.0035731.0780.00025806266020880
Avg. per EXEC2.0000.007147n/a0.000516n/a0.0003.0010.0001.0000.000
Avg. per FETCH2.0000.007147n/a0.000516n/a0.0003.0010.0001.0000.000
Avg. per Row2.0000.007147n/a0.000516n/a0.0003.0010.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
102263TABLE ACCESS BY INDEX ROWID INVENTORIES0.0603330.104309226567910000
212263   INDEX UNIQUE SCAN INVENTORY_PK0.0439760.043976452645260000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
02308915322179918281216797374563661684950352287081215-Nov-09 19:47:59
12308915322179918281216797374563661684950375020491615-Nov-09 20:01:16

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
07.40611.414000.0410017878022
1.1531.232000000464022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  8z3542ffmp562, child number 0
-------------------------------------
SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTORIES I WHERE I.PRODUCT_ID 
= :B2 AND I.PRODUCT_ID = P.PRODUCT_ID AND I.WAREHOUSE_ID = :B1
 
Plan hash value: 3661684950
 
---------------------------------------------------------------------------------------------
| Id  | Operation                   | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------
|   1 |  TABLE ACCESS BY INDEX ROWID| INVENTORIES  |      1 |    10 |     2   (0)| 00:00:01 |
|*  2 |   INDEX UNIQUE SCAN         | INVENTORY_PK |      1 |       |     1   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$A43D1678 / I@SEL$1
   2 - SEL$A43D1678 / I@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$A43D1678")
      ELIMINATE_JOIN(@"SEL$1" "P"@"SEL$1")
      OUTLINE(@"SEL$1")
      INDEX_RS_ASC(@"SEL$A43D1678" "I"@"SEL$1" ("INVENTORIES"."PRODUCT_ID" 
              "INVENTORIES"."WAREHOUSE_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - (NUMBER): 191
   2 - (NUMBER): 6
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("I"."PRODUCT_ID"=:B2 AND "I"."WAREHOUSE_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2308915322
SQL ID: 8z3542ffmp562

Execution plan with plan hash value 3661684950 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 2
10 TABLE ACCESS BY INDEX ROWIDSOE.INVENTORIES6074011022
21  INDEX UNIQUE SCANSOE.INVENTORY_PK60771111

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532136616849502ALL_ROWS3750204916.003002.0006163
24232870266532136616849502ALL_ROWS3522870812.001424.0009613

AWR execution plan with plan hash value 3661684950 for SQL ID 8z3542ffmp562


SQL_ID 8z3542ffmp562
--------------------
SELECT QUANTITY_ON_HAND FROM PRODUCT_INFORMATION P, INVENTORIES I WHERE I.PRODUCT_ID 
= :B2 AND I.PRODUCT_ID = P.PRODUCT_ID AND I.WAREHOUSE_ID = :B1
 
Plan hash value: 3661684950
 
---------------------------------------------------------------------------------------------
| Id  | Operation                   | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT            |              |        |       |     2 (100)|          |
|   1 |  TABLE ACCESS BY INDEX ROWID| INVENTORIES  |      1 |    10 |     2   (0)| 00:00:01 |
|   2 |   INDEX UNIQUE SCAN         | INVENTORY_PK |      1 |       |     1   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$A43D1678 / I@SEL$1
   2 - SEL$A43D1678 / I@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$A43D1678")
      ELIMINATE_JOIN(@"SEL$1" "P"@"SEL$1")
      OUTLINE(@"SEL$1")
      INDEX_RS_ASC(@"SEL$A43D1678" "I"@"SEL$1" ("INVENTORIES"."PRODUCT_ID" 
              "INVENTORIES"."WAREHOUSE_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - :B2 (NUMBER): 191
   2 - :B1 (NUMBER): 6
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 2087 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER194
1NUMBER7
Bind Section 2:
PositionTypeValue
0NUMBER189
1NUMBER8
Bind Section 3:
PositionTypeValue
0NUMBER199
1NUMBER5
Bind Section 4:
PositionTypeValue
0NUMBER209
1NUMBER2
Bind Section 5:
PositionTypeValue
0NUMBER219
1NUMBER5
Bind Section 6:
PositionTypeValue
0NUMBER189
1NUMBER7
Bind Section 7:
PositionTypeValue
0NUMBER199
1NUMBER7
Bind Section 8:
PositionTypeValue
0NUMBER186
1NUMBER2
Bind Section 9:
PositionTypeValue
0NUMBER196
1NUMBER3
Bind Section 10:
PositionTypeValue
0NUMBER206
1NUMBER7

Rank 11: Statement with Hash Value 124468195

Response Time: 12.656 s (2.48 % of delta tim)
SQL ID: c749bc43qqfz3
Force Matching Signature: 2672114946588399948
MD5 Hash Value: 656B19F5D4B3F329E09EB72361276532
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'logon'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 76

Statement Text

SELECT SYSDATE FROM DUAL

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown11.92115394.2111.921153
CPU0.7343755.845240.000162
Total12.655528100.045250.002797

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC226212.6030.0055720.6560.00029000000
FETCH22620.0520.0000230.0780.00003500022620
Total452412.6560.0027970.7340.00016200022620
Avg. per EXEC2.0000.005595n/a0.000325n/a0.0000.0000.0001.0000.000
Avg. per FETCH2.0000.005595n/a0.000325n/a0.0000.0000.0001.0000.000
Avg. per Row2.0000.005595n/a0.000325n/a0.0000.0000.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
102476FAST DUAL0.0410300.041030000000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0229341502926721149465883999481388734953352287081215-Nov-09 19:47:59
1229341502926721149465883999481388734953375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
07.09615.24200000020203022
1.06.599000000560022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  c749bc43qqfz3, child number 0
-------------------------------------
SELECT SYSDATE FROM DUAL
 
Plan hash value: 1388734953
 
------------------------------------------------------------
| Id  | Operation  | Name | E-Rows | Cost (%CPU)| E-Time   |
------------------------------------------------------------
|   1 |  FAST DUAL |      |      1 |     2   (0)| 00:00:01 |
------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / DUAL@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2293415029
SQL ID: c749bc43qqfz3

Execution plan with plan hash value 1388734953 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 2
10 FAST DUAL 122

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532113887349532ALL_ROWS3750204916.002358.0004930
24232870266532113887349532ALL_ROWS3522870812.001726.0008260

AWR execution plan with plan hash value 1388734953 for SQL ID c749bc43qqfz3


SQL_ID c749bc43qqfz3
--------------------
SELECT SYSDATE FROM DUAL
 
Plan hash value: 1388734953
 
------------------------------------------------------------------
| Id  | Operation        | Name | E-Rows | Cost (%CPU)| E-Time   |
------------------------------------------------------------------
|   0 | SELECT STATEMENT |      |        |     2 (100)|          |
|   1 |  FAST DUAL       |      |      1 |     2   (0)| 00:00:01 |
------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / DUAL@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Rank 12: Statement with Hash Value 746589640

Response Time: 9.517 s (1.87 % of delta tim)
SQL ID: f0cxkf0q803f8
Force Matching Signature: 11220520521603652454
MD5 Hash Value: 9C4288ACCED4483E7D39E4680446440
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 2 (FIRST_ROWS(_n))
Recursive Call Depth: 1
Module: 'Process Orders'
Action: 'getCustomerDetails'
Waits: 269
Total Wait Time: 3.984 s
Intra Database Call Wait Time: 3.984 s
Line Number: 1090

Statement Text

SELECT /*+  first_rows index(customers, customers_pk) index(orders, order_status_ix) */ O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY, ORDER_MODE, ORDER_STATUS, ORDER_TOTAL, SALES_REP_ID, PROMOTION_ID, C.CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, CREDIT_LIMIT, CUST_EMAIL, ORDER_DATE FROM ORDERS O , ORDER_ITEMS OI, CUSTOMERS C WHERE O.ORDER_ID = OI.ORDER_ID AND O.CUSTOMER_ID = C.CUSTOMER_ID AND O.ORDER_STATUS <= 4

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown4.92293051.714.922930
db file sequential read3.92698741.32640.014875
CPU0.6093756.411920.000511
read by other session0.0574130.630.019138
buffer busy waits0.0000610.020.000030
Total9.516766100.014620.006509

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5965.3870.0090390.5160.00086500000
FETCH5964.1300.0069290.0940.000157264653305960
Total11929.5170.0079840.6090.000511264653305960
Avg. per EXEC2.0000.015968n/a0.001022n/a0.44310.9610.0001.0000.000
Avg. per FETCH2.0000.015968n/a0.001022n/a0.44310.9610.0001.0000.000
Avg. per Row2.0000.015968n/a0.001022n/a0.44310.9610.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10653TABLE ACCESS BY INDEX ROWID ORDER_ITEMS0.1212824.2939097117128727600
211306   NESTED LOOPS0.0231994.17262706417026900
32653      NESTED LOOPS0.0134464.10218205002026600
43653         TABLE ACCESS BY INDEX ROWID ORDERS0.0423590.06282172123902200
54653            INDEX RANGE SCAN ORD_STATUS_IX0.0204620.020462166916690000
63653         TABLE ACCESS BY INDEX ROWID CUSTOMERS2.3257404.025915653261214526400
76653            INDEX UNIQUE SCAN CUSTOMERS_PK1.7001751.7001751959195911911900
82653      INDEX RANGE SCAN ORDER_ITEMS_PK0.0472460.047246141514153300

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
03437483139112205205216036524543151665200272779467115-Nov-09 19:47:59
1343748313911220520521603652454315166520069914282315-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
04.36333.0800027.1070050720224988
1.0521.156000.686001400224988

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  f0cxkf0q803f8, child number 0
-------------------------------------
SELECT /*+  first_rows index(customers, customers_pk) index(orders, order_status_ix) */ 
O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY, ORDER_MODE, ORDER_STATUS, 
ORDER_TOTAL, SALES_REP_ID, PROMOTION_ID, C.CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, 
CREDIT_LIMIT, CUST_EMAIL, ORDER_DATE FROM ORDERS O , ORDER_ITEMS OI, CUSTOMERS C WHERE 
O.ORDER_ID = OI.ORDER_ID AND O.CUSTOMER_ID = C.CUSTOMER_ID AND O.ORDER_STATUS <= 4
 
Plan hash value: 3151665200
 
--------------------------------------------------------------------------------------------------
| Id  | Operation                      | Name           | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------------------------
|   1 |  TABLE ACCESS BY INDEX ROWID   | ORDER_ITEMS    |      4 |    68 |     2   (0)| 00:00:01 |
|   2 |   NESTED LOOPS                 |                |  23905 |  2264K| 24988   (1)| 00:05:00 |
|   3 |    NESTED LOOPS                |                |   6302 |   492K| 12816   (1)| 00:02:34 |
|   4 |     TABLE ACCESS BY INDEX ROWID| ORDERS         |   6302 |   178K|   206   (0)| 00:00:03 |
|*  5 |      INDEX RANGE SCAN          | ORD_STATUS_IX  |   6302 |       |    19   (0)| 00:00:01 |
|   6 |     TABLE ACCESS BY INDEX ROWID| CUSTOMERS      |      1 |    51 |     2   (0)| 00:00:01 |
|*  7 |      INDEX UNIQUE SCAN         | CUSTOMERS_PK   |      1 |       |     1   (0)| 00:00:01 |
|*  8 |    INDEX RANGE SCAN            | ORDER_ITEMS_PK |      4 |       |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / OI@SEL$1
   4 - SEL$1 / O@SEL$1
   5 - SEL$1 / O@SEL$1
   6 - SEL$1 / C@SEL$1
   7 - SEL$1 / C@SEL$1
   8 - SEL$1 / OI@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      FIRST_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "O"@"SEL$1" ("ORDERS"."ORDER_STATUS"))
      INDEX_RS_ASC(@"SEL$1" "C"@"SEL$1" ("CUSTOMERS"."CUSTOMER_ID"))
      INDEX(@"SEL$1" "OI"@"SEL$1" ("ORDER_ITEMS"."ORDER_ID" "ORDER_ITEMS"."LINE_ITEM_ID"))
      LEADING(@"SEL$1" "O"@"SEL$1" "C"@"SEL$1" "OI"@"SEL$1")
      USE_NL(@"SEL$1" "C"@"SEL$1")
      USE_NL(@"SEL$1" "OI"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   5 - access("O"."ORDER_STATUS"<=4)
   7 - access("O"."CUSTOMER_ID"="C"."CUSTOMER_ID")
   8 - access("O"."ORDER_ID"="OI"."ORDER_ID")
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3437483139
SQL ID: f0cxkf0q803f8

Execution plan with plan hash value 3151665200 (last active 15-Nov-09 20:09:28)
Optimization: FIRST_ROWS
Cost: 24988
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 24988
10 TABLE ACCESS BY INDEX ROWIDSOE.ORDER_ITEMS6073846822
21  NESTED LOOPS 2390523187852498824975
32   NESTED LOOPS 63025041601281612810
43    TABLE ACCESS BY INDEX ROWIDSOE.ORDERS607396302182758206206
54     INDEX RANGE SCANSOE.ORD_STATUS_IX6078063021919
63    TABLE ACCESS BY INDEX ROWIDSOE.CUSTOMERS6073615122
76     INDEX UNIQUE SCANSOE.CUSTOMERS_PK60764111
82   INDEX RANGE SCANSOE.ORDER_ITEMS_PK60766411

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
242428702665321315166520024988FIRST_ROWS2727794671.005684.00029310.3
242728702665321315166520024988FIRST_ROWS699142823.012233.00097611

AWR execution plan with plan hash value 3151665200 for SQL ID f0cxkf0q803f8


SQL_ID f0cxkf0q803f8
--------------------
SELECT /*+  first_rows index(customers, customers_pk) index(orders, order_status_ix) */ 
O.ORDER_ID, LINE_ITEM_ID, PRODUCT_ID, UNIT_PRICE, QUANTITY, ORDER_MODE, ORDER_STATUS, 
ORDER_TOTAL, SALES_REP_ID, PROMOTION_ID, C.CUSTOMER_ID, CUST_FIRST_NAME, CUST_LAST_NAME, 
CREDIT_LIMIT, CUST_EMAIL, ORDER_DATE FROM ORDERS O , ORDER_ITEMS OI, CUSTOMERS C WHERE 
O.ORDER_ID = OI.ORDER_ID AND O.CUSTOMER_ID = C.CUSTOMER_ID AND O.ORDER_STATUS <= 4
 
Plan hash value: 3151665200
 
--------------------------------------------------------------------------------------------------
| Id  | Operation                      | Name           | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT               |                |        |       | 24988 (100)|          |
|   1 |  TABLE ACCESS BY INDEX ROWID   | ORDER_ITEMS    |      4 |    68 |     2   (0)| 00:00:01 |
|   2 |   NESTED LOOPS                 |                |  23905 |  2264K| 24988   (1)| 00:05:00 |
|   3 |    NESTED LOOPS                |                |   6302 |   492K| 12816   (1)| 00:02:34 |
|   4 |     TABLE ACCESS BY INDEX ROWID| ORDERS         |   6302 |   178K|   206   (0)| 00:00:03 |
|   5 |      INDEX RANGE SCAN          | ORD_STATUS_IX  |   6302 |       |    19   (0)| 00:00:01 |
|   6 |     TABLE ACCESS BY INDEX ROWID| CUSTOMERS      |      1 |    51 |     2   (0)| 00:00:01 |
|   7 |      INDEX UNIQUE SCAN         | CUSTOMERS_PK   |      1 |       |     1   (0)| 00:00:01 |
|   8 |    INDEX RANGE SCAN            | ORDER_ITEMS_PK |      4 |       |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / OI@SEL$1
   4 - SEL$1 / O@SEL$1
   5 - SEL$1 / O@SEL$1
   6 - SEL$1 / C@SEL$1
   7 - SEL$1 / C@SEL$1
   8 - SEL$1 / OI@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      FIRST_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "O"@"SEL$1" ("ORDERS"."ORDER_STATUS"))
      INDEX_RS_ASC(@"SEL$1" "C"@"SEL$1" ("CUSTOMERS"."CUSTOMER_ID"))
      INDEX(@"SEL$1" "OI"@"SEL$1" ("ORDER_ITEMS"."ORDER_ID" "ORDER_ITEMS"."LINE_ITEM_ID"))
      LEADING(@"SEL$1" "O"@"SEL$1" "C"@"SEL$1" "OI"@"SEL$1")
      USE_NL(@"SEL$1" "C"@"SEL$1")
      USE_NL(@"SEL$1" "OI"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
607361382.1820.01600.0000.00000.0SOE.CUSTOMERS
607641151.6080.01400.0000.00000.0SOE.CUSTOMERS_PK
6073860.0810.01400.0000.00000.0SOE.ORDER_ITEMS
6076630.0290.01000.0000.00000.0SOE.ORDER_ITEMS_PK
6073920.0270.01300.0000.00000.0SOE.ORDERS

Rank 13: Statement with Hash Value 622695190

Response Time: 8.152 s (1.60 % of delta tim)
SQL ID: 21wygrskjv4sq
Force Matching Signature: 18279731078113474405
MD5 Hash Value: E18E55DBAD4D82036D558F8B4F2CD4D
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'Browse Products'
Action: 'getProductDetails'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 3836

Statement Text

SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE PRODUCTS.PRODUCT_ID = :B1 AND INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown5.85483971.815.854839
CPU2.29687528.231840.000721
Total8.151714100.031850.002559

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC15926.7410.0042340.8440.00053000000
FETCH15921.4110.0008861.4530.0009130398800318400
Total31848.1520.0025602.2970.0007210398800318400
Avg. per EXEC2.0000.005120n/a0.001443n/a0.00025.0500.00020.0000.000
Avg. per FETCH2.0000.005120n/a0.001443n/a0.00025.0500.00020.0000.000
Avg. per Row0.1000.000256n/a0.000072n/a0.0001.2530.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
1035060NESTED LOOPS0.3037571.1465870439100000
211753   NESTED LOOPS OUTER0.0507340.202796052590000
321753      TABLE ACCESS BY INDEX ROWID PRODUCT_INFORMATION0.0522750.091084175335060000
431753         INDEX UNIQUE SCAN PRODUCT_INFORMATION_PK0.0388090.038809175317530000
520      TABLE ACCESS BY INDEX ROWID PRODUCT_DESCRIPTIONS0.0268560.060978017530000
650         INDEX UNIQUE SCAN PRD_DESC_PK0.0341220.034122175317530000
7135060   TABLE ACCESS BY INDEX ROWID INVENTORIES0.4100400.64003435062386510000
8735060      INDEX RANGE SCAN INV_PRODUCT_IX0.2299940.229994358935890000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
03352865145182797310781134744052108772796352287081215-Nov-09 19:47:59
13352865145182797310781134744052108772796375020491615-Nov-09 20:01:18

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
010.86716.1860001.21700152980224
1.4051.4170000004410224

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  21wygrskjv4sq, child number 0
-------------------------------------
SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, 
WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, 
QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE PRODUCTS.PRODUCT_ID = :B1 AND 
INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID
 
Plan hash value: 2108772796
 
---------------------------------------------------------------------------------------------------------
| Id  | Operation                     | Name                   | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------------------
|   1 |  NESTED LOOPS                 |                        |     20 | 10160 |    24   (0)| 00:00:01 |
|   2 |   NESTED LOOPS OUTER          |                        |      1 |   500 |     2   (0)| 00:00:01 |
|   3 |    TABLE ACCESS BY INDEX ROWID| PRODUCT_INFORMATION    |      1 |   219 |     1   (0)| 00:00:01 |
|*  4 |     INDEX UNIQUE SCAN         | PRODUCT_INFORMATION_PK |      1 |       |     0   (0)|          |
|   5 |    TABLE ACCESS BY INDEX ROWID| PRODUCT_DESCRIPTIONS   |      1 |   281 |     1   (0)| 00:00:01 |
|*  6 |     INDEX UNIQUE SCAN         | PRD_DESC_PK            |      1 |       |     0   (0)|          |
|   7 |   TABLE ACCESS BY INDEX ROWID | INVENTORIES            |     20 |   160 |    22   (0)| 00:00:01 |
|*  8 |    INDEX RANGE SCAN           | INV_PRODUCT_IX         |     20 |       |     1   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$F5BB74E1
   3 - SEL$F5BB74E1 / I@SEL$2
   4 - SEL$F5BB74E1 / I@SEL$2
   5 - SEL$F5BB74E1 / D@SEL$2
   6 - SEL$F5BB74E1 / D@SEL$2
   7 - SEL$F5BB74E1 / INVENTORIES@SEL$1
   8 - SEL$F5BB74E1 / INVENTORIES@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$F5BB74E1")
      MERGE(@"SEL$2")
      OUTLINE(@"SEL$1")
      OUTLINE(@"SEL$2")
      INDEX_RS_ASC(@"SEL$F5BB74E1" "I"@"SEL$2" ("PRODUCT_INFORMATION"."PRODUCT_ID"))
      INDEX_RS_ASC(@"SEL$F5BB74E1" "D"@"SEL$2" ("PRODUCT_DESCRIPTIONS"."PRODUCT_ID" 
              "PRODUCT_DESCRIPTIONS"."LANGUAGE_ID"))
      INDEX_RS_ASC(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1" ("INVENTORIES"."PRODUCT_ID"))
      LEADING(@"SEL$F5BB74E1" "I"@"SEL$2" "D"@"SEL$2" "INVENTORIES"@"SEL$1")
      USE_NL(@"SEL$F5BB74E1" "D"@"SEL$2")
      USE_NL(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - (NUMBER): 92
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   4 - access("I"."PRODUCT_ID"=:B1)
   6 - access("D"."PRODUCT_ID"=:B1 AND "D"."LANGUAGE_ID"=SYS_CONTEXT('USERENV','LANG'))
   8 - access("INVENTORIES"."PRODUCT_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3352865145
SQL ID: 21wygrskjv4sq

Execution plan with plan hash value 2108772796 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 24
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 24
10 NESTED LOOPS 20101602424
21  NESTED LOOPS OUTER150022
32   TABLE ACCESS BY INDEX ROWIDSOE.PRODUCT_INFORMATION60741121911
43    INDEX UNIQUE SCANSOE.PRODUCT_INFORMATION_PK60769100
52   TABLE ACCESS BY INDEX ROWIDSOE.PRODUCT_DESCRIPTIONS60743128111
65    INDEX UNIQUE SCANSOE.PRD_DESC_PK60770100
71  TABLE ACCESS BY INDEX ROWIDSOE.INVENTORIES60740201602222
87   INDEX RANGE SCANSOE.INV_PRODUCT_IX607732011

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
242728702665321210877279624ALL_ROWS3750204916.002412.00130625
242428702665321210877279624ALL_ROWS3522870812.000348.00034825

AWR execution plan with plan hash value 2108772796 for SQL ID 21wygrskjv4sq


SQL_ID 21wygrskjv4sq
--------------------
SELECT PRODUCTS.PRODUCT_ID, PRODUCT_NAME, PRODUCT_DESCRIPTION, CATEGORY_ID, WEIGHT_CLASS, 
WARRANTY_PERIOD, SUPPLIER_ID, PRODUCT_STATUS, LIST_PRICE, MIN_PRICE, CATALOG_URL, 
QUANTITY_ON_HAND FROM PRODUCTS, INVENTORIES WHERE PRODUCTS.PRODUCT_ID = :B1 AND 
INVENTORIES.PRODUCT_ID = PRODUCTS.PRODUCT_ID
 
Plan hash value: 2108772796
 
---------------------------------------------------------------------------------------------------------
| Id  | Operation                     | Name                   | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
---------------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT              |                        |        |       |    24 (100)|          |
|   1 |  NESTED LOOPS                 |                        |     20 | 10160 |    24   (0)| 00:00:01 |
|   2 |   NESTED LOOPS OUTER          |                        |      1 |   500 |     2   (0)| 00:00:01 |
|   3 |    TABLE ACCESS BY INDEX ROWID| PRODUCT_INFORMATION    |      1 |   219 |     1   (0)| 00:00:01 |
|   4 |     INDEX UNIQUE SCAN         | PRODUCT_INFORMATION_PK |      1 |       |     0   (0)|          |
|   5 |    TABLE ACCESS BY INDEX ROWID| PRODUCT_DESCRIPTIONS   |      1 |   281 |     1   (0)| 00:00:01 |
|   6 |     INDEX UNIQUE SCAN         | PRD_DESC_PK            |      1 |       |     0   (0)|          |
|   7 |   TABLE ACCESS BY INDEX ROWID | INVENTORIES            |     20 |   160 |    22   (0)| 00:00:01 |
|   8 |    INDEX RANGE SCAN           | INV_PRODUCT_IX         |     20 |       |     1   (0)| 00:00:01 |
---------------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$F5BB74E1
   3 - SEL$F5BB74E1 / I@SEL$2
   4 - SEL$F5BB74E1 / I@SEL$2
   5 - SEL$F5BB74E1 / D@SEL$2
   6 - SEL$F5BB74E1 / D@SEL$2
   7 - SEL$F5BB74E1 / INVENTORIES@SEL$1
   8 - SEL$F5BB74E1 / INVENTORIES@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$F5BB74E1")
      MERGE(@"SEL$2")
      OUTLINE(@"SEL$1")
      OUTLINE(@"SEL$2")
      INDEX_RS_ASC(@"SEL$F5BB74E1" "I"@"SEL$2" ("PRODUCT_INFORMATION"."PRODUCT_ID"))
      INDEX_RS_ASC(@"SEL$F5BB74E1" "D"@"SEL$2" ("PRODUCT_DESCRIPTIONS"."PRODUCT_ID" 
              "PRODUCT_DESCRIPTIONS"."LANGUAGE_ID"))
      INDEX_RS_ASC(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1" ("INVENTORIES"."PRODUCT_ID"))
      LEADING(@"SEL$F5BB74E1" "I"@"SEL$2" "D"@"SEL$2" "INVENTORIES"@"SEL$1")
      USE_NL(@"SEL$F5BB74E1" "D"@"SEL$2")
      USE_NL(@"SEL$F5BB74E1" "INVENTORIES"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - :B1 (NUMBER): 92
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 1591 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER53
Bind Section 2:
PositionTypeValue
0NUMBER29
Bind Section 3:
PositionTypeValue
0NUMBER220
Bind Section 4:
PositionTypeValue
0NUMBER6
Bind Section 5:
PositionTypeValue
0NUMBER56
Bind Section 6:
PositionTypeValue
0NUMBER150
Bind Section 7:
PositionTypeValue
0NUMBER49
Bind Section 8:
PositionTypeValue
0NUMBER38
Bind Section 9:
PositionTypeValue
0NUMBER128
Bind Section 10:
PositionTypeValue
0NUMBER196

Rank 14: Statement with Hash Value 2482701865

Response Time: 5.194 s (1.02 % of delta tim)
SQL ID: 4z3ktqk9zq1j9
Force Matching Signature: 9734920470490269382
MD5 Hash Value: 21C0676FB5AE43822590BFE913819C3A
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Customer'
Action: 'getOrdersByCustomer'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 811

Statement Text

SELECT CUSTOMER_SEQ.NEXTVAL FROM DUAL

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown4.94358695.214.943586
CPU0.2500004.811180.000224
Total5.193586100.011190.004641

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5595.1660.0092420.2500.00044700000
FETCH5590.0270.0000490.0000.0000000005590
Total11185.1940.0046450.2500.0002240005590
Avg. per EXEC2.0000.009291n/a0.000447n/a0.0000.0000.0001.0000.000
Avg. per FETCH2.0000.009291n/a0.000447n/a0.0000.0000.0001.0000.000
Avg. per Row2.0000.009291n/a0.000447n/a0.0000.0000.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10608SEQUENCE CUSTOMER_SEQ0.0218330.031601000000
21608   FAST DUAL0.0097680.009768000000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0269011268197349204704902693821544532951352287081215-Nov-09 19:47:59
1269011268197349204704902693821544532951375020491615-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
03.2375.082000.097005030022
1.04.099000000133022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  4z3ktqk9zq1j9, child number 0
-------------------------------------
SELECT CUSTOMER_SEQ.NEXTVAL FROM DUAL
 
Plan hash value: 1544532951
 
---------------------------------------------------------------------
| Id  | Operation   | Name         | E-Rows | Cost (%CPU)| E-Time   |
---------------------------------------------------------------------
|   1 |  SEQUENCE   | CUSTOMER_SEQ |        |            |          |
|   2 |   FAST DUAL |              |      1 |     2   (0)| 00:00:01 |
---------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1
   2 - SEL$1 / DUAL@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2690112681
SQL ID: 4z3ktqk9zq1j9

Execution plan with plan hash value 1544532951 (last active 15-Nov-09 20:09:27)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 2
10 SEQUENCE SOE.CUSTOMER_SEQ60745
21  FAST DUAL 122

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532115445329512ALL_ROWS3750204916.003848.0007190
24232870266532115445329512ALL_ROWS3522870812.00225.0014870

AWR execution plan with plan hash value 1544532951 for SQL ID 4z3ktqk9zq1j9


SQL_ID 4z3ktqk9zq1j9
--------------------
SELECT CUSTOMER_SEQ.NEXTVAL FROM DUAL
 
Plan hash value: 1544532951
 
--------------------------------------------------------------------------
| Id  | Operation        | Name         | E-Rows | Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------
|   0 | SELECT STATEMENT |              |        |     2 (100)|          |
|   1 |  SEQUENCE        | CUSTOMER_SEQ |        |            |          |
|   2 |   FAST DUAL      |              |      1 |     2   (0)| 00:00:01 |
--------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1
   2 - SEL$1 / DUAL@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Rank 15: Statement with Hash Value 3524147527

Response Time: 4.235 s (0.83 % of delta tim)
Recursive Elapsed Time: 0.075 s
SQL ID: gvgdv2v90wfa7
Force Matching Signature: 0
MD5 Hash Value: 2D4615A2CDDE6CC2710572FF58021
Command Type: 2 (INSERT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductDetailsByCategory'
Waits: 182
Total Wait Time: 2.494 s
Intra Database Call Wait Time: 2.494 s
Line Number: 166

Statement Text

INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES (ORDERS_SEQ.NEXTVAL , SYSTIMESTAMP , :B1 ) RETURNING ORDER_ID INTO :O0 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read2.48317758.61810.013719
unknown1.45988034.511.459880
CPU0.2812506.65970.000471
buffer busy waits0.0107260.310.010726
Total4.235033100.07800.005430

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5974.2350.0070940.2810.0004711873271425970
FETCH00.0000.0000000.0000.00000000000
Total5974.2350.0070940.2810.0004711873271425970
Avg. per EXEC1.0000.007094n/a0.000471n/a0.3130.05411.9631.0000.000
Avg. per Row1.0000.007094n/a0.000471n/a0.3130.05411.9631.0000.000

Recursive Descendants

The statement has 1 recursive descendants that have contributed an elapsed time of 0.075 s. For each recursive statement, an excerpt of at most 60 characters from the statement text is shown.

Hash ValueElapsed Time (s)Parsing IDStatement Text (Excerpt)
26354894690.0750 (SYS)update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10647SEQUENCE ORDERS_SEQ0.0925250.092525224400

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
020820975920494735477352287081215-Nov-09 19:47:59
120820975920494735477375020491615-Nov-09 20:01:16

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
04.27418.99300013.761005098021
1.1063.7260003.52500140021

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  gvgdv2v90wfa7, child number 0
-------------------------------------
INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES 
(ORDERS_SEQ.NEXTVAL , SYSTIMESTAMP , :B1 ) RETURNING ORDER_ID INTO :O0
 
Plan hash value: 494735477
 
--------------------------------
| Id  | Operation | Name       |
--------------------------------
|   1 |  SEQUENCE | ORDERS_SEQ |
--------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - INS$1
 
Note
-----
   - rule based optimizer used (consider using cbo)
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2082097592
SQL ID: gvgdv2v90wfa7

Execution plan with plan hash value 494735477 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 1
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0INSERT STATEMENT 1
10 SEQUENCE SOE.ORDERS_SEQ60744

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
2427287026653214947354771ALL_ROWS3750204916.005623.00070812
2424287026653214947354771ALL_ROWS3522870812.003395.00045112.1

AWR execution plan with plan hash value 494735477 for SQL ID gvgdv2v90wfa7


SQL_ID gvgdv2v90wfa7
--------------------
INSERT INTO ORDERS(ORDER_ID, ORDER_DATE, CUSTOMER_ID) VALUES 
(ORDERS_SEQ.NEXTVAL , SYSTIMESTAMP , :B1 ) RETURNING ORDER_ID INTO :O0
 
Plan hash value: 494735477
 
-----------------------------------------------
| Id  | Operation        | Name       | Cost  |
-----------------------------------------------
|   0 | INSERT STATEMENT |            |     1 |
|   1 |  SEQUENCE        | ORDERS_SEQ |       |
-----------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - INS$1
 
Note
-----
   - cpu costing is off (consider enabling it)
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
607791492.0480.01400.0000.00000.0SOE.ORD_ORDER_DATE_IX
60778230.2990.01300.0000.00000.0SOE.ORD_CUSTOMER_IX
6076430.0570.01900.0000.00000.0SOE.CUSTOMERS_PK
6073940.0520.01300.0000.00000.0SOE.ORDERS
020.0270.01400.0000.00000.0

Buffer Busy Waits with Wait Time >= 1 ms

File & BlockCountWait Time (s)
9.1926410.011

Captured Bind Variables

Note: trace file contains 596 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER146609
1NUMBER
Bind Section 2:
PositionTypeValue
0NUMBER398168
1NUMBER
Bind Section 3:
PositionTypeValue
0NUMBER912983
1NUMBER
Bind Section 4:
PositionTypeValue
0NUMBER299795
1NUMBER
Bind Section 5:
PositionTypeValue
0NUMBER988201
1NUMBER
Bind Section 6:
PositionTypeValue
0NUMBER174073
1NUMBER
Bind Section 7:
PositionTypeValue
0NUMBER114327
1NUMBER
Bind Section 8:
PositionTypeValue
0NUMBER669288
1NUMBER
Bind Section 9:
PositionTypeValue
0NUMBER177360
1NUMBER
Bind Section 10:
PositionTypeValue
0NUMBER167351
1NUMBER

Rank 16: Statement with Hash Value 820158466

Response Time: 3.300 s (0.65 % of delta tim)
SQL ID: 05s4vdwsf5802
Force Matching Signature: 17860808987328922672
MD5 Hash Value: A2F07C5562DA690C3A0BB7F8C258D3
Command Type: 3 (SELECT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'Browse and Update Orders'
Action: 'getOrdersByCustomer'
Waits: 46
Total Wait Time: 0.726 s
Intra Database Call Wait Time: 0.726 s
Line Number: 754

Statement Text

SELECT ORDER_ID, ORDER_MODE, CUSTOMER_ID, ORDER_STATUS, ORDER_TOTAL, SALES_REP_ID, PROMOTION_ID FROM ORDERS WHERE CUSTOMER_ID = :B1 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown2.37114571.812.371145
db file sequential read0.72620322.0460.015787
CPU0.2031256.211240.000181
Total3.300473100.011710.002819

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5622.5510.0045400.1410.00025000000
FETCH5620.7490.0013330.0630.0001114611480200
Total11243.3000.0029360.2030.0001814611480200
Avg. per EXEC2.0000.005873n/a0.000361n/a0.0822.0430.0000.0360.000
Avg. per FETCH2.0000.005873n/a0.000361n/a0.0822.0430.0000.0360.000
Avg. per Row56.2000.165024n/a0.010156n/a2.30057.4000.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
1023TABLE ACCESS BY INDEX ROWID ORDERS0.3592901.290014231271238000
2123   INDEX RANGE SCAN ORD_CUSTOMER_IX0.9307240.93072412481248575700

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0287228808178608089873289226723237218561352287081215-Nov-09 19:47:59
1287228808178608089873289226723237218561375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
03.3849.2690004.276005021023
1.0951.2720001.06500138023

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  05s4vdwsf5802, child number 0
-------------------------------------
SELECT ORDER_ID, ORDER_MODE, CUSTOMER_ID, ORDER_STATUS, ORDER_TOTAL, SALES_REP_ID, 
PROMOTION_ID FROM ORDERS WHERE CUSTOMER_ID = :B1
 
Plan hash value: 3237218561
 
------------------------------------------------------------------------------------------------
| Id  | Operation                   | Name            | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
------------------------------------------------------------------------------------------------
|   1 |  TABLE ACCESS BY INDEX ROWID| ORDERS          |      1 |    29 |     3   (0)| 00:00:01 |
|*  2 |   INDEX RANGE SCAN          | ORD_CUSTOMER_IX |      1 |       |     1   (0)| 00:00:01 |
------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / ORDERS@SEL$1
   2 - SEL$1 / ORDERS@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "ORDERS"@"SEL$1" ("ORDERS"."CUSTOMER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - (NUMBER): 852767
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("CUSTOMER_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 287228808
SQL ID: 05s4vdwsf5802

Execution plan with plan hash value 3237218561 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 3
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 3
10 TABLE ACCESS BY INDEX ROWIDSOE.ORDERS6073912933
21  INDEX RANGE SCANSOE.ORD_CUSTOMER_IX60778111

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532132372185613ALL_ROWS3750204916.003373.0006062
24242870266532132372185613ALL_ROWS3522870812.000974.0003022

AWR execution plan with plan hash value 3237218561 for SQL ID 05s4vdwsf5802


SQL_ID 05s4vdwsf5802
--------------------
SELECT ORDER_ID, ORDER_MODE, CUSTOMER_ID, ORDER_STATUS, ORDER_TOTAL, SALES_REP_ID, 
PROMOTION_ID FROM ORDERS WHERE CUSTOMER_ID = :B1
 
Plan hash value: 3237218561
 
------------------------------------------------------------------------------------------------
| Id  | Operation                   | Name            | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
------------------------------------------------------------------------------------------------
|   0 | SELECT STATEMENT            |                 |        |       |     3 (100)|          |
|   1 |  TABLE ACCESS BY INDEX ROWID| ORDERS          |      1 |    29 |     3   (0)| 00:00:01 |
|   2 |   INDEX RANGE SCAN          | ORD_CUSTOMER_IX |      1 |       |     1   (0)| 00:00:01 |
------------------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / ORDERS@SEL$1
   2 - SEL$1 / ORDERS@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"SEL$1")
      INDEX_RS_ASC(@"SEL$1" "ORDERS"@"SEL$1" ("ORDERS"."CUSTOMER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   1 - :B1 (NUMBER): 852767
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
60778260.4240.01600.0000.00000.0SOE.ORD_CUSTOMER_IX
60739200.3020.01500.0000.00000.0SOE.ORDERS

Captured Bind Variables

Note: trace file contains 561 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER319705
Bind Section 2:
PositionTypeValue
0NUMBER65945
Bind Section 3:
PositionTypeValue
0NUMBER976867
Bind Section 4:
PositionTypeValue
0NUMBER207370
Bind Section 5:
PositionTypeValue
0NUMBER705210
Bind Section 6:
PositionTypeValue
0NUMBER871184
Bind Section 7:
PositionTypeValue
0NUMBER419672
Bind Section 8:
PositionTypeValue
0NUMBER294145
Bind Section 9:
PositionTypeValue
0NUMBER560920
Bind Section 10:
PositionTypeValue
0NUMBER153181

Rank 17: Statement with Hash Value 4196474773

Response Time: 1.004 s (0.20 % of delta tim)
SQL ID: 5raw2bzx227wp
Force Matching Signature: 0
MD5 Hash Value: EF4C89DC011FEC5EFA4F29ABB1C4AA
Command Type: 2 (INSERT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'logon'
Waits: 11
Total Wait Time: 0.256 s
Intra Database Call Wait Time: 0.256 s
Line Number: 94

Statement Text

INSERT INTO LOGON VALUES (:B2 , :B1 )

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.71875071.622620.000318
log file switch completion0.15353415.310.153534
db file sequential read0.10271810.2100.010272
unknown0.0286752.910.028675
Total1.003677100.022740.000441

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC22621.0040.0004440.7190.000318101645822620
FETCH00.0000.0000000.0000.00000000000
Total22621.0040.0004440.7190.000318101645822620
Avg. per EXEC1.0000.000444n/a0.000318n/a0.0040.0002.8551.0000.000
Avg. per Row1.0000.000444n/a0.000318n/a0.0040.0002.8551.0000.000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0180983724400352287081215-Nov-09 19:47:59
1180983724400375020491615-Nov-09 20:01:17

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
04.1834.877000.8620020203021
1.059.074000.01800560021

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  5raw2bzx227wp, child number 0
                                     
INSERT INTO LOGON VALUES (:B2 , :B1 )
 
NOTE: cannot fetch plan for SQL_ID: 5raw2bzx227wp, CHILD_NUMBER: 0
      Please verify value of SQL_ID and CHILD_NUMBER; 
      It could also be that the plan is no longer in cursor cache (check v$sql_plan)
 

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532101ALL_ROWS3750204916.000269.0001952.9
24242870266532101ALL_ROWS3522870812.00014.00013

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6074270.0670.01000.0000.00000.0SOE.LOGON
030.0350.01200.0000.00000.0

Captured Bind Variables

Note: trace file contains 2261 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER146609
1DATE"11/15/2009 20:1:0"
Bind Section 2:
PositionTypeValue
0NUMBER16803
1DATE"11/15/2009 20:1:0"
Bind Section 3:
PositionTypeValue
0NUMBER1084193
1DATE"11/15/2009 20:1:0"
Bind Section 4:
PositionTypeValue
0NUMBER1084194
1DATE"11/15/2009 20:1:1"
Bind Section 5:
PositionTypeValue
0NUMBER398168
1DATE"11/15/2009 20:1:1"
Bind Section 6:
PositionTypeValue
0NUMBER912983
1DATE"11/15/2009 20:1:2"
Bind Section 7:
PositionTypeValue
0NUMBER1084201
1DATE"11/15/2009 20:1:3"
Bind Section 8:
PositionTypeValue
0NUMBER319705
1DATE"11/15/2009 20:1:3"
Bind Section 9:
PositionTypeValue
0NUMBER299795
1DATE"11/15/2009 20:1:3"
Bind Section 10:
PositionTypeValue
0NUMBER988201
1DATE"11/15/2009 20:1:4"

Rank 18: Statement with Hash Value 1344628361

Response Time: 0.798 s (0.16 % of delta tim)
SQL ID: 7r7636982atn9
Force Matching Signature: 8080224161820109919
MD5 Hash Value: 5B3C2D88667C5BF0F214C915A2A8CCE
Command Type: 6 (UPDATE)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 314

Statement Text

UPDATE INVENTORIES SET QUANTITY_ON_HAND = QUANTITY_ON_HAND - :B1 WHERE PRODUCT_ID = :B3 AND WAREHOUSE_ID = :B2 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
unknown0.40780751.110.407807
CPU0.39062548.95970.000654
Total0.798432100.05980.001335

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5970.7980.0013370.3910.00065403282424620880
FETCH00.0000.0000000.0000.00000000000
Total5970.7980.0013370.3910.00065403282424620880
Avg. per EXEC1.0000.001337n/a0.000654n/a0.0005.4977.1123.4970.000
Avg. per Row0.2860.000382n/a0.000187n/a0.0001.5722.0341.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
102263UPDATE INVENTORIES0.0948640.128712035570000
212263   INDEX UNIQUE SCAN INVENTORY_PK0.0338480.033848355735570000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0238598325880802241618201099192141863993352287081215-Nov-09 19:47:59
1238598325880802241618201099192141863993375020491615-Nov-09 20:01:16

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
03.1723.2910000005098022
1.059.124000000140022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  7r7636982atn9, child number 0
-------------------------------------
UPDATE INVENTORIES SET QUANTITY_ON_HAND = QUANTITY_ON_HAND - :B1 WHERE 
PRODUCT_ID = :B3 AND WAREHOUSE_ID = :B2
 
Plan hash value: 2141863993
 
------------------------------------------------------------------------------------
| Id  | Operation          | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
------------------------------------------------------------------------------------
|   1 |  UPDATE            | INVENTORIES  |        |       |            |          |
|*  2 |   INDEX UNIQUE SCAN| INVENTORY_PK |      1 |    10 |     1   (0)| 00:00:01 |
------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / INVENTORIES@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "INVENTORIES"@"UPD$1" ("INVENTORIES"."PRODUCT_ID" 
              "INVENTORIES"."WAREHOUSE_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   2 - (NUMBER): 191
   3 - (NUMBER): 6
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("PRODUCT_ID"=:B3 AND "WAREHOUSE_ID"=:B2)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2385983258
SQL ID: 7r7636982atn9

Execution plan with plan hash value 2141863993 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0UPDATE STATEMENT 2
10 UPDATE SOE.INVENTORIES
21  INDEX UNIQUE SCANSOE.INVENTORY_PK6077111011

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532121418639932ALL_ROWS3750204916.000718.00071812.7
24232870266532121418639932ALL_ROWS3522870812.001385.00133912.7

AWR execution plan with plan hash value 2141863993 for SQL ID 7r7636982atn9


SQL_ID 7r7636982atn9
--------------------
UPDATE INVENTORIES SET QUANTITY_ON_HAND = QUANTITY_ON_HAND - :B1 WHERE 
PRODUCT_ID = :B3 AND WAREHOUSE_ID = :B2
 
Plan hash value: 2141863993
 
------------------------------------------------------------------------------------
| Id  | Operation          | Name         | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
------------------------------------------------------------------------------------
|   0 | UPDATE STATEMENT   |              |        |       |     2 (100)|          |
|   1 |  UPDATE            | INVENTORIES  |        |       |            |          |
|   2 |   INDEX UNIQUE SCAN| INVENTORY_PK |      1 |    10 |     1   (0)| 00:00:01 |
------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / INVENTORIES@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "INVENTORIES"@"UPD$1" ("INVENTORIES"."PRODUCT_ID" 
              "INVENTORIES"."WAREHOUSE_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   2 - :B3 (NUMBER): 191
   3 - :B2 (NUMBER): 6
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 2086 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER1
1NUMBER189
2NUMBER8
Bind Section 2:
PositionTypeValue
0NUMBER1
1NUMBER199
2NUMBER5
Bind Section 3:
PositionTypeValue
0NUMBER1
1NUMBER209
2NUMBER2
Bind Section 4:
PositionTypeValue
0NUMBER1
1NUMBER219
2NUMBER5
Bind Section 5:
PositionTypeValue
0NUMBER1
1NUMBER189
2NUMBER7
Bind Section 6:
PositionTypeValue
0NUMBER1
1NUMBER199
2NUMBER7
Bind Section 7:
PositionTypeValue
0NUMBER1
1NUMBER186
2NUMBER2
Bind Section 8:
PositionTypeValue
0NUMBER1
1NUMBER196
2NUMBER3
Bind Section 9:
PositionTypeValue
0NUMBER1
1NUMBER206
2NUMBER7
Bind Section 10:
PositionTypeValue
0NUMBER1
1NUMBER192
2NUMBER3

Rank 19: Statement with Hash Value 255718823

Response Time: 0.479 s (0.09 % of delta tim)
Command Type: 44 (COMMIT)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 0 (optimizer goal for og=0 unavailable)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'logon'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 100

Statement Text

COMMIT

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.32812568.440140.000082
unknown0.15131931.610.151319
Total0.479444100.040150.000119

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC40140.4790.0001190.3280.00008200401500
FETCH00.0000.0000000.0000.00000000000
Total40140.4790.0001190.3280.00008200401500
Avg. per EXEC1.0000.000119n/a0.000082n/a0.0000.0001.0000.0000.000

Rank 20: Statement with Hash Value 914625479

Response Time: 0.443 s (0.09 % of delta tim)
SQL ID: f9u2k84v884y7
Force Matching Signature: 2971448457592404441
MD5 Hash Value: D2A19D4354945E474DD3C59C3ED7F856
Command Type: 6 (UPDATE)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'Process Orders'
Action: 'getCustomerDetails'
Waits: 8
Total Wait Time: 0.086 s
Intra Database Call Wait Time: 0.086 s
Line Number: 1115

Statement Text

UPDATE /*+ index(orders, order_pk) */ ORDERS SET ORDER_STATUS = FLOOR(DBMS_RANDOM.VALUE(:B3 + 1, :B2 )) WHERE ORDER_ID = :B1 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.18750042.35960.000315
unknown0.17028238.410.170282
db file sequential read0.08563819.380.010705
Total0.443420100.06050.000733

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5960.4430.0007440.1880.0003158126847715960
FETCH00.0000.0000000.0000.00000000000
Total5960.4430.0007440.1880.0003158126847715960
Avg. per EXEC1.0000.000744n/a0.000315n/a0.0132.1288.0051.0000.000
Avg. per Row1.0000.000744n/a0.000315n/a0.0132.1288.0051.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10653UPDATE ORDERS0.1985360.25307510138991200
21653   INDEX UNIQUE SCAN ORDER_PK0.0545390.054539137913793300

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0422043350729714484575924044411628223527352287081215-Nov-09 19:47:59
1422043350729714484575924044411628223527375020491615-Nov-09 20:01:15

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
01.9523.7220001.81.0605072022
1.049.132000.092.0020140022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  f9u2k84v884y7, child number 0
-------------------------------------
UPDATE /*+ index(orders, order_pk) */ ORDERS SET ORDER_STATUS = 
FLOOR(DBMS_RANDOM.VALUE(:B3 + 1, :B2 )) WHERE ORDER_ID = :B1
 
Plan hash value: 1628223527
 
--------------------------------------------------------------------------------
| Id  | Operation          | Name     | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------
|   1 |  UPDATE            | ORDERS   |        |       |            |          |
|*  2 |   INDEX UNIQUE SCAN| ORDER_PK |      1 |     7 |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / ORDERS@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "ORDERS"@"UPD$1" ("ORDERS"."ORDER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   3 - (NUMBER): 39668
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("ORDER_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 4220433507
SQL ID: f9u2k84v884y7

Execution plan with plan hash value 1628223527 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0UPDATE STATEMENT 2
10 UPDATE SOE.ORDERS
21  INDEX UNIQUE SCANSOE.ORDER_PK6076811511

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532116282235272ALL_ROWS3750204916.000523.00041410.2
24242870266532116282235272ALL_ROWS3522870812.000402.00022710.1

AWR execution plan with plan hash value 1628223527 for SQL ID f9u2k84v884y7


SQL_ID f9u2k84v884y7
--------------------
UPDATE /*+ index(orders, order_pk) */ ORDERS SET ORDER_STATUS = 
FLOOR(DBMS_RANDOM.VALUE(:B3 + 1, :B2 )) WHERE ORDER_ID = :B1
 
Plan hash value: 1628223527
 
--------------------------------------------------------------------------------
| Id  | Operation          | Name     | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------
|   0 | UPDATE STATEMENT   |          |        |       |     2 (100)|          |
|   1 |  UPDATE            | ORDERS   |        |       |            |          |
|   2 |   INDEX UNIQUE SCAN| ORDER_PK |      1 |     7 |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / ORDERS@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "ORDERS"@"UPD$1" ("ORDERS"."ORDER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   3 - :B1 (NUMBER): 39668
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6078050.0450.00900.0000.00000.0SOE.ORD_STATUS_IX
6076830.0400.01300.0000.00000.0SOE.ORDER_PK

Captured Bind Variables

Note: trace file contains 595 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45096
Bind Section 2:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER41236
Bind Section 3:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45098
Bind Section 4:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45102
Bind Section 5:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45104
Bind Section 6:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45116
Bind Section 7:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45125
Bind Section 8:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45126
Bind Section 9:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45127
Bind Section 10:
PositionTypeValue
0NUMBER4
1NUMBER10
2NUMBER45129

Rank 21: Statement with Hash Value 2990726627

Response Time: 0.355 s (0.07 % of delta tim)
SQL ID: 5mddt5kt45rg3
Force Matching Signature: 14366533292145951164
MD5 Hash Value: 99AECE571A5750FE12462E1861AC1325
Command Type: 6 (UPDATE)
Parsing User ID: 78 (SOE)
Parsing Schema ID: 78 (SOE)
Optimizer Goal: 1 (ALL_ROWS)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 7
Total Wait Time: 0.044 s
Intra Database Call Wait Time: 0.044 s
Line Number: 275

Statement Text

UPDATE ORDERS SET ORDER_MODE = 'online', ORDER_STATUS = FLOOR(DBMS_RANDOM.VALUE(0, :B3 )), ORDER_TOTAL = :B2 WHERE ORDER_ID = :B1 

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.20312557.25970.000340
unknown0.10812130.410.108121
buffer busy waits0.0269517.620.013476
db file sequential read0.0171084.850.003422
Total0.355305100.06050.000587

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE00.0000.0000000.0000.00000000000
EXEC5970.3550.0005950.2030.0003405136524225970
FETCH00.0000.0000000.0000.00000000000
Total5970.3550.0005950.2030.0003405136524225970
Avg. per EXEC1.0000.000595n/a0.000340n/a0.0082.2864.0571.0000.000
Avg. per Row1.0000.000595n/a0.000340n/a0.0082.2864.0571.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
10647UPDATE ORDERS0.1350250.152977114876600
21647   INDEX UNIQUE SCAN ORDER_PK0.0179520.017952148614860000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
03812575787143665332921459511641628223527352287081215-Nov-09 19:47:59
13812575787143665332921459511641628223527375020491615-Nov-09 20:01:16

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
01.5981.779000.142.07605098022
1.037.0370000.0020140022

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  5mddt5kt45rg3, child number 0
-------------------------------------
UPDATE ORDERS SET ORDER_MODE = 'online', ORDER_STATUS = 
FLOOR(DBMS_RANDOM.VALUE(0, :B3 )), ORDER_TOTAL = :B2 WHERE ORDER_ID = 
:B1
 
Plan hash value: 1628223527
 
--------------------------------------------------------------------------------
| Id  | Operation          | Name     | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------
|   1 |  UPDATE            | ORDERS   |        |       |            |          |
|*  2 |   INDEX UNIQUE SCAN| ORDER_PK |      1 |    15 |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / ORDERS@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "ORDERS"@"UPD$1" ("ORDERS"."ORDER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   3 - (NUMBER): 39885
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("ORDER_ID"=:B1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3812575787
SQL ID: 5mddt5kt45rg3

Execution plan with plan hash value 1628223527 (last active 15-Nov-09 20:09:28)
Optimization: ALL_ROWS
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0UPDATE STATEMENT 2
10 UPDATE SOE.ORDERS
21  INDEX UNIQUE SCANSOE.ORDER_PK6076811511

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24272870266532116282235272ALL_ROWS3750204916.000384.0003496.4
24242870266532116282235272ALL_ROWS3522870812.000192.0001686.1

AWR execution plan with plan hash value 1628223527 for SQL ID 5mddt5kt45rg3


SQL_ID 5mddt5kt45rg3
--------------------
UPDATE ORDERS SET ORDER_MODE = 'online', ORDER_STATUS = 
FLOOR(DBMS_RANDOM.VALUE(0, :B3 )), ORDER_TOTAL = :B2 WHERE ORDER_ID = 
:B1
 
Plan hash value: 1628223527
 
--------------------------------------------------------------------------------
| Id  | Operation          | Name     | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
--------------------------------------------------------------------------------
|   0 | UPDATE STATEMENT   |          |        |       |     2 (100)|          |
|   1 |  UPDATE            | ORDERS   |        |       |            |          |
|   2 |   INDEX UNIQUE SCAN| ORDER_PK |      1 |    15 |     1   (0)| 00:00:01 |
--------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / ORDERS@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      ALL_ROWS
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "ORDERS"@"UPD$1" ("ORDERS"."ORDER_ID"))
      END_OUTLINE_DATA
  */
 
Peeked Binds (identified by position):
--------------------------------------
 
   3 - :B1 (NUMBER): 39885
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6078050.0170.00300.0000.00000.0SOE.ORD_STATUS_IX

Buffer Busy Waits with Wait Time >= 1 ms

File & BlockCountWait Time (s)
7.1219820.027

Captured Bind Variables

Note: trace file contains 596 bind section(s) (report limited to 10)

Bind Section 1:
PositionTypeValue
0NUMBER4
1NUMBER146
2NUMBER45094
Bind Section 2:
PositionTypeValue
0NUMBER4
1NUMBER21
2NUMBER45095
Bind Section 3:
PositionTypeValue
0NUMBER4
1NUMBER257
2NUMBER45096
Bind Section 4:
PositionTypeValue
0NUMBER4
1NUMBER203
2NUMBER45098
Bind Section 5:
PositionTypeValue
0NUMBER4
1NUMBER556
2NUMBER45100
Bind Section 6:
PositionTypeValue
0NUMBER4
1NUMBER153
2NUMBER45102
Bind Section 7:
PositionTypeValue
0NUMBER4
1NUMBER297
2NUMBER45105
Bind Section 8:
PositionTypeValue
0NUMBER4
1NUMBER556
2NUMBER45107
Bind Section 9:
PositionTypeValue
0NUMBER4
1NUMBER112
2NUMBER45109
Bind Section 10:
PositionTypeValue
0NUMBER4
1NUMBER21
2NUMBER45111

Rank 22: Statement with Hash Value 2635489469

Response Time: 0.075 s (0.01 % of delta tim)
SQL ID: 4m7m0t6fjcs5x
Force Matching Signature: 15379430395219187294
MD5 Hash Value: 77474481C59122417CF527A18419AE9
Command Type: 6 (UPDATE)
Parsing User ID: 0 (SYS)
Parsing Schema ID: 0 (SYS)
Optimizer Goal: 4 (CHOOSE)
Recursive Call Depth: 2
Module: 'New Order'
Action: 'getProductDetailsByCategory'
Waits: 4
Total Wait Time: 0.072 s
Intra Database Call Wait Time: 0.072 s
Line Number: 121757

Statement Text

update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read0.07215795.940.018039
unknown0.0030624.110.003062
CPU0.0000000.040.000000
Total0.075219100.090.008358

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE20.0000.0000340.0000.00000000000
EXEC20.0750.0375760.0000.00000042420
FETCH00.0000.0000000.0000.00000000000
Total40.0750.0188050.0000.00000042420
Avg. per EXEC2.0000.037610n/a0.000000n/a2.0001.0002.0001.0000.000
Avg. per Row2.0000.037610n/a0.000000n/a2.0001.0002.0001.0000.000

Execution Plan 1 (2 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
101UPDATE SEQ$0.0052050.037617011200
211   INDEX UNIQUE SCAN I_SEQ10.0324120.032412111100

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
03716207873153794303952191872941935744642421577805115-Nov-09 19:47:21
13716207873153794303952191872941935744642262168451515-Nov-09 19:35:31
23716207873153794303952191872941935744642241716475215-Nov-09 20:04:28

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
0.0431.2940001.1770012601261
1.013.073000.05300100101
2.107.57000.44300310311

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  4m7m0t6fjcs5x, child number 0
-------------------------------------
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:
6,cache=:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
 
Plan hash value: 1935744642
 
-------------------------------------------------------------------
| Id  | Operation          | Name   | E-Rows |E-Bytes| Cost (%CPU)|
-------------------------------------------------------------------
|   1 |  UPDATE            | SEQ$   |        |       |            |
|*  2 |   INDEX UNIQUE SCAN| I_SEQ1 |      1 |    70 |     0   (0)|
-------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / SEQ$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "SEQ$"@"UPD$1" ("SEQ$"."OBJ#"))
      END_OUTLINE_DATA
  */
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - access("OBJ#"=:1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 3716207873
SQL ID: 4m7m0t6fjcs5x

Execution plan with plan hash value 1935744642 (last active 15-Nov-09 20:08:18)
Optimization: CHOOSE
Cost: 1
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0UPDATE STATEMENT 1
10 UPDATE SYS.SEQ$
21  INDEX UNIQUE SCANSYS.I_SEQ110217000

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
23832870266532119357446421CHOOSE4215778051.041323.0078593.5
24252870266532119357446421CHOOSE2417164752.004093.0021143.1

AWR execution plan with plan hash value 1935744642 for SQL ID 4m7m0t6fjcs5x


SQL_ID 4m7m0t6fjcs5x
--------------------
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:
6,cache=:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
 
Plan hash value: 1935744642
 
-------------------------------------------------------------------
| Id  | Operation          | Name   | E-Rows |E-Bytes| Cost (%CPU)|
-------------------------------------------------------------------
|   0 | UPDATE STATEMENT   |        |        |       |     1 (100)|
|   1 |  UPDATE            | SEQ$   |        |       |            |
|   2 |   INDEX UNIQUE SCAN| I_SEQ1 |      1 |    69 |     0   (0)|
-------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / SEQ$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.1')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "SEQ$"@"UPD$1" ("SEQ$"."OBJ#"))
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
-120.0370.01900.0000.00000.0
6073620.0350.01700.0000.00000.0SOE.CUSTOMERS

Captured Bind Variables

Note: trace file contains 2 bind sections(s)

Bind Section 1:
PositionTypeValue
0NUMBER1
1NUMBER1
2NUMBER999999999999999999999999999
3NUMBER0
4NUMBER0
5NUMBER800
6NUMBER46285
7(N)VARCHAR2"--------------------------------"
8NUMBER8
9NUMBER60744
Bind Section 2:
PositionTypeValue
0NUMBER1
1NUMBER1
2NUMBER999999999999999999999999999
3NUMBER0
4NUMBER0
5NUMBER800
6NUMBER47085
7(N)VARCHAR2"--------------------------------"
8NUMBER8
9NUMBER60744

Rank 23: Cursor 15

Response Time Including Think Time: 0.042 s (0.01 % of delta tim)
Response Time Excluding Think Time: 0.042 s (0.01 % of delta tim)
Recursive Call Depth: 0
Module: 'New Order'
Action: 'getProductDetailsByCategory'
Waits: 2
Total Wait Time: 0.042 s
Intra Database Call Wait Time: 0.042 s
Inter Database Call Wait Time: 0.000 s
IPC latency wait time: 0.000 s
Line Number: 163

Statement Text

Note: statement text unavailable due to absence of parse call from trace file

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read0.042067100.020.021033
Total0.042067100.020.021033

Note: trace file contains no database calls for this statement

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6077810.0230.02300.0000.00000.0SOE.ORD_CUSTOMER_IX
6077910.0190.01900.0000.00000.0SOE.ORD_ORDER_DATE_IX

Rank 24: Cursor 26

Response Time: 0.019 s (0.00 % of delta tim)
Recursive Call Depth: 1
Module: 'New Customer'
Action: 'getOrdersByCustomer'
Waits: 2
Total Wait Time: 0.019 s
Intra Database Call Wait Time: 0.019 s
Line Number: 873

Statement Text

Note: statement text unavailable due to absence of parse call from trace file

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read0.019355100.020.009678
Total0.019355100.020.009678

Note: trace file contains no database calls for this statement

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6078310.0120.01200.0000.00000.0SOE.CUST_EMAIL_IX
6078610.0070.00700.0000.00000.0SOE.CUST_UPPER_NAME_IX

Rank 25: Statement with Hash Value 2379717279

Response Time: 0.017 s (0.00 % of delta tim)
SQL ID: 9qgtwh66xg6nz
Force Matching Signature: 0
MD5 Hash Value: 4219A4AAFF2E6E93487864459D24E93B
Command Type: 6 (UPDATE)
Parsing User ID: 0 (SYS)
Parsing Schema ID: 0 (SYS)
Optimizer Goal: 4 (CHOOSE)
Recursive Call Depth: 2
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 1
Total Wait Time: 0.011 s
Intra Database Call Wait Time: 0.011 s
Line Number: 43496

Statement Text

update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,extpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, :13),groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, spare1=DECODE(:17,0,NULL,:17),scanhint=:18 where ts#=:1 and file#=:2 and block#=:3

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read0.01143868.310.011438
unknown0.00529731.710.005297
CPU0.0000000.040.000000
Total0.016735100.060.002789

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE20.0000.0000310.0000.00000000000
EXEC20.0170.0083360.0000.000000110220
FETCH00.0000.0000000.0000.00000000000
Total40.0170.0041840.0000.000000110220
Avg. per EXEC2.0000.008368n/a0.000000n/a0.5005.0001.0001.0000.000
Avg. per Row2.0000.008368n/a0.000000n/a0.5005.0001.0001.0000.000

Execution Plan 1 (2 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
100UPDATE SEG$0.0001020.000204050000
211   TABLE ACCESS CLUSTER SEG$0.0000780.000102350000
321      INDEX UNIQUE SCAN I_FILE#_BLOCK#0.0000240.000024220000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
028501328460217005877777977799615-Nov-09 19:47:50
1285013284602170058777241716475215-Nov-09 20:01:57
2285013284602170058777262168451515-Nov-09 19:35:23

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
0.153.669000.4810040104012
1.185.72000.53700620622
2.056.121000.07300140142

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  9qgtwh66xg6nz, child number 0
-------------------------------------
update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,ex
tpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, 
:13),groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, 
spare1=DECODE(:17,0,NULL,:17),scanhint=:18 where ts#=:1 and file#=:2 and 
block#=:3
 
Plan hash value: 2170058777
 
-----------------------------------------------------------------------------------------
| Id  | Operation             | Name           | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
-----------------------------------------------------------------------------------------
|   1 |  UPDATE               | SEG$           |        |       |            |          |
|   2 |   TABLE ACCESS CLUSTER| SEG$           |      1 |    60 |     2   (0)| 00:00:01 |
|*  3 |    INDEX UNIQUE SCAN  | I_FILE#_BLOCK# |      1 |       |     1   (0)| 00:00:01 |
-----------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / SEG$@UPD$1
   3 - UPD$1 / SEG$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "SEG$"@"UPD$1" "I_FILE#_BLOCK#")
      END_OUTLINE_DATA
  */
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   3 - access("TS#"=:1 AND "FILE#"=:2 AND "BLOCK#"=:3)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 2850132846
SQL ID: 9qgtwh66xg6nz

Execution plan with plan hash value 2170058777 (last active 15-Nov-09 20:10:16)
Optimization: CHOOSE
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0UPDATE STATEMENT 2
10 UPDATE SYS.SEG$
21  TABLE ACCESS CLUSTERSYS.SEG$1416022
32   INDEX UNIQUE SCANSYS.I_FILE#_BLOCK#9111

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
23972870266532121700587772CHOOSE779777996.000301.0003016
24232870266532121700587772CHOOSE2621684515.012229.003646
24272870266532121700587772CHOOSE2417164752.020067.0028866

AWR execution plan with plan hash value 2170058777 for SQL ID 9qgtwh66xg6nz


SQL_ID 9qgtwh66xg6nz
--------------------
update seg$ set type#=:4,blocks=:5,extents=:6,minexts=:7,maxexts=:8,extsize=:9,ex
tpct=:10,user#=:11,iniexts=:12,lists=decode(:13, 65535, NULL, 
:13),groups=decode(:14, 65535, NULL, :14), cachehint=:15, hwmincr=:16, 
spare1=DECODE(:17,0,NULL,:17),scanhint=:18 where ts#=:1 and file#=:2 and 
block#=:3
 
Plan hash value: 2170058777
 
-----------------------------------------------------------------------------------------
| Id  | Operation             | Name           | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
-----------------------------------------------------------------------------------------
|   0 | UPDATE STATEMENT      |                |        |       |     2 (100)|          |
|   1 |  UPDATE               | SEG$           |        |       |            |          |
|   2 |   TABLE ACCESS CLUSTER| SEG$           |      1 |    60 |     2   (0)| 00:00:01 |
|   3 |    INDEX UNIQUE SCAN  | I_FILE#_BLOCK# |      1 |       |     1   (0)| 00:00:01 |
-----------------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / SEG$@UPD$1
   3 - UPD$1 / SEG$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.1')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "SEG$"@"UPD$1" "I_FILE#_BLOCK#")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6073610.0110.01100.0000.00000.0SOE.CUSTOMERS

Captured Bind Variables

Note: trace file contains 2 bind sections(s)

Bind Section 1:
PositionTypeValue
0NUMBER6
1NUMBER481
2NUMBER37
3NUMBER1
4NUMBER2147483645
5NUMBER13
6NUMBER0
7NUMBER78
8NUMBER13
9NUMBER0
10no oacdef (NULL?)
Bind Section 2:
PositionTypeValue
0NUMBER5
1NUMBER10374
2NUMBER798
3NUMBER1
4NUMBER2147483645
5NUMBER13
6NUMBER0
7NUMBER78
8NUMBER13
9NUMBER0
10no oacdef (NULL?)

Rank 26: Cursor 17

Response Time: 0.014 s (0.00 % of delta tim)
Recursive Call Depth: 1
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 1
Total Wait Time: 0.014 s
Intra Database Call Wait Time: 0.014 s
Line Number: 212

Statement Text

Note: statement text unavailable due to absence of parse call from trace file

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
db file sequential read0.014435100.010.014435
Total0.014435100.010.014435

Note: trace file contains no database calls for this statement

Physical Reads by Database Object

Obj. IDSB ReadsSBR TimeAvg. SBR TimeMB ReadsMBR TimeAvg. MBR TimeMBR BlocksAvg. BlocksOwner & Segment
6077510.0140.01400.0000.00000.0SOE.ITEM_ORDER_IX

Rank 27: Statement with Hash Value 3840466760

Response Time: 0.001 s (0.00 % of delta tim)
SQL ID: aq4js2gkfjru8
Force Matching Signature: 17023979957667835857
MD5 Hash Value: 8EDE7CB982E8F918882DA87188C4DF9
Command Type: 6 (UPDATE)
Parsing User ID: 0 (SYS)
Parsing Schema ID: 0 (SYS)
Optimizer Goal: 4 (CHOOSE)
Recursive Call Depth: 2
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 43445

Statement Text

update tsq$ set blocks=:3,maxblocks=:4,grantor#=:5,priv1=:6,priv2=:7,priv3=:8 where ts#=:1 and user#=:2

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.0000000.020.000000
Total0.000927100.020.000464

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE10.0000.0000260.0000.00000000000
EXEC10.0010.0009010.0000.00000004110
FETCH00.0000.0000000.0000.00000000000
Total20.0010.0004640.0000.00000004110
Avg. per EXEC2.0000.000927n/a0.000000n/a0.0004.0001.0001.0000.000
Avg. per Row2.0000.000927n/a0.000000n/a0.0004.0001.0001.0000.000

Execution Plan 1 (1 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
100UPDATE TSQ$0.0001260.000221040000
211   TABLE ACCESS CLUSTER TSQ$0.0000750.000095340000
321      INDEX UNIQUE SCAN I_USER#0.0000200.000020110000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
0138002187317023979957667835857111944913377977799615-Nov-09 19:47:48
11380021873170239799576678358571119449133241716475215-Nov-09 20:01:57

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
0.019.056000.04900130131
1.014.014000000100101

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  aq4js2gkfjru8, child number 0
-------------------------------------
update tsq$ set blocks=:3,maxblocks=:4,grantor#=:5,priv1=:6,priv2=:7,priv3
=:8 where ts#=:1 and user#=:2
 
Plan hash value: 1119449133
 
----------------------------------------------------------------------------------
| Id  | Operation             | Name    | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------------
|   1 |  UPDATE               | TSQ$    |        |       |            |          |
|*  2 |   TABLE ACCESS CLUSTER| TSQ$    |      1 |    19 |     1   (0)| 00:00:01 |
|*  3 |    INDEX UNIQUE SCAN  | I_USER# |      1 |       |     0   (0)|          |
----------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / TSQ$@UPD$1
   3 - UPD$1 / TSQ$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "TSQ$"@"UPD$1" "I_USER#")
      END_OUTLINE_DATA
  */
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   2 - filter("TS#"=:1)
   3 - access("USER#"=:2)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24232870266532111194491331CHOOSE2417164752.00147.001474

AWR execution plan with plan hash value 1119449133 for SQL ID aq4js2gkfjru8


SQL_ID aq4js2gkfjru8
--------------------
update tsq$ set blocks=:3,maxblocks=:4,grantor#=:5,priv1=:6,priv2=:7,priv3
=:8 where ts#=:1 and user#=:2
 
Plan hash value: 1119449133
 
----------------------------------------------------------------------------------
| Id  | Operation             | Name    | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------------
|   0 | UPDATE STATEMENT      |         |        |       |     1 (100)|          |
|   1 |  UPDATE               | TSQ$    |        |       |            |          |
|   2 |   TABLE ACCESS CLUSTER| TSQ$    |      1 |    19 |     1   (0)| 00:00:01 |
|   3 |    INDEX UNIQUE SCAN  | I_USER# |      1 |       |     0   (0)|          |
----------------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - UPD$1
   2 - UPD$1 / TSQ$@UPD$1
   3 - UPD$1 / TSQ$@UPD$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      OUTLINE_LEAF(@"UPD$1")
      INDEX(@"UPD$1" "TSQ$"@"UPD$1" "I_USER#")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 1 bind sections(s)

Bind Section 1:
PositionTypeValue
0NUMBER19500
1NUMBER0
2NUMBER0
3NUMBER0
4NUMBER0
5NUMBER0
6NUMBER13
7NUMBER78

Rank 28: Cursor 8

Response Time: 0.007 s (0.00 % of delta tim)
Waits: 3
Total Wait Time: 0.007 s
Intra Database Call Wait Time: 0.001 s
Line Number: 25

Statement Text

Note: statement text unavailable due to absence of parse call from trace file

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
SQL*Net message from client0.00500071.310.005000
think time0.00123517.610.001235
log file sync0.00077811.110.000778
Total0.007013100.030.002338

Note: trace file contains no database calls for this statement


Rank 29: Statement with Hash Value 1570213724

Response Time: 0.001 s (0.00 % of delta tim)
SQL ID: bsa0wjtftg3uw
Force Matching Signature: 0
MD5 Hash Value: 8474F628DBF91581BAFDF9C3E7651785
Command Type: 3 (SELECT)
Parsing User ID: 0 (SYS)
Parsing Schema ID: 0 (SYS)
Optimizer Goal: 4 (CHOOSE)
Recursive Call Depth: 2
Module: 'New Order'
Action: 'getProductQuantity'
Waits: 0
Total Wait Time: 0.000 s
Intra Database Call Wait Time: 0.000 s
Line Number: 43429

Statement Text

select file# from file$ where ts#=:1

Statement Level Resource Profile

Response Time ContributorDuration (s)Percent (%)CountAverage (s)
CPU0.0000000.080.000000
Total0.000601100.080.000075

Database Call Statistics

DB CallCountElapsed (s)Average Ela. (s)CPU (s)Average CPU (s)DiskQueryBlock ChangesRowsCursor Misses
PARSE20.0000.0000400.0000.00000000000
EXEC20.0000.0001970.0000.00000000000
FETCH40.0000.0000320.0000.00000007020
Total80.0010.0000750.0000.00000007020
Avg. per EXEC4.0000.000301n/a0.000000n/a0.0003.5000.0001.0000.000
Avg. per FETCH2.0000.000150n/a0.000000n/a0.0001.7500.0000.5000.000
Avg. per Row4.0000.000301n/a0.000000n/a0.0003.5000.0001.0000.000

Execution Plan 1 (2 occurrence(s)):

IDPIDRowsOperationEla. (Self)Ela. (Cum.)CR (Self)CR (Cum.)PR (Self)PR (Cum.)PW (Self)PW (Cum.)
101TABLE ACCESS FULL FILE$0.0000450.000045330000

Correlation with V$SQL

Note: The result is split into two rows where each row is identified by the child cursor number. Resource usage is since instance startup (not interval-based).

CHILD_NUMBEROLD_HASH_VALUEFORCE_MATCHING_SIGNATUREPLAN_HASH_VALUEOPTIMIZER_ENV_HASH_VALUELAST_ACTIVE_TIMESQL_PROFILEOUTLINE_CATEGORYOUTLINE_TYPE
012549506780151248643577977799615-Nov-09 19:59:28
1125495067801512486435241716475215-Nov-09 20:01:57
2125495067801512486435262168451515-Nov-09 19:35:23

CHILD_NUMBERCPU Time (s)Elapsed (s)App. Wait Time (s)Conc. Wait Time (s)Cluster Wait Time (s)User I/O Wait Time (s)PL/SQL Exec. Time (s)Java Exec. Time (s)EXECUTIONSSORTSPARSE_CALLSOPTIMIZER_COST
03.04823.125000.09700355400355402
1.068.083000.0150038003802
2.016.029000000410412

Correlation with V$SQL_PLAN_STATISTICS_ALL using DBMS_XPLAN.DISPLAY_CURSOR

SQL_ID  bsa0wjtftg3uw, child number 0
-------------------------------------
select file# from file$ where ts#=:1
 
Plan hash value: 1512486435
 
----------------------------------------------------------------------------
| Id  | Operation         | Name  | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------
|*  1 |  TABLE ACCESS FULL| FILE$ |      1 |     6 |     2   (0)| 00:00:01 |
----------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / FILE$@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.3')
      OUTLINE_LEAF(@"SEL$1")
      FULL(@"SEL$1" "FILE$"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Predicate Information (identified by operation id):
---------------------------------------------------
 
   1 - filter("TS#"=:1)
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Execution Plans Captured by Statspack

Old hash value: 1254950678
SQL ID: bsa0wjtftg3uw

Execution plan with plan hash value 1512486435 (last active 15-Nov-09 20:10:16)
Optimization: CHOOSE
Cost: 2
Statspack snapshot 483 of instance 1

IDPIDOperationObjectObject IDRowsBytesCostI/O CostTemp. Space
0SELECT STATEMENT 2
10 TABLE ACCESS FULLSYS.FILE$171622

Statement Execution Captured by AWR

SNAP_IDDBIDINSTANCE_NUMBERPLAN_HASH_VALUEOPTIMIZER_COSTOPTIMIZER_MODEOPTIMIZER_ENV_HASH_VALUESQL_PROFILEEla. per EXECCPU per EXECBuffer Gets per EXEC
24192870266532115124864352CHOOSE779777996.000085.0000853.9
24232870266532115124864352CHOOSE2621684515.000195.0001953.9
24272870266532115124864352CHOOSE2417164752.000122.0001223.9

AWR execution plan with plan hash value 1512486435 for SQL ID bsa0wjtftg3uw


SQL_ID bsa0wjtftg3uw
--------------------
select file# from file$ where ts#=:1
 
Plan hash value: 1512486435
 
----------------------------------------------------------------------------
| Id  | Operation         | Name  | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |
----------------------------------------------------------------------------
|   0 | SELECT STATEMENT  |       |        |       |     2 (100)|          |
|   1 |  TABLE ACCESS FULL| FILE$ |      1 |     6 |     2   (0)| 00:00:01 |
----------------------------------------------------------------------------
 
Query Block Name / Object Alias (identified by operation id):
-------------------------------------------------------------
 
   1 - SEL$1 / FILE$@SEL$1
 
Outline Data
-------------
 
  /*+
      BEGIN_OUTLINE_DATA
      IGNORE_OPTIM_EMBEDDED_HINTS
      OPTIMIZER_FEATURES_ENABLE('10.2.0.1')
      OUTLINE_LEAF(@"SEL$1")
      FULL(@"SEL$1" "FILE$"@"SEL$1")
      END_OUTLINE_DATA
  */
 
Note
-----
   - Warning: basic plan statistics not available. These are only collected when:
       * hint 'gather_plan_statistics' is used for the statement or
       * parameter 'statistics_level' is set to 'ALL', at session or system level
 

Captured Bind Variables

Note: trace file contains 2 bind sections(s)

Bind Section 1:
PositionTypeValue
0NUMBER13
Bind Section 2:
PositionTypeValue
0NUMBER12

Wait Event Histograms

Histogram for Wait Event 'PL/SQL lock timer'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 4 µs0.0000040.010.00.0000040.0000040.010.0
<= 8 µs0.0000070.010.00.0000070.0000110.020.0
<= 16 µs0.0000370.040.00.0000090.0000480.060.1
<= 32 µs0.0000000.000.00.0000000.0000480.060.1
<= 64 µs0.0000000.000.00.0000000.0000480.060.1
<= 128 µs0.0000000.000.00.0000000.0000480.060.1
<= 256 µs0.0000000.000.00.0000000.0000480.060.1
<= 512 µs0.0000000.000.00.0000000.0000480.060.1
<= 1 ms0.0000000.000.00.0000000.0000480.060.1
<= 2 ms0.0000000.000.00.0000000.0000480.060.1
<= 4 ms0.0000000.000.00.0000000.0000480.060.1
<= 8 ms0.0000000.000.00.0000000.0000480.060.1
<= 16 ms82.83663998.1793899.10.01043582.83668598.1794499.2
<= 32 ms1.1737971.4580.70.02023884.01049099.5800299.9
<= 64 ms0.4088840.590.10.04543284.419365100.08011100.0
Total84.419365100.08011100.00.010537

Histogram for Wait Event 'SQL*Net message from client'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 512 µs0.0003470.010.00.0003470.0003470.010.0
<= 1 ms0.0000000.000.00.0000000.0003470.010.0
<= 2 ms0.0000000.000.00.0000000.0003470.010.0
<= 4 ms0.2086531.5471.60.0044390.2090001.5481.7
<= 8 ms13.91579498.5281198.30.00495014.124794100.02859100.0
Total14.124794100.02859100.00.004940

Histogram for Wait Event 'SQL*Net message to client'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 4 µs0.00248213.663422.20.0000040.00248213.663422.2
<= 8 µs0.01245368.5214174.90.0000060.01493582.1277597.1
<= 16 µs0.0003882.1381.30.0000100.01532384.2281398.4
<= 32 µs0.0005563.1200.70.0000280.01587987.3283399.1
<= 64 µs0.0010105.6210.70.0000480.01688992.9285499.9
<= 128 µs0.0000830.510.00.0000830.01697293.3285599.9
<= 256 µs0.0003662.020.10.0001830.01733895.32857100.0
<= 512 µs0.0000000.000.00.0000000.01733895.32857100.0
<= 1 ms0.0008514.710.00.0008510.018189100.02858100.0
Total0.018189100.02858100.00.000006

Histogram for Wait Event 'buffer busy waits'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 8 µs0.0000060.0120.00.0000060.0000060.0120.0
<= 16 µs0.0000000.000.00.0000000.0000060.0120.0
<= 32 µs0.0000000.000.00.0000000.0000060.0120.0
<= 64 µs0.0000550.1120.00.0000550.0000610.2240.0
<= 128 µs0.0000000.000.00.0000000.0000610.2240.0
<= 256 µs0.0002150.6120.00.0002150.0002760.7360.0
<= 512 µs0.0000000.000.00.0000000.0002760.7360.0
<= 1 ms0.0000000.000.00.0000000.0002760.7360.0
<= 2 ms0.0000000.000.00.0000000.0002760.7360.0
<= 4 ms0.0000000.000.00.0000000.0002760.7360.0
<= 8 ms0.0000000.000.00.0000000.0002760.7360.0
<= 16 ms0.01072628.4120.00.0107260.01100229.2480.0
<= 32 ms0.02673670.8120.00.0267360.037738100.05100.0
Total0.037738100.05100.00.007547

Histogram for Wait Event 'db file sequential read'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 256 µs0.0262600.01152.10.0002280.0262600.01152.1
<= 512 µs0.0341460.01071.90.0003190.0604060.12224.0
<= 1 ms0.0185210.0250.50.0007410.0789270.12474.5
<= 2 ms0.1456430.2681.20.0021420.2245700.33155.7
<= 4 ms1.0307521.42935.30.0035181.2553221.760811.0
<= 8 ms5.9759378.287315.80.0068457.2312599.9148126.8
<= 16 ms33.96284946.7276250.10.01229641.19410756.6424376.9
<= 32 ms25.13616934.6116721.10.02153966.33027691.2541098.0
<= 64 ms3.4659554.8801.40.04332469.79623496.0549099.5
<= 128 ms1.7509702.4220.40.07959071.54720398.4551299.9
<= 256 ms0.6570770.940.10.16426972.20427799.35516100.0
<= 512 ms0.5299780.720.00.26498972.734253100.05518100.0
Total72.734253100.05518100.00.013181

Histogram for Wait Event 'latch free'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 512 µs0.00030611.6150.00.0003060.00030611.6150.0
<= 1 ms0.0000000.000.00.0000000.00030611.6150.0
<= 2 ms0.00233888.4150.00.0023380.002644100.02100.0
Total0.002644100.02100.00.001322

Histogram for Wait Event 'latch: cache buffers chains'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 64 µs0.000047100.01100.00.0000470.000047100.01100.0
Total0.000047100.01100.00.000047

Histogram for Wait Event 'latch: cache buffers lru chain'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 64 µs0.000048100.01100.00.0000480.000048100.01100.0
Total0.000048100.01100.00.000048

Histogram for Wait Event 'latch: library cache'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 32 µs0.00002520.0133.30.0000250.00002520.0133.3
<= 64 µs0.00010080.0266.70.0000500.000125100.03100.0
Total0.000125100.03100.00.000041

Histogram for Wait Event 'latch: row cache objects'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 16 µs0.000012100.01100.00.0000120.000012100.01100.0
Total0.000012100.01100.00.000012

Histogram for Wait Event 'log file switch completion'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 256 ms0.153534100.01100.00.1535340.153534100.01100.0
Total0.153534100.01100.00.153534

Histogram for Wait Event 'log file sync'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 256 µs0.00025624.8150.00.0002560.00025624.8150.0
<= 512 µs0.0000000.000.00.0000000.00025624.8150.0
<= 1 ms0.00077875.2150.00.0007780.001034100.02100.0
Total0.001034100.02100.00.000517

Histogram for Wait Event 'read by other session'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 16 ms0.01273522.2133.30.0127350.01273522.2133.3
<= 32 ms0.04467877.8266.70.0223390.057413100.03100.0
Total0.057413100.03100.00.019137

Histogram for Wait Event 'think time'

RangeElapsed (s)Pct. ElapsedCountPercentAvg. Ela. (s)Cum. Ela. (s)Pct. Cum. Ela.Cum. CountPct. Cum. Count
<= 1 µs0.0000030.030.10.0000010.0000030.030.1
<= 2 µs0.0000100.050.20.0000020.0000130.080.4
<= 4 µs0.0000140.040.20.0000040.0000270.0120.5
<= 8 µs0.0000390.060.30.0000060.0000660.0180.8
<= 16 µs0.0001650.0120.50.0000140.0002310.0301.4
<= 32 µs0.0005360.0211.00.0000260.0007670.0512.3
<= 64 µs0.0018140.1381.70.0000480.0025810.1894.1
<= 128 µs0.0079400.4813.70.0000980.0105210.51707.8
<= 256 µs0.0316661.51637.40.0001940.0421871.933315.2
<= 512 µs0.1502166.938517.60.0003900.1924038.971832.8
<= 1 ms1.32818161.2136762.40.0009721.52058470.1208595.2
<= 2 ms0.1590027.3924.20.0017281.67958677.5217799.4
<= 4 ms0.0183910.860.30.0030651.69797778.3218399.6
<= 8 ms0.0112820.520.10.0056411.70925978.8218599.7
<= 16 ms0.0091560.410.00.0091561.71841579.2218699.8
<= 32 ms0.0000000.000.00.0000001.71841579.2218699.8
<= 64 ms0.0487442.210.00.0487441.76715981.5218799.8
<= 128 ms0.26904712.430.10.0896822.03620693.92190100.0
<= 256 ms0.1323456.110.00.1323452.168551100.02191100.0
Total2.168551100.02191100.00.000989

Optimizer Environments

This section contains cost based optimizer (CBO) parameter settings pertaining to execution plans used by the SQL statements in the trace file. An optimizer environment is a distinct set of parameters that govern the operation of the optimizer. An optimizer environment hash value (V$SQL.OPTIMIZER_ENV_HASH_VALUE) identifies each unique set of parameter values.

The optimizer used 8 distinct optimizer environments.

Optimizer Environment with Hash Value 779777996

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID bsa0wjtftg3uw and child number 0.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modechooseNO
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledtrueYES
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23star_transformation_enabledfalseYES
24statistics_leveltypicalYES
25workarea_size_policyautoYES

Optimizer Environment with Hash Value 4215778051

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID 4m7m0t6fjcs5x and child number 0.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modechooseNO
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledfalseNO
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23star_transformation_enabledfalseYES
24statistics_leveltypicalYES
25workarea_size_policyautoYES

Optimizer Environment with Hash Value 3522870812

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID 0bzhqhhj9mpaa and child number 0.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modeall_rowsYES
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledtrueYES
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23star_transformation_enabledfalseYES
24statistics_leveltypicalYES
25workarea_size_policyautoYES

Optimizer Environment with Hash Value 2621684515

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID bsa0wjtftg3uw and child number 2.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modechooseNO
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledtrueYES
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23sqlstat_enabledtrueNO
24star_transformation_enabledfalseYES
25statistics_leveltypicalYES
26workarea_size_policyautoYES

Optimizer Environment with Hash Value 2727794671

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID f0cxkf0q803f8 and child number 0.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modefirst_rowsNO
11optimizer_mode_hintedtrueNO
12optimizer_secure_view_mergingtrueYES
13parallel_ddl_modeenabledYES
14parallel_dml_modedisabledYES
15parallel_execution_enabledtrueYES
16parallel_query_modeenabledYES
17parallel_threads_per_cpu2YES
18pga_aggregate_target262144 KBYES
19query_rewrite_enabledtrueYES
20query_rewrite_integrityenforcedYES
21skip_unusable_indexestrueYES
22sort_area_retained_size0YES
23sort_area_size65536YES
24star_transformation_enabledfalseYES
25statistics_leveltypicalYES
26workarea_size_policyautoYES

Optimizer Environment with Hash Value 3750204916

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID 0bzhqhhj9mpaa and child number 1.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modeall_rowsYES
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledtrueYES
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23sqlstat_enabledtrueNO
24star_transformation_enabledfalseYES
25statistics_levelallNO
26workarea_size_policyautoYES

Optimizer Environment with Hash Value 2417164752

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID bsa0wjtftg3uw and child number 1.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modechooseNO
11optimizer_secure_view_mergingtrueYES
12parallel_ddl_modeenabledYES
13parallel_dml_modedisabledYES
14parallel_execution_enabledtrueYES
15parallel_query_modeenabledYES
16parallel_threads_per_cpu2YES
17pga_aggregate_target262144 KBYES
18query_rewrite_enabledtrueYES
19query_rewrite_integrityenforcedYES
20skip_unusable_indexestrueYES
21sort_area_retained_size0YES
22sort_area_size65536YES
23sqlstat_enabledtrueNO
24star_transformation_enabledfalseYES
25statistics_levelallNO
26workarea_size_policyautoYES

Optimizer Environment with Hash Value 699142823

This optimizer environment was used when generating an execution plan for the cursor identified by SQL ID f0cxkf0q803f8 and child number 1.

Row#NameValueDefault
1active_instance_count1YES
2bitmap_merge_area_size1048576YES
3cpu_count2YES
4cursor_sharingexactYES
5hash_area_size131072YES
6optimizer_dynamic_sampling2YES
7optimizer_features_enable10.2.0.3YES
8optimizer_index_caching0YES
9optimizer_index_cost_adj100YES
10optimizer_modefirst_rowsNO
11optimizer_mode_hintedtrueNO
12optimizer_secure_view_mergingtrueYES
13parallel_ddl_modeenabledYES
14parallel_dml_modedisabledYES
15parallel_execution_enabledtrueYES
16parallel_query_modeenabledYES
17parallel_threads_per_cpu2YES
18pga_aggregate_target262144 KBYES
19query_rewrite_enabledtrueYES
20query_rewrite_integrityenforcedYES
21skip_unusable_indexestrueYES
22sort_area_retained_size0YES
23sort_area_size65536YES
24sqlstat_enabledtrueNO
25star_transformation_enabledfalseYES
26statistics_levelallNO
27workarea_size_policyautoYES

Buffer Cache Contents

This section shows the contents of the buffer cache. Segments that are smaller than 1 MB are ignored according to the setting of the MERITS profiler parameter cached_table_threshold_mb. The overall load on the disk subsystem may be reduced significantly if separate buffer pools (KEEP, RECYCLE, DB_nK_CACHE_SIZE) are used for large tables or indexes that cause many physical reads. Consult the Statspack level 7 report section on 'Segments by Physical Reads' to identify segments that cause many physical reads and are hence insufficiently cached.

Owner & NameObject TypeBlock Size (KB)Buffer PoolCached (MB)Cached (%)Cached (Blocks)Segment Size (MB)Segment Size (Blocks)
SYS.C_OBJ#CLUSTER8DEFAULT7.188.9691181024
SOE.INVENTORIESTABLE8DEFAULT4.881.836175.9754
SYS.OBJ$TABLE8DEFAULT4.998.756325640
SYS.C_FILE#_BLOCK#CLUSTER8DEFAULT1.259.381522256

Data Dictionary Correlation

This section contains structural information and cost based optimizer (CBO) statistics pertaining to the tables and indexes referenced by the trace file.

Structure, Indexes, and Statistics for Table SOE.CUSTOMERS

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . CUSTOMERS7710625681103416998910374000YESNO26564213-Jun-09 15:27:58
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB81113.3%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES1,39%1475600
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
CUSTOMER_IDNUMBER(12) NOT NULL106256860.00000110YESNO26564213-Jun-09 15:27:58
CUST_FIRST_NAMEVARCHAR2(30) NOT NULL17470.00574710YESNO26564213-Jun-09 15:27:58
CUST_LAST_NAMEVARCHAR2(30) NOT NULL17980.00558710YESNO26564213-Jun-09 15:27:58
NLS_LANGUAGEVARCHAR2(3) 730.14285710YESNO26564213-Jun-09 15:27:58
NLS_TERRITORYVARCHAR2(30) 880.12510YESNO26564213-Jun-09 15:27:58
CREDIT_LIMITNUMBER(9,2) 490040.00020410YESNO26564213-Jun-09 15:27:58
CUST_EMAILVARCHAR2(100) 30724260.00003310YESNO26564213-Jun-09 15:27:58
ACCOUNT_MGR_IDNUMBER(6) 2640.03846210YESNO26564213-Jun-09 15:27:58

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOECUST_ACCOUNT_MANAGER_IXNORMALNO13-Jun-09 15:26:4713-Jun-09 15:26:4713-Jun-09 15:28:03VALID536909SOEINDEXDEFAULT1
SOECUST_LNAME_IXNORMALNO13-Jun-09 15:27:0213-Jun-09 15:27:0213-Jun-09 15:28:07VALID432421SOEINDEXDEFAULT1
SOECUST_EMAIL_IXNORMALNO13-Jun-09 15:27:1713-Jun-09 15:27:1713-Jun-09 15:28:09VALID264038SOEINDEXDEFAULT1
SOECUST_UPPER_NAME_IXFUNCTION-BASED NORMALNO13-Jun-09 15:27:3313-Jun-09 15:27:3313-Jun-09 15:28:14VALID312663SOEINDEXDEFAULT1
SOECUSTOMERS_PKNORMALNO13-Jun-09 15:26:0713-Jun-09 15:26:0713-Jun-09 15:28:18VALID546019SOEINDEXDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOECUST_ACCOUNT_MANAGER_IXNORMALNO22237261068443869914257781YESNO
SOECUST_LNAME_IXNORMALNO227291791060396154268764056YESNO
SOECUST_EMAIL_IXNORMALNO253403072410561521341053684YESNO
SOECUST_UPPER_NAME_IXFUNCTION-BASED NORMALNO236722977810446141341042042YESNO
SOECUSTOMERS_PKNORMALYES22281108752310875231111313YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOECUST_ACCOUNT_MANAGER_IXACCOUNT_MGR_ID1NUMBER(6)
SOECUST_EMAIL_IXCUST_EMAIL1VARCHAR2(100)
SOECUST_LNAME_IXCUST_LAST_NAME1VARCHAR2(30) NOT NULL
SOECUSTOMERS_PKCUSTOMER_ID1NUMBER(12) NOT NULL

Structure, Indexes, and Statistics for Table SOE.INVENTORIES

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . INVENTORIES1057605830744754000YESNO576002-Aug-09 18:04:56
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB5.9339%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
981YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
PRODUCT_IDNUMBER(6) NOT NULL28640.00349710YESNO151002-Aug-09 18:04:56
WAREHOUSE_IDNUMBER(6) NOT NULL2030.0510YESNO151002-Aug-09 18:04:56
QUANTITY_ON_HANDNUMBER(8) NOT NULL7540.01333310YESNO151002-Aug-09 18:04:56

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOEINVENTORY_PKNORMALNO13-Jun-09 15:26:4113-Jun-09 15:26:4102-Aug-09 18:04:56VALID5760SOEDEFAULT1
SOEINV_PRODUCT_IXNORMALNO13-Jun-09 15:26:4213-Jun-09 15:26:4202-Aug-09 18:04:56VALID5760SOEINDEXDEFAULT1
SOEINV_WAREHOUSE_IXNORMALNO13-Jun-09 15:26:4213-Jun-09 15:26:4202-Aug-09 18:04:56VALID5760SOEINDEXDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOEINVENTORY_PKNORMALYES11457605760115760YESNO
SOEINV_PRODUCT_IXNORMALNO11228857601205760YESNO
SOEINV_WAREHOUSE_IXNORMALNO112205760136720YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOEINVENTORY_PKPRODUCT_ID1NUMBER(6) NOT NULL
SOEINVENTORY_PKWAREHOUSE_ID2NUMBER(6) NOT NULL
SOEINV_PRODUCT_IXPRODUCT_ID1NUMBER(6) NOT NULL
SOEINV_WAREHOUSE_IXWAREHOUSE_ID1NUMBER(6) NOT NULL

Structure, Indexes, and Statistics for Table SOE.LOGON

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . LOGON135906887661157234000YESNO1476702-Aug-09 18:04:43
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB1.867.6%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
CUSTOMER_IDNUMBER 5885260.00001710YESNO1476702-Aug-09 18:04:43
LOGON_DATEDATE 369880.0002710YESNO1476702-Aug-09 18:04:43

Structure, Indexes, and Statistics for Table SOE.ORDERS

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . ORDERS293948049806195247000YESNO987002-Aug-09 18:04:53
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB1.981.2%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
ORDER_IDNUMBER(18) NOT NULL3948050.00002510YESNO987002-Aug-09 18:04:53
ORDER_DATETIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL3904110.00025610YESNO987002-Aug-09 18:04:53
ORDER_MODEVARCHAR2(8) 141124776YESNO367602-Aug-09 18:04:53
CUSTOMER_IDNUMBER(12) NOT NULL3932460.00002510YESNO987002-Aug-09 18:04:53
ORDER_STATUSNUMBER(2) 720.142857124776YESNO367602-Aug-09 18:04:53
ORDER_TOTALNUMBER(8,2) 9340.01075310YESNO987002-Aug-09 18:04:53
SALES_REP_IDNUMBER(6) 000039480YESNO02-Aug-09 18:04:53
PROMOTION_IDNUMBER(6) 000039480YESNO02-Aug-09 18:04:53

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOEORD_SALES_REP_IXNORMAL/REVNO13-Jun-09 15:26:4513-Jun-09 15:26:4502-Aug-09 18:04:53VALID0SOEINDEXDEFAULT1
SOEORD_CUSTOMER_IXNORMAL/REVNO13-Jun-09 15:26:4513-Jun-09 15:26:4502-Aug-09 18:04:54VALID39668SOEINDEXDEFAULT1
SOEORD_ORDER_DATE_IXNORMAL/REVNO13-Jun-09 15:26:4613-Jun-09 15:26:4602-Aug-09 18:04:55VALID39668SOEINDEXDEFAULT1
SOEORD_STATUS_IXNORMALNO13-Jun-09 15:26:4613-Jun-09 15:26:4602-Aug-09 18:04:55VALID14668SOEINDEXDEFAULT1
SOEORDER_PKNORMALNO13-Jun-09 15:26:2613-Jun-09 15:26:2602-Aug-09 18:04:55VALID39668SOEINDEXDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOEORD_SALES_REP_IXNORMAL/REVNO0000000YESNO
SOEORD_CUSTOMER_IXNORMAL/REVNO111238932396681139455YESNO
SOEORD_ORDER_DATE_IXNORMAL/REVNO116914239396681114590YESNO
SOEORD_STATUS_IXNORMALNO140814668554433YESNO
SOEORDER_PKNORMALYES1803966839668117868YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOEORD_CUSTOMER_IXCUSTOMER_ID1NUMBER(12) NOT NULL
SOEORDER_PKORDER_ID1NUMBER(18) NOT NULL
SOEORD_ORDER_DATE_IXORDER_DATE1TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL
SOEORD_SALES_REP_IXSALES_REP_ID1NUMBER(6)
SOEORD_STATUS_IXORDER_STATUS1NUMBER(2)

Structure, Indexes, and Statistics for Table SOE.ORDER_ITEMS

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . ORDER_ITEMS17139332169622437533000YESNO3483302-Aug-09 18:05:10
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB4.275%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
ORDER_IDNUMBER(18) NOT NULL3673050.00002710YESNO3483302-Aug-09 18:05:10
LINE_ITEM_IDNUMBER(3) NOT NULL530.210YESNO3483302-Aug-09 18:05:10
PRODUCT_IDNUMBER(6) NOT NULL28740.00348410YESNO3483302-Aug-09 18:05:10
UNIT_PRICENUMBER(8,2) 4440.02272710YESNO3483302-Aug-09 18:05:10
QUANTITYNUMBER(8) 230.510YESNO3483302-Aug-09 18:05:10

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOEORDER_ITEMS_PKNORMALNO13-Jun-09 15:26:2413-Jun-09 15:26:2402-Aug-09 18:05:12VALID138975SOEINDEXDEFAULT1
SOEORDER_ITEMS_UKNORMALNO13-Jun-09 15:26:2513-Jun-09 15:26:2502-Aug-09 18:05:13VALID138975SOEINDEXDEFAULT1
SOEITEM_ORDER_IXNORMAL/REVNO13-Jun-09 15:26:4213-Jun-09 15:26:4202-Aug-09 18:05:15VALID138975SOEINDEXDEFAULT1
SOEITEM_PRODUCT_IXNORMAL/REVNO13-Jun-09 15:26:4413-Jun-09 15:26:4402-Aug-09 18:05:17VALID138975SOEINDEXDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOEORDER_ITEMS_PKNORMALYES1358138975138975115706YESNO
SOEORDER_ITEMS_UKNORMALYES1372138975138975116005YESNO
SOEITEM_ORDER_IXNORMAL/REVNO1383396681389751139991YESNO
SOEITEM_PRODUCT_IXNORMAL/REVNO1380287138975120859756YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOEITEM_ORDER_IXORDER_ID1NUMBER(18) NOT NULL
SOEITEM_PRODUCT_IXPRODUCT_ID1NUMBER(6) NOT NULL
SOEORDER_ITEMS_PKORDER_ID1NUMBER(18) NOT NULL
SOEORDER_ITEMS_PKLINE_ITEM_ID2NUMBER(3) NOT NULL
SOEORDER_ITEMS_UKORDER_ID1NUMBER(18) NOT NULL
SOEORDER_ITEMS_UKPRODUCT_ID2NUMBER(6) NOT NULL

Structure, Indexes, and Statistics for Table SOE.PRODUCT_DESCRIPTIONS

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . PRODUCT_DESCRIPTIONS2812883272226000YESNO28813-Jun-09 15:28:24
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB.250.9%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
PRODUCT_IDNUMBER(6) NOT NULL28840.00347210YESNO28813-Jun-09 15:28:24
LANGUAGE_IDVARCHAR2(3) NOT NULL13110YESNO28813-Jun-09 15:28:24
TRANSLATED_NAMENVARCHAR2 NOT NULL287310.00348410YESNO28813-Jun-09 15:28:24
TRANSLATED_DESCRIPTIONNVARCHAR2 NOT NULL2882440.00347210YESNO28813-Jun-09 15:28:24

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOEPRD_DESC_PKNORMALNO13-Jun-09 15:26:2713-Jun-09 15:26:2713-Jun-09 15:28:24VALID288SOEINDEXDEFAULT1
SOEPROD_NAME_IXNORMALNO13-Jun-09 15:27:3313-Jun-09 15:27:3313-Jun-09 15:28:24VALID288SOEINDEXDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOEPRD_DESC_PKNORMALYES0128828811156YESNO
SOEPROD_NAME_IXNORMALNO122872881198YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOEPRD_DESC_PKPRODUCT_ID1NUMBER(6) NOT NULL
SOEPRD_DESC_PKLANGUAGE_ID2VARCHAR2(3) NOT NULL
SOEPROD_NAME_IXTRANSLATED_NAME1NVARCHAR2 NOT NULL

Structure, Indexes, and Statistics for Table SOE.PRODUCT_INFORMATION

Table Overview

Owner & NameAvg. Row LengthRows (Statistics)Rows (Est. Actual)Blocks (Stats)Blocks (Segment)Empty BlocksAverage SpaceChain CountGlobal StatsUser StatsSample SizeLast Analyze
SOE . PRODUCT_INFORMATION2192883461013000YESNO28813-Jun-09 15:28:24
Table Size and Estimated Space Efficiency
TablespaceBlock SizeTable Size (MB)Est. Space EfficiencyBuffer PoolDegreeClusterIOT TypeIOT Name
SOE8 KB.187.2%DEFAULT1
Storage Parameters and Modifications
PCTFREEPCTUSEDINITRANSMonitoringModified (%)INSERTUPDATEDELETE
101YES
Column Statistics
Column NameData TypeDistinct ValuesAvg. LengthDensityBucketsNULLsGlobal StatsUser StatsSample SizeLast Analyze
PRODUCT_IDNUMBER(6) NOT NULL28840.00347210YESNO28813-Jun-09 15:28:24
PRODUCT_NAMEVARCHAR2(50) 287160.00348410YESNO28813-Jun-09 15:28:24
PRODUCT_DESCRIPTIONVARCHAR2(2000) 2881230.00347210YESNO28813-Jun-09 15:28:24
CATEGORY_IDNUMBER(2) 1030.110YESNO28813-Jun-09 15:28:24
WEIGHT_CLASSNUMBER(1) 530.210YESNO28813-Jun-09 15:28:24
WARRANTY_PERIODINTERVAL YEAR(2) TO MONTH 1550.06666710YESNO28813-Jun-09 15:28:24
SUPPLIER_IDNUMBER(6) 6250.01612910YESNO28813-Jun-09 15:28:24
PRODUCT_STATUSVARCHAR2(20) 4110.2510YESNO28813-Jun-09 15:28:24
LIST_PRICENUMBER(8,2) 17040.00588212YESNO28613-Jun-09 15:28:24
MIN_PRICENUMBER(8,2) 18440.00543512YESNO28613-Jun-09 15:28:24
CATALOG_URLVARCHAR2(50) 288460.00347210YESNO28813-Jun-09 15:28:24

Index Overview

Index OwnerIndex NameIndex TypePartitionedCreatedLast DDL TimeLast AnalyzeStatusSample SizeTablespaceBuffer PoolDegree
SOEPROD_SUPPLIER_IXNORMALNO13-Jun-09 15:27:3313-Jun-09 15:27:3313-Jun-09 15:28:24VALID288SOEINDEXDEFAULT1
SOEPRODUCT_INFORMATION_PKNORMALNO13-Jun-09 15:26:2713-Jun-09 15:26:2713-Jun-09 15:28:24VALID288SOEDEFAULT1
Index Statistics
Index OwnerIndex NameIndex TypeUniqueB-Tree LevelLeaf BlocksDistinct KeysRowsAvg. Leaf Blocks per KeyAvg. Data Blocks per KeyClustering FactorGlobal StatsUser Stats
SOEPROD_SUPPLIER_IXNORMALNO016228811122YESNO
SOEPRODUCT_INFORMATION_PKNORMALYES012882881110YESNO
Indexed Columns
Index OwnerIndex NameColumn NamePositionData Type
SOEPROD_SUPPLIER_IXSUPPLIER_ID1NUMBER(6)
SOEPRODUCT_INFORMATION_PKPRODUCT_ID1NUMBER(6) NOT NULL