add batch process of leveldb.