Re: Optimizer seems to be way off, why?

Поиск
Список
Период
Сортировка
Искать
От
Greg Stark
Тема
Re: Optimizer seems to be way off, why?
Дата
Msg-id
87vf34cdu6.fsf@stark.xeocode.com
Ответ на
Список
Дерево обсуждения
Optimizer seems to be way off, why? Dirk Lutzebäck <lutzeb@aeccom.com>
Re: Optimizer seems to be way off, why? Richard Huxton <dev@archonet.com>
Re: Optimizer seems to be way off, why? Dirk Lutzebäck <lutzeb@aeccom.com>
Re: Optimizer seems to be way off, why? John A Meinel <john@arbash-meinel.com>
Re: Optimizer seems to be way off, why? Greg Stark <gsstark@mit.edu>

John A Meinel  writes:

> Now if you created the index on b(r,c), then it would have a much better
> idea of how selective that would be. At the very least, it could index
> on (r,c) rather than indexing on (r) and filtering by (c).

There has been some discussion of adding functionality like this but afaik no
version of Postgres actually does this yet.

Adding the index may still help though.



-- 
greg
В списке pgsql-performance по дате отправления
От: Jeffrey Tenny
Дата:
От: Frank Wosczyna
Дата:
FAQ