| От | Hannu Krosing |
|---|---|
| Тема | Re: pl/pgsql slowness |
| Дата | |
| Msg-id | 3A1959F9.26B53770@tm.ee обсуждение исходный текст |
| Ответ на | pl/pgsql slowness (Hannu Krosing <hannu@tm.ee>) |
| Список | pgsql-hackers |
Tom Lane wrote: > > Hannu Krosing <hannu@tm.ee> writes: > > Is it normal that a query that takes <1 sec when executed from psql > > prompt takes > 15 sek when executed from a function > > No. I can't reproduce the quoted misbehavior under either 7.0.2 or > current sources; your example takes ~1 sec either way for me. Sorry, my fault. I ran the queries over two similar tables, but the slow one had several huge indexes on it. They had grown huge over time and vacuum did nothing to reduce them. So it seems that it had nithing to do with plpgsql. ----------- Hannu
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера