
rocksdb
zhangpeterx
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
rocksdb批量删除指定前缀的key或者查找指定前缀开始的key
wiki:DeleteRange · facebook/rocksdb Wiki 批量删除指定前缀的key原先的做法: Slice start, end; // set start and end auto it = db->NewIterator(ReadOptions()); for (it->Seek(start); cmp->Compare(it->key(), ...原创 2019-08-07 21:19:57 · 5178 阅读 · 0 评论 -
RocksDB 的Put操作和WriteBatch操作
直接从GitHub上clone下来RocksDB的源码。 RocksDB的put操作的声明代码在头文件include/rocksdb/db.h中: // Set the database entry for "key" to "value". // If "key" already exists, it will be overwritten. // Returns OK on suc...原创 2019-08-21 10:11:40 · 5682 阅读 · 0 评论 -
rocksdb报错解决:librocksdb.a(format.o): In function `Zlib_Uncompress':
在使用rocksdb的时候遇到了报错: build64_release.rep125/my_kv/rocksdb-6.1.2/librocksdb.a(format.o): In function `Zlib_Uncompress': /home/xxx/rocksdb-6.1.2/./util/compression.h:723: undefined reference to `inflateI...原创 2019-08-12 14:07:13 · 1328 阅读 · 0 评论