public void RocksdbInsert() { using (var batch = new rdb.WriteBatch()) { for (int i = 0; i < 10; i++) { batch.Put(new byte[] { 1 }.Concat(BitConverter.GetBytes(ldbInsertCount++)).ToArray(), data); } rocksdb.Write(batch); } }