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" 
redis_server.htm
廣告
© . All rights reserved.