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 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
| TKPROF: Release 9.2.0.6.0 - Production on Tue Dec 4 16:53:49 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Trace file: s2008_ora_724.trc
Sort options: prscpu execpu fchcpu
********************************************************************************
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
********************************************************************************
EXPLAIN PLAN option disabled.
********************************************************************************
INSERT INTO Ecart
(Id,
Id_Fiche_Sncf,
Rang,
Id_Fiche_Rep,
Id_Pr_Rep,
Type_Ecart,
Description)
VALUES
(Sq_Ecart_01.NEXTVAL,
:1,
:2,
:3,
:4,
:5,
:6)
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 134977 4.51 4.00 0 0 0 0
Execute 134977 104.08 108.25 146 136589 1520897 134977
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 269954 108.60 112.26 146 136589 1520897 134977
Misses in library cache during parse: 1
Misses in library cache during execute: 5
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
1 SEQUENCE
********************************************************************************
update Dem_Fiche set Traite = :1
where
No_Demande_Rff = :2
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 35382 1.16 1.01 0 0 0 0
Execute 35382 73.26 75.94 22 106228 178642 35382
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 70764 74.42 76.95 22 106228 178642 35382
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
0 UPDATE
1 TABLE ACCESS BY INDEX ROWID DEM_FICHE
1 INDEX RANGE SCAN IX_DEM_FICHE_03 (object id 6123)
********************************************************************************
select d.id_fiche_sncf,r.id as idRep
from
dem_fiche d,
dem_pr dr,
rep_fiche r,
rep_pr pr
where r.Liste_id_fiche_sncf is null
and r.parite is null
and d.id = dr.id_fiche
and r.id = pr.id_fiche
and pr.ci_pr=dr.ci_pr
and pr.ch_pr=dr.ch_pr
and (( r.num_sillon_reponse = d.num_sillon1 )
or ( r.num_sillon_reponse = d.num_sillon2 ))
and d.id_fiche_sncf like :1
and not exists (select id_rep_fiche from correspondance where id_rep_fiche = r.id)
and ((dr.heure_local_dep is null and pr.heure_local_dep is null
and dr.heure_local_arr is not null and pr.heure_local_arr is not null)
or (dr.heure_local_arr is null and pr.heure_local_arr is null
and dr.heure_local_dep is not null and pr.heure_local_dep is not null))
and ((abs(to_number(dr.heure_local_arr) - to_number(pr.heure_local_arr)) <= :2)
or (abs(to_number(dr.heure_local_dep) - to_number(pr.heure_local_dep)) <= :3))
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 5 0.01 0.00 0 0 0 0
Execute 5 0.00 0.00 0 0 0 0
Fetch 9 41.36 69.45 7342 137267 0 70
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 19 41.37 69.45 7342 137267 0 70
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
0 FILTER
522 NESTED LOOPS
2080 HASH JOIN
36006 TABLE ACCESS BY INDEX ROWID REP_PR
40946 NESTED LOOPS
4939 TABLE ACCESS FULL REP_FICHE
36006 INDEX RANGE SCAN IX_REP_PR_01 (object id 6271)
303507 TABLE ACCESS FULL DEM_PR
522 TABLE ACCESS BY INDEX ROWID DEM_FICHE
2080 INDEX UNIQUE SCAN PK_DEM_FICHE (object id 6120)
296 INDEX RANGE SCAN IX_CORRESPONDANCE_02 (object id 6267)
********************************************************************************
INSERT INTO Correspondance
(Id, Id_Dossier, Id_Rep_Fiche,CAS)
VALUES
(Sq_Correspondance_01.NEXTVAL, :1, :2,:3)
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 39730 1.50 1.50 0 0 0 0
Execute 39730 33.38 36.98 157 41579 537307 39730
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 79460 34.89 38.49 157 41579 537307 39730
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
1 SEQUENCE
********************************************************************************
update dem_fiche set traite=null
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1 0.00 0.00 0 23 0 0
Execute 1 32.65 35.75 0 4742 88721 43393
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 2 32.65 35.75 0 4765 88721 43393
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
0 UPDATE
43393 TABLE ACCESS FULL DEM_FICHE
********************************************************************************
UPDATE Dem_Fiche
SET Etat_Fiche = :1, Date_Modif = :2
WHERE Id_Fiche_Sncf = :3
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 15248 0.37 0.43 0 0 0 0
Execute 15248 31.02 32.79 30 45830 46267 15248
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 30496 31.39 33.23 30 45830 46267 15248
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
0 UPDATE
1 TABLE ACCESS BY INDEX ROWID DEM_FICHE
1 INDEX RANGE SCAN IX_DEM_FICHE_01 (object id 6121)
********************************************************************************
select Heure_Local_Arr, Heure_Local_Dep, Ci_Pr
from Dem_Pr
where Rang = :1
and Id_Fiche = :2
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 169888 5.32 4.99 0 0 0 0
Execute 169888 8.82 8.74 0 0 0 0
Fetch 339776 14.26 22.28 824 849440 0 169888
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 679552 28.41 36.02 824 849440 0 169888
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
Rows Row Source Operation
------- ---------------------------------------------------
1 TABLE ACCESS BY INDEX ROWID DEM_PR
1 INDEX RANGE SCAN IX_DEM_PR_01 (object id 6130)
********************************************************************************
COMMIT WORK
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 150225 3.48 3.00 0 0 0 0
Execute 150225 22.44 21.53 0 0 150229 0
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 300450 25.92 24.54 0 0 150229 0
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 25
********************************************************************************
UPDATE GRILLE SET NOM_DEMANDEUR = :B10 , NUM_SILLON_DOSSIER = :B16 ,
NO_DEMANDE_RFF = :B9 , NUM_SILLON_FICHE = :B8 , STATUT_FICHE = :B7 ,
ETAT_FICHE = :B6 , DATE_RECEPTION_SL = :B5 , DATE_ENVOI_RFF = :B4 ,
NB_FICHES_TRACES = :B15 , GARE_DEPART = :B3 , HEURE_DEPART = :B14 ,
GARE_ARRIVEE = :B2 , HEURE_ARRIVEE = :B13 , REGIME_TRADUIT = :B12 ,
LISTE_TCT = :B1
WHERE
ID_FICHE_SNCF = :B11
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 50631 0.84 0.75 0 0 0 0
Execute 94023 20.81 49.86 1987 189270 101957 94023
Fetch 0 0.00 0.00 0 0 0 0
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 144654 21.66 50.61 1987 189270 101957 94023
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer goal: CHOOSE
Parsing user id: 25 (recursive depth: 1)
Rows Row Source Operation
------- ---------------------------------------------------
0 UPDATE
43389 INDEX RANGE SCAN IX_GRILLE_02 (object id 6144)
********************************************************************************
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 1049999 33.42 30.32 4 150 0 0
Execute 1049999 412.46 579.35 87408 1077735 3821527 576081
Fetch 979722 95.74 726.67 68304 2850371 13 677985
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 3079720 541.63 1336.34 155716 3928256 3821540 1254066
Misses in library cache during parse: 61
Misses in library cache during execute: 8
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ---------- ----------
Parse 480345 13.65 12.66 3 46 0 0
Execute 761786 75.39 103.53 2049 368666 515872 276753
Fetch 492696 14.52 110.97 11023 1572630 0 492260
------- ------ -------- ---------- ---------- ---------- ---------- ----------
total 1734827 103.57 227.18 13075 1941342 515872 769013
Misses in library cache during parse: 128
Misses in library cache during execute: 2
1353817 user SQL statements in session.
176529 internal SQL statements in session.
1530346 SQL statements in session.
0 statements EXPLAINed in this session.
********************************************************************************
Trace file: s2008_ora_724.trc
Trace file compatibility: 9.02.00
Sort options: prscpu execpu fchcpu
1 session in tracefile.
1353817 user SQL statements in trace file.
176529 internal SQL statements in trace file.
1530346 SQL statements in trace file.
185 unique SQL statements in trace file.
18777181 lines in trace file. |
Partager