Redis 伺服器
Redis Sync 指令用于同步主從伺服器。
文法
redis SYNC 指令基本文法如下:
redis 127.0.0.1:6379> SYNC
可用版本
>= 1.0.0
傳回值
不明确。
執行個體
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"
Redis 伺服器