| От | Tom Lane |
|---|---|
| Тема | Re: Minimizing disk space |
| Дата | |
| Msg-id | 2984.1262794216@sss.pgh.pa.us обсуждение |
| Ответ на | Minimizing disk space (Adrian von Bidder <avbidder@fortytwo.ch>) |
| Список | pgsql-general |
Adrian von Bidder <avbidder@fortytwo.ch> writes:
> With our test dump, the db (after import) is ca. 300M on disk, ca. half in
> WAL files (pg_xlog.) If I could mostly get rid of the WAL (keep it to a
> bare minimum and run pg without fsync, something like that), the remaining
> 160 to 180M would be ok.
checkpoint_segments is the main tunable determining the amount of WAL
space. Lowering it will increase the amount of write activity, but
for a ramdisk I don't think you care.
Depending on your usage patterns, it might be worth making autovacuum
more aggressive to ensure that table bloat stays under control.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера