| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера