Parallel execution - broadcast rows to parent process
This operation is implemented in the following versions
|
This example was developed using Oracle 10.2.0.1 on Linux
This example requires the following table definitions
CREATE TABLE t1 ( c1 NUMBER, c2 NUMBER ); CREATE TABLE t2 ( c1 NUMBER, c2 NUMBER );
The statement
SELECT /*+ PARALLEL (t1,2) */ t2.c2 FROM t1,t2 WHERE t1.c1 = t2.c1;
generates the following execution plan
0 SELECT STATEMENT Optimizer=CHOOSE 1 0 PX COORDINATOR 2 1 PX SEND (QC (RANDOM)) 3 2 HASH JOIN 4 3 PX RECEIVE 5 4 PX SEND (HASH) 6 5 PX BLOCK ITERATOR 7 6 TABLE ACCESS (FULL) OF 'T1' 8 3 BUFFER (SORT) 9 8 PX RECEIVE 10 9 PX SEND (HASH) 11 10 TABLE ACCESS (FULL) OF 'T2'