| От | Tom Lane |
|---|---|
| Тема | Re: Slow tab completion (7.4) |
| Дата | |
| Msg-id | 8521.1103903074@sss.pgh.pa.us обсуждение |
| Ответ на | Slow tab completion (7.4) (Rod Taylor <rbt@sitesell.com>) |
| Список | pgsql-hackers |
Rod Taylor <rbt@sitesell.com> writes:
> It seems that with more than a few thousand structures in pg_class, tab
> completion seems to take quite a long time in the en_US locale.
> Simply switching the where clauses around gets a substantial performance
> increase.
Hm. There's no guarantee that the planner will evaluate the WHERE
clauses in the same order you write them, but it does seem to work that
way for these particular queries at the moment, so we may as well write
the clauses in the best order. You're right that the foo_is_visible()
family of functions are pretty slow...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера