Hi again

[..]

>
>                                QUERY PLAN
> -------------------------------------------------------------------------
>  Seq Scan on orders  (cost=0.00..12184.14 rows=29526 width=33)
>    Filter: (NOT (hashed subplan))
>    SubPlan
>      ->  Seq Scan on orders_items  (cost=0.00..0.00 rows=1 width=33)
>
> After the vacuum, the plan is like this:
>
>                                    QUERY PLAN
> --------------------------------------------------------------------------------
>  Seq Scan on fsi_orders  (cost=0.00..40141767.46 rows=29526 width=33)
>    Filter: (NOT (subplan))
>    SubPlan
>      ->  Seq Scan on fsi_orders_items  (cost=0.00..1208.12 rows=60412
> width=33)
>

This, of course, should be "orders", not "fsi_orders", and "orders_items",
not "fsi_orders_items". Sorry for the confusion.

Additional info: I'm running PostgreSQL 7.4.8.

Thanks,
Guðmundur.


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to