Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: resolving buffer busy waits
had wanted to get this posted earlier yesterday but am stuck in turbo
mode both in and out of work ... ho hum ...
here's what i can add, some new, some in response to others:
did drill down into v$session_wait and that has helped explain the initial subject of this message:
so we have at peak times up to 700 odd active transactions. in my watching, i have seen the wait stack grow, at times, up to 500+ sessions, all just sitting and waiting on dfsr for various blocks in the same datafile.
and that explains the massive wait times. everyone just queues up, something "completes", all the waiting processes do so likewise w/the snap of a finger and then the problem pretty much immediately resurfaces and the waits/sessions waiting stack up again. very cyclical.
a recent cycle ended up w/132 sessions queueing, max seconds_in_wait 809, then the "complete" (for lack of a better term) occurred, then 84 queued up for a max of 90, then another group of 27 for a max wait of 21.
oh bugger. so the cyclic nature isn't necessarily long.
think i need a fresh set of eyes !!
the following is a slice of tkprof output for a 10046 trace for one of the queued sessions. total trace time was exactly 28 minutes.
call count cpu elapsed disk query current rows
Parse 21 0.00 0.00 0 0 0 0 Execute 47 0.00 0.01 0 0 0 0 Fetch 78 0.11 1405.74 164 1118 0 391
total 146 0.11 1405.75 164 1118 0 391
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 24
Rows Row Source Operation
------- ---------------------------------------------------
162 NESTED LOOPS
167 TABLE ACCESS BY INDEX ROWID {table 1}
167 INDEX RANGE SCAN (object id 3020)
162 TABLE ACCESS BY USER ROWID {table 2}
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 440 0.15 0.13 0 2 0 0 Execute 1186 1.64 11.98 73 2662 2316 381 Fetch 872 0.16 1446.98 180 4416 84 1363
total 2498 1.95 1459.09 253 7080 2400 1744Received on Wed Sep 17 2003 - 13:10:06 CDT