Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Estimating bandwidth required for streaming replication

$
0
0

I have an existing postgresql server that I would like to replicate to another location using streaming replication. How can I best estimate the amount of bandwidth that will be required to keep the databases reasonably synchronized, using the actual workload I have now? I've read through the pg_stat_* list but nothing jumps out at me for an overall transaction rate or amount of data written (except for pg_stat_bgwriter, which has totals since the server was last started). Would the number of buffers (which I believe are 8kB each) written according to the checkpoint log be in the correct ballpark?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>