database - Too many WAL archive file created in postgres -


i have configured file base - log shipping replication in postgresql 9.4. have default checkpint after every 5min , wal size of 16mb. however, postgresql send 16mb of file after every 1sec. normal? feel it's of network traffic. there way improve apart zipping logs? how control log shipping frequency ? in advance !

sent 16779372 bytes  received 31 bytes  11186268.67 bytes/sec total size 16777216  speedup 1.00 sending incremental file list 000000010000002d00000065  sent 16779372 bytes  received 31 bytes  11186268.67 bytes/sec total size 16777216  speedup 1.00 sending incremental file list 000000010000002d00000066 

i realized archive_timeout set 10 sec. hence creating many wal file copies. updated archive_timeout = 60 make sure archive wal segment after 1 min.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -