Reliable and efficient key–value database for Linux? [closed]

LMDB is the most memory-efficient database around
http://symas.com/mdb/inmem/

and also proven to be the most reliable – completely crash-proof.
http://wisdom.cs.wisc.edu/workshops/spring-14/talks/Thanu.pdf

Of the ones you’ve mentioned, Tokyo Cabinet has documented corruption issues
https://www.google.com/search?q=cfengine+tokyo+cabinet+corruption

BerkeleyDB also has well-documented corruption issues, as does Bitcask. (And bitcask is an in-memory-only DB anyway, so useless for your 1MB RAM requirement.)

LMDB is also well-supported in Python, with a couple different bindings available.
https://github.com/dw/py-lmdb/
https://github.com/tspurway/pymdb-lightning

Disclaimer – I am the author of LMDB. But these are documented facts: LMDB is the smallest, most efficient, and most reliable key/value store in the world and nothing else comes anywhere close.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)