1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
|
TKPROF: Release 9.2.0.4.0 - Production on Me Sep 22 15:18:32 2010
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Trace file: commande_ora_10682.trc
Sort options: default
********************************************************************************
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
********************************************************************************
SELECT count(*)
FROM
COMMANDE A0 WHERE A0.DATEDEBUT >= :1
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 6.59 87.74 83810 92524 0 1
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3 6.59 87.74 83810 92524 0 1
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 60 (COMMANDE)
Rows Row Source Operation
------- ---------------------------------------------------
1 SORT AGGREGATE (cr=92524 r=83810 w=0 time=87748018 us)
11818 TABLE ACCESS FULL COMMANDE (cr=92524 r=83810 w=0 time=87743828 us)
Rows Execution Plan
------- ---------------------------------------------------
0 SELECT STATEMENT GOAL: CHOOSE
1 SORT (AGGREGATE)
11818 INDEX GOAL: ANALYZED (RANGE SCAN) OF
'COMMANDE_DATEDEBUT' (NON-UNIQUE)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 0.01 0.01
db file sequential read 29 0.01 0.08
db file scattered read 27943 0.31 85.52
********************************************************************************
SELECT A0.c1,A0.C2,A0.C3,A0.C4
FROM
COMMANDE A0 WHERE A0.DATEDEBUTRL >= :1 ORDER BY 22 DESC,3
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1182 7.17 101.79 84499 92524 3 11818
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 1184 7.17 101.79 84499 92524 3 11818
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 60 (COMMANDE)
Rows Row Source Operation
------- ---------------------------------------------------
11818 SORT ORDER BY (cr=92524 r=84499 w=690 time=101623039 us)
11818 TABLE ACCESS FULL COMMANDE (cr=92524 r=83809 w=0 time=101087480 us)
Rows Execution Plan
------- ---------------------------------------------------
0 SELECT STATEMENT GOAL: CHOOSE
11818 SORT (ORDER BY)
11818 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
'COMMANDE'
0 INDEX GOAL: ANALYZED (RANGE SCAN) OF
'COMMANDE_DATEDEBUT' (NON-UNIQUE)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1183 0.00 0.00
SQL*Net message from client 1183 0.06 2.48
db file scattered read 27940 0.31 98.69
db file sequential read 36 0.01 0.10
direct path write 4 0.00 0.00
direct path read 10 0.00 0.00
SQL*Net more data to client 1176 0.00 0.02
********************************************************************************
SELECT c1,C2
FROM
COMMERCIAL WHERE ID = :1
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 50 0.00 0.00 0 0 0 0
Execute 50 0.00 0.00 0 0 0 0
Fetch 50 0.00 0.00 0 100 0 50
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 150 0.00 0.00 0 100 0 50
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 60 (COMMANDE)
Rows Row Source Operation
------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID COMMERCIAL (cr=2 r=0 w=0 time=26 us)
1 INDEX UNIQUE SCAN PK_COMMERCIAL (cr=1 r=0 w=0 time=13 us)(object id 27217)
Rows Execution Plan
------- ---------------------------------------------------
0 SELECT STATEMENT GOAL: CHOOSE
1 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
'COMMERCIAL'
1 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'PK_COMMERCIAL'
(UNIQUE)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 100 0.00 0.00
SQL*Net message from client 100 0.02 0.19
********************************************************************************
SELECT NOM,ID
FROM
CATEGORIE WHERE ID = :1
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 50 0.00 0.00 0 0 0 0
Execute 50 0.02 0.00 0 0 0 0
Fetch 50 0.00 0.00 0 100 0 50
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 150 0.02 0.00 0 100 0 50
Misses in library cache during parse: 0
Optimizer goal: CHOOSE
Parsing user id: 60 (COMMANDE)
Rows Row Source Operation
------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID CATEGORIE (cr=2 r=0 w=0 time=17 us)
1 INDEX UNIQUE SCAN PK_CATEGORIE (cr=1 r=0 w=0 time=8 us)(object id 27199)
Rows Execution Plan
------- ---------------------------------------------------
0 SELECT STATEMENT GOAL: CHOOSE
1 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF 'CATEGORIE'
1 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'PK_CATEGORIE' (UNIQUE)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 100 0.00 0.00
SQL*Net message from client 99 0.02 0.25
********************************************************************************
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 102 0.00 0.00 0 0 0 0
Execute 102 0.02 0.00 0 0 0 0
Fetch 1283 13.76 189.54 168309 185248 3 11919
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 1487 13.78 189.55 168309 185248 3 11919
Misses in library cache during parse: 0
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 1689 0.00 0.00
SQL*Net message from client 1688 0.09 3.49
db file sequential read 65 0.01 0.18
db file scattered read 55883 0.31 184.21
direct path write 4 0.00 0.00
direct path read 10 0.00 0.00
SQL*Net more data to client 1264 0.00 0.02
direct path read (lob) 9 0.00 0.00
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 0 0.00 0.00 0 0 0 0
Execute 0 0.00 0.00 0 0 0 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 0 0.00 0.00 0 0 0 0
Misses in library cache during parse: 0
102 user SQL statements in session.
0 internal SQL statements in session.
102 SQL statements in session.
4 statements EXPLAINed in this session.
********************************************************************************
Trace file: commande_ora_10682.trc
Trace file compatibility: 9.00.01
Sort options: default
1 session in tracefile.
102 user SQL statements in trace file.
0 internal SQL statements in trace file.
102 SQL statements in trace file.
4 unique SQL statements in trace file.
4 SQL statements EXPLAINed using schema:
SYSTEM.prof$plan_table
Default table was used.
Table was created.
Table was dropped.
63138 lines in trace file. |
Partager