| От | alison@mirrabooka.com (Alison Winters) |
|---|---|
| Тема | Re: lots of updates on small table |
| Дата | |
| Msg-id | 43178D80.nail2T711S8W7@pluto.mirrabooka.com обсуждение исходный текст |
| Ответ на | Re: lots of updates on small table (alison@mirrabooka.com (Alison Winters)) |
| Список | pgsql-performance |
Just to dig up an old thread from last month: In case anyone was wondering we finally got a free day to put in the new version of the software, and it's greatly improved the performance. The solutions we employed were as follows: - recompile everything with ecpg -t for auto-commit - vacuum run by cron every 15 minutes - vacuum full analyze AND a reindex of the table in question run by cron once per day I also went through and double-checked everywhere where we opened a cursor to make sure it was always closed when we were done. This seems to have fixed up the endlessly growing indexes and slower and slower updates. Thanks to everyone who helped out. Alison
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера