Re: How to get the optimizer to use an index with multiple fields - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: How to get the optimizer to use an index with multiple fields
Date
Msg-id 20030428133244.K66185@flake.decibel.org
Whole thread Raw
In response to How to get the optimizer to use an index with multiple fields  ("Jim C. Nasby" <jim@nasby.net>)
List pgsql-performance
On Mon, Apr 28, 2003 at 01:21:43PM -0500, Jim C. Nasby wrote:
> I tried changing this to an EXISTS and it takes over a minute. So in
> this case, the range of runtimes is ~4 seconds (building the temp table
> takes ~0.25 seconds) to over a minute.

BTW, I forgot to mention that building the temp table only takes 0.25
seconds if I first disable sequential scans. :/
--
Jim C. Nasby (aka Decibel!)                    jim@nasby.net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"


pgsql-performance by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: How to get the optimizer to use an index with multiple fields
Next
From: "scott.marlowe"
Date:
Subject: Re: How to get the optimizer to use an index with multiple