Re: Query optimization / automatic re-ordering of tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query optimization / automatic re-ordering of tables
Дата
Msg-id 25988.1153320564@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query optimization / automatic re-ordering of tables  ("Verena Ruff" <lists@triosolutions.at>)
Ответы Re: Query optimization / automatic re-ordering of tables  ("Verena Ruff" <lists@triosolutions.at>)
Список pgsql-novice
"Verena Ruff" <lists@triosolutions.at> writes:
> The WHERE clause is created dynamically and may contain fields of each
> table which is part of the join, so I can't just change the order of the
> tables in my code to get the best result. Is there a way to make those
> optimizations (re-ordering of tables) automatically?

CVS HEAD (PG 8.2 to be) is reasonably bright about re-ordering left
joins, but no current release tries to do it at all...

            regards, tom lane

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

Предыдущее
От: "Glenn"
Дата:
Сообщение: wild cards in pg_hba.conf
Следующее
От: Tom Lane
Дата:
Сообщение: Re: case-insensitive Index