Redis-server-sync

提供:Dev Guides
移動先:案内検索

Redis-サーバー同期コマンド

Redis SYNC コマンドは、スレーブをマスターに同期するために使用されます。

戻り値

単純な文字列応答。

構文

以下は、Redis SYNC コマンドの基本的な構文です。

redis 127.0.0.1:6379> SYNC

redis 127.0.0.1:6379> SYNC
Entering slave output mode...  (press Ctrl-C to quit)
SYNC with master, discarding 18 bytes of bulk transfer...
SYNC done. Logging commands from master.
"PING"
"PING"
"PING"
"PING"