嵌入式k/v数据库-hamsterdb
hamsterdb是一个采用C开发,非常快,轻量级,高度可配置的嵌入式数据库引擎,支持多个平台并在多种协议下授权使用。
hamsterdb is a lightweight embedded "NoSQL" key-value store. It concentrates on ease of use, high performance, stability and scalability.
hamsterdb 包括的B+树变长密钥和记录。它支持内存中的数据库和字节独立的文件,数据库,游标,多个数据库在一个文件中,“记录”数据库,重复键。支持的平台包括:Unix、Linux、Windows、Windows CE 。
Features
Ease of Use
The hamsterdb API is simple and self-documenting. Extensive documentation, FAQ and a tutorial are provided. The interface is similar to other widely-used database engines. APIs for Java, Python, .NET (i.e. C#, VB.NET) and Erlang are also available.
High Performance
Fast algorithms and data structures guarantee high performance for all scenarios. The implementation of these algorithms minimizes disk access and operating system calls (i.e. memory allocations). Data structures try to take advantage of modern CPU caches. Memory mapped file operations are preferred to the slower read/write I/O.
Mature and Production Proof
hamsterdb has a mature code base which is in development since 2004. More than 1800 unittests and 45000 acceptance tests verify high quality. Applications using hamsterdb are deployed on tens of millions of desktops, but also on cloud instances, cell phones and other embedded devices.
Portability
Written in standard C/C++, hamsterdb runs or has been reported to run on many architectures: Intel-compatible (x86, x64), PowerPC, SPARC, ARM, RISC and others. The file format is endian-independent.
Feature Rich
hamsterdb is slim and lightweight and still offers all the features that you would expect from an embedded database, including transactions, recovery, cursors, in-memory databases, duplicate keys, auto-incrementing keys ("Record numbers"), remote databases with an embeddable http-based server (or a standalone http daemon) and many other features.
Fair Licensing
hamsterdb licensing follows the "quid pro quo" rule. hamsterdb is released under two licenses: the Open Source GPL license and a proprietary, commercial closed-source alternative. Exceptions for other open source licenses (i.e. Apache, BSD, Zlib) are also available.
最新版本:2.1
此版本为可变长密钥和复制密钥添加了自定义 Btree 布局;记录可直接存储在 Btree leaf 上;代码和预编译 Win32/Win64 现已提供下载。
官方主页:http://hamsterdb.com/