I am writing the subquery chapter of the book. Tom, you once mentioned
you could get subqueries to use HASH joins, but you didn't because
someone said it may a run out of memory.
I would suggest that if it is that large a subquery, our nested loop
handling will take forever, so would never finish anyway, unless the
outer query has only a few rows.
Tom, does it still look easy to change, and if so, can you change it to
hash? I know the real fix is for multiple target lists.
I would rather not have to go mention a serious performance workaround
in the book, because the limitation would be published perhaps for many
years.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026