LevelDB is an open-source fast key-value storage library which offers an ordered mapping from string values to string keys.
In other words, LevelDBprovides a persistent key value store with arbitrary byte array keys and values. Also, the keys are ordered based on a user-specified comparator function.
LevelDB is cross-platform and it works on Mac OS X, Windows and Linux.
Detailed instructions on how to install and use the LevelDB utility on your Mac are available HERE.
Here are some key features of "LevelDB":
· Callers can provide a custom comparison function to override the sort order
· The basic operations are Put(key,value), Get(key), Delete(key)
· Multiple changes can be made in one atomic batch
· Keys and values are arbitrary byte arrays
· Data is stored sorted by key
· Users can create a transient snapshot to get a consistent view of data
· Forward and backward iteration is supported over the data
· Uses Snappy library to automatically compress data
· External activity is relayed through a virtual interface
· Comprehensive documentation
What's New in This Release: [ read full changelog ]
· Fixes issues: 147, 153, 156, 166
· Additionally,
· Remove calls to exit(1).
· Fix unused-variable warnings from clang.
· Fix possible overflow error related to num_restart value >= (2^32/4).
· Add leveldbutil to .gitignore.
· Add better log messages when Write is stalled on a compaction.