【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://myzitong.com/article/jhgoh.html