February 2018
Intermediate to advanced
382 pages
11h 33m
English
$ cat conf/redis.conf |egrep "^save|^append" save 900 1 save 300 10 save 60 10000 appendonly yes appendfilename "appendonly.aof" appendfsync everysec
127.0.0.1:6379> DEBUG POPULATE 1000000 OK (1.61s) 127.0.0.1:6379> SAVE OK 127.0.0.1:6379> BGREWRITEAOF Background append only file rewriting started 127.0.0.1:6379> SET FOO BAR OK
$ ls -l dump.rdb appendonly.aof ...
Read now
Unlock full access