From: Mark Kirkwood <markir@paradise.net.nz>
To: Kevin Brown <blargity@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Simple Join
Date: Thu, 15 Dec 2005 21:15:05 +1300
Message-ID: <43A12609.70208@paradise.net.nz> (raw)
In-Reply-To: <200512150146.06336.blargity@gmail.com>
References: <200512141603.52583.blargity@gmail.com>
<200512141752.45866.blargity@gmail.com>
<43A0BA70.8000802@paradise.net.nz>
<200512150146.06336.blargity@gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: markir@paradise.net.nz, blargity@gmail.com
Subject: Re: Simple Join
In-Reply-To: <43A12609.70208@paradise.net.nz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox