Search Postgresql Archives

Re: Minimizing disk space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian von Bidder <avbidder@xxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux