Re: Simple Join - Mailing list pgsql-performance

From Mark Kirkwood
Subject Re: Simple Join
Date
Msg-id 43A12609.70208@paradise.net.nz
Whole thread Raw
In response to Re: Simple Join  (Kevin Brown <blargity@gmail.com>)
List pgsql-performance
Kevin Brown wrote:
> On Wednesday 14 December 2005 18:36, you wrote:
>
>>Well - that had no effect at all :-) You don't have and index on
>>to_ship.ordered_product_id do you? - try adding one (ANALYZE again), and
>>let use know what happens (you may want to play with SET
>>enable_seqscan=off as well).
>
>
> I _DO_ have an index on to_ship.ordered_product_id.  It's a btree.
>

Sorry - read right past it!

Did you try out enable_seqscan=off? I'm interested to see if we can get
8.1 bitmap anding the three possibly useful columns together on
ordered_products and *then* doing the join to to_ship.

Cheers

Mark

pgsql-performance by date:

Previous
From: Kevin Brown
Date:
Subject: Re: Simple Join
Next
From: Mitch Skinner
Date:
Subject: Re: Simple Join