成都网站建设设计

将想法与焦点和您一起共享

【Redis】redis解析rdb文件,内存排序等-创新互联

工具git地址为https://github.com/sripathikrishnan/redis-rdb-tools
解析rdf文件
  1. > rdb --command json /var/redis/6379/dump.rdb

  2. [{
  3. "user003":{"fname":"Ron","sname":"Bumquist"},
  4. "lizards":["Bush anole","Jackson's chameleon","Komodo dragon","Ground agama","Bearded dragon"],
  5. "user001":{"fname":"Raoul","sname":"Duke"},
  6. "user002":{"fname":"Gonzo","sname":"Dr"},
  7. "user_list":["user003","user002","user001"]},{
  8. "baloon":{"helium":"birthdays","medical":"angioplasty","weather":"meteorology"},
  9. "armadillo":["chacoan naked-tailed","giant","Andean hairy","nine-banded","pink fairy"],
  10. "aroma":{"pungent":"vinegar","putrid":"rotten eggs","floral":"roses"}}]

网站标题:【Redis】redis解析rdb文件,内存排序等-创新互联
当前链接:http://chengdu.cdxwcx.cn/article/jhgoh.html