On 20/6/19 12:40 π.μ., Pavan Kumar
wrote:
No tool that is based on archiving is able to do that. Incomplete wals don't get archived till they are complete. So, you have the risk of losing (maximum) 16MB worth of data. If you want to minimize the effect of this, you should set https://www.postgresql.org/docs/11/runtime-config-wal.html#GUC-ARCHIVE-TIMEOUT ( archive_timeout )
to a smaller value .In order to achieve zero data loss, in general, you have to use a tool that can support synchronous streaming replication. For an overview you may look here : https://severalnines.com/blog/current-state-open-source-backup-management-postgresql
-- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt |