compare redis key amount and leveldb key amount