1

スレーブの 1 つがレプリケーションで遅れて実行されています。これが発生した場合は、slony を再起動することをお勧めします。再起動するにはどのような手順を踏む必要がありますか?

ありがとう、シャラド

4

2 に答える 2

3

Slony のインストール方法によって異なります。たとえば、Debian パッケージがある場合は、通常の/etc/init.d/slony1 restart.

于 2011-01-04T20:04:55.357 に答える
0

たとえば、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.
于 2014-05-22T13:57:57.737 に答える