Latest web development tutorials

คำสั่ง Redis ซิงค์

เซิร์ฟเวอร์ Redis

Redis ซิงค์คำสั่งที่ใช้ในการประสานหลักและทาสเซิร์ฟเวอร์

ไวยากรณ์

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