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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -