Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Seeing if there is Parallel Execution from tkptof output.
I'm not sure what you mean... But say I have a query.
select /*+ PARALLEL(dbstruct,4) */ *
from
dbstruct where recno=1
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ----------
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 19 (SYSADM)
Rows Execution Plan
------- --------------------------------------------------- 0 SELECT STATEMENT GOAL: CHOOSE 1 TABLE ACCESS (BY INDEX ROWID) OF 'DBSTRUCT' 1 INDEX (UNIQUE SCAN) OF 'DBSTRUCTIDX' (UNIQUE)
************************************************************************
As apposed to:
select *
from
dbstruct where recno=1
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ----------
Misses in library cache during parse: 1
Optimizer goal: CHOOSE
Parsing user id: 19 (SYSADM)
Rows Execution Plan
------- --------------------------------------------------- 0 SELECT STATEMENT GOAL: CHOOSE 1 TABLE ACCESS (BY INDEX ROWID) OF 'DBSTRUCT' 1 INDEX (UNIQUE SCAN) OF 'DBSTRUCTIDX' (UNIQUE)
************************************************************************
See there is no difference.
What should I see if parallel exuction is working.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Mon May 31 1999 - 03:45:17 CDT