Re: optimizer hints?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: optimizer hints?
Дата
Msg-id 21797.991785944@sss.pgh.pa.us
обсуждение исходный текст
Ответ на optimizer hints?  (Alex Pilosov <alex@pilosoft.com>)
Ответы Re: optimizer hints?
Список pgsql-general
Alex Pilosov <alex@pilosoft.com> writes:
> Example: Index scan when data in index is stored in approximately same
> order in physical table will be fast. Index scan when index order does not
> match table order will be slow. I don't see a way you can explain _that_
> to optimizer, nor I really want to.

Precisely why you should leave it to the optimizer to figure
these things out for itself.  Curiously enough, there is a
physical-order-correlation statistic in pg_statistic now ;-)

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: FWD: 2nd OSDN DB Summit Call For Papers
Следующее
От: Alex Pilosov
Дата:
Сообщение: Re: optimizer hints?