News for hackers. Stuff that matters.
Re:From 1.5 GB to 50 MB: The Story of my Redis Database by ksri on Thursday March 21, 2013 @01:45PM (#5417267)
antirez - Author of redis-rdb-tools here. Would you be interested in a patch that adds profiling support to redis-cli?

My approach is to parse the rdb file so that the running server isn't affected. It approximates memory usage, but is fairly representative.

Re:From 1.5 GB to 50 MB: The Story of my Redis Database by antirez on Thursday March 21, 2013 @02:47PM (#5417751)
Thanks ksri, that would be very welcomed.

I think a viable design would be to put into redis-cli only things that are network oriented, so we should actually merge the functionality of your current tool into redis-check-rdb, that should be renamed just redis-rdb, with the following features:

1) Everything redis-rdb-tools is currently able to do.

2) Sanity checks of RDB files, like redis-check-rdb is doing already.

Makes sense? Thanks again, this would be very very appreciated.

Re:From 1.5 GB to 50 MB: The Story of my Redis Database by ksri on Thursday March 21, 2013 @11:28PM (#5421218)
Definitely makes sense! I'll start looking into this.