archive_command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been playing around with recovery and am a bit confused as to when this method gets invoked. At the moment, I have two servers set up, both of them with postgres installed. Lets call them server A and server B. Server A is running postgres and processing transactions. Server B has postgres installed, but the postmaster is not running. My archive_command is set to use rsync copy the wal log from server A to server B. When i'm watching the number of wal files on server A I notice sometimes there are 3 files that have not been archived, sometimes there are 4, and sometimes there are more. So, my question is, when is archive_command invoked?

Thanks in advance!
Kris

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux