levelDB
weiwei200
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mac OSX环境操作levelDB
# 适用于写多读少场景 # 安装 $ brew install snappy $ gem install leveldb $ irb -r leveldb db = LevelDB::DB.new '/Users/pengwei/Desktop/level_test' # 创建数据库 # 读/写 db.put('hello', 'world') #写 db.get('hello')...原创 2019-03-11 10:36:07 · 2245 阅读 · 0 评论 -
python连接levelDB
安装 $ brew install leveldb $ pip install cython # plyvel需要用到c环境 $ pip install plyvel # python 连接leveldb模块 plyvel源码:https://github.com/wbolster/plyvel plyvel操作文档:https://plyvel.readthedocs.io/en/l...原创 2019-03-11 10:38:54 · 2894 阅读 · 0 评论
分享