Re:Wal-E: Continuous Archiving for Postgres
by user5994461 on Sunday February 05, 2017 @05:05PM
(#13574930)
There is a setting for the time interval. That's not the point. I'm not gonna delay replication and backup by minutes just because the replication system sucks. I'd rather pay the storage for my use case.
Compression is enabled indeed. Surprisingly, the compression ratio for "nothing going on" is terrible. (still multiple MBytes).
The next version of postgre will redo the transaction log to have dynamic adaptive sizing, with new settings to control it. Not there yet.
Re:Wal-E: Continuous Archiving for Postgres
by icebraining on Sunday February 05, 2017 @05:38PM
(#13575122)
AFAIK the dynamic WAL sizing has already landed in 9.5: http://www.databasesoup.com/2016/01/configuration-changes-in...
Or is this something else you're talking about?
Re:Wal-E: Continuous Archiving for Postgres
by user5994461 on Monday February 06, 2017 @01:52PM
(#13582671)
Yes, I'm talking about that and it's in 9.5 (which was released recently)
Apparently PG 10 will improve your use case, though: http://paquier.xyz/postgresql-2/postgres-10-checkpoint-skip/
EDIT: Also, wal-e compresses by default, so even those regular WAL files should be much smaller than 10MB. Are you sure the DB is really idle?