| От | Kevin Grittner |
|---|---|
| Тема | Re: postgresql performance |
| Дата | |
| Msg-id | 47CE6BDC.EE98.0025.0@wicourts.gov обсуждение |
| Ответ на | Re: postgresql performance ("Steinar H. Gunderson" <sgunderson@bigfoot.com>) |
| Список | pgsql-performance |
>>> On Wed, Mar 5, 2008 at 4:39 AM, in message <20080305103945.GA3673@uio.no>, "Steinar H. Gunderson" <sgunderson@bigfoot.com> wrote: > it's pretty obvious that you > haven't vacuumed in a very long time. Run VACUUM FULL on your tables If you use VACUUM FULL, you should probably throw in ANALYZE with it, and REINDEX, too. An alternative that is probably faster, but which requires that you have enough free space for a temporary additional copy of the data, is to CLUSTER the bloated tables, which automatically takes care of the indexes, but requires a subsequent ANALYZE. > regular (non-FULL) VACUUMs or enable autovacuum. Absolutely! -Kevin
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера