Re: Slow tab completion w/ lots of tables

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Slow tab completion w/ lots of tables
Дата
Msg-id 20120821173610.GK1267@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Slow tab completion w/ lots of tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Um ... I don't see any difference in the clause ordering from 8.2
> forward.  "SELECT * FROM baz<TAB>" produces a query like this in 8.2:

Odd..  I could have sworn I saw a difference in the query generated,
but perhaps I just assumed it was reordered, since it ends up ordered
differently in the actual plans:

8.2: http://explain.depesz.com/s/449
9.1: http://explain.depesz.com/s/03O

Increasing the cost of pg_table_is_visible() caused it to move that test
to the end again (under 9.1), which improved the performance (though I'm
sure having a usable index would help a great deal more..).
Thanks,
    Stephen

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Slow tab completion w/ lots of tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Slow tab completion w/ lots of tables