スレーブの 1 つがレプリケーションで遅れて実行されています。これが発生した場合は、slony を再起動することをお勧めします。再起動するにはどのような手順を踏む必要がありますか?
ありがとう、シャラド
スレーブの 1 つがレプリケーションで遅れて実行されています。これが発生した場合は、slony を再起動することをお勧めします。再起動するにはどのような手順を踏む必要がありますか?
ありがとう、シャラド
Slony のインストール方法によって異なります。たとえば、Debian パッケージがある場合は、通常の/etc/init.d/slony1 restart
.
たとえば、Postgres インストール ディレクトリの bin ディレクトリに slony 関連のバイナリがあります -> /usr/pgsql-9.3/bin/slon_kill を使用できます
slon_kill --help
Usage: slon_kill [--config file] [-w|--watchdog]
--config file Location of the slon_tools.conf file
-w
--watchdog Only kill the watchdog process(es)
Kills all running slon and slon_watchdog on this machine for every
node in the cluster.