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
обсуждение исходный текст
Ответ на Re: Optimizer seems to be way off, why?  (John A Meinel <john@arbash-meinel.com>)
Список pgsql-performance
John A Meinel <john@arbash-meinel.com> 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
Дата:
Сообщение: What is best way to stream terabytes of data into postgresql?
Следующее
От: "Frank Wosczyna"
Дата:
Сообщение: Re: What is best way to stream terabytes of data into