Re: How to get the optimizer to use an index with multiple fields

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: How to get the optimizer to use an index with multiple fields
Дата
Msg-id 20030428133244.K66185@flake.decibel.org
обсуждение исходный текст
Ответ на How to get the optimizer to use an index with multiple fields  ("Jim C. Nasby" <jim@nasby.net>)
Список 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 по дате отправления:

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: How to get the optimizer to use an index with multiple fields
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: How to get the optimizer to use an index with multiple