On Mon, 16 Jan 2006, Anjan Kumar. A. wrote:
>
>
>
> Please observe the following queries. Why PostgreSQL is favouring MergeJoin
> eventhough, it leading to higher execution times than NestedLoopJoin. Any
> suggestions to fix this problem.
>
>
> bench=# EXPLAIN ANALYZE SELECT * FROM tenk1 t1, ten
Please observe the following queries. Why PostgreSQL is favouring MergeJoin
eventhough, it leading to higher execution times than NestedLoopJoin. Any
suggestions to fix this problem.
bench=# EXPLAIN ANALYZE SELECT * FROM tenk1 t1, tenk2 t2 WHERE t1.unique1 < 50
AND t1.unique2 = t2.unique2;