add leveldb base batch usage