Why no single pass on a join between two tables with same PK
Query plan execution conundrum:
Table A, 1M rows, PK on column A1.
Table B, 1T rows, PK on column B1.
Join A to B on A1=B1 to get matching rows in B.
PK index on A1 & B1.
Why wouldn't Oracle do this w/ONE pass on both tables using PK indexes? Work area size issue? Why would we need even 100M of PGA?