工具git地址为https://github.com/sripathikrishnan/redis-rdb-tools
解析rdf文件
- > rdb --command json /var/redis/6379/dump.rdb
-
- [{
- "user003":{"fname":"Ron","sname":"Bumquist"},
- "lizards":["Bush anole","Jackson's chameleon","Komodo dragon","Ground agama","Bearded dragon"],
- "user001":{"fname":"Raoul","sname":"Duke"},
- "user002":{"fname":"Gonzo","sname":"Dr"},
- "user_list":["user003","user002","user001"]},{
- "baloon":{"helium":"birthdays","medical":"angioplasty","weather":"meteorology"},
- "armadillo":["chacoan naked-tailed","giant","Andean hairy","nine-banded","pink fairy"],
- "aroma":{"pungent":"vinegar","putrid":"rotten eggs","floral":"roses"}}]
本文题目:【Redis】redis解析rdb文件,内存排序等-创新互联
链接地址:
http://www.cdkjz.cn/article/jhgoh.html