leveldb 是什么东东?

leveldb 

A fast and lightweight Key/Value database library by Google. (Leveldb是一个google实现的非常高效的kv数据库)


特点:

1、Keys and values are arbitrary byte arrays.

2、Data is stored sorted by key.

3、Callers can provide a custom comparison function to override the sort order.

4、The basic opteration are Put (key and value), Get (key), Delete (key). 

5 、Multiple changes can be made in one atomic batch.

6、Users can create a transient snapshot to get a consistent view of data

7、Forward and backward iteration is supported over the data

8、Data is automatically compressed using the Snappy compression library.

9、External activity is relayed through a virtual interface so users can customize the operatting system interations.

10、Detailed documentation about how to use the library is included with the source code.


局限性:

不是SQL数据库,没有关联数据模型,不支持索引和查询

单进程


参考网址:http://code.google.com/p/leveldb/


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值