LevelDB
Jeffrey Dean, Sanjay Ghemawat, Google Inc. | |
---|---|
Stable release | 1.23[1]
/ 23 February 2021 |
Repository | |
Written in | New BSD License |
Website | github |
LevelDB is an
Features
LevelDB stores keys and values in arbitrary byte arrays, and data is sorted by key. It supports batching writes, forward and backward iteration, and compression of the data via Google's Snappy compression library.
LevelDB is not an
MariaDB 10.0 comes with a storage engine which allows users to query LevelDB tables from MariaDB.[6]
History
LevelDB is based on concepts from Google's
Usage
LevelDB is used as the backend database for
Performance
Google has provided benchmarks comparing LevelDB's performance to
All the above benchmarks date back from 2011 to 2014, and may only be of historical significance as SQLite, for instance, became significantly more efficient.[14]
Bugs and reliability
LevelDB has a history of database corruption bugs.[15][16][17][18][19][20] A study from 2014 has found that, on non-checksummed file systems, the database could become corrupted after a crash or power failure.[21]
See also
References
- ^ "Release 1.23". 23 February 2021. Retrieved 13 March 2021.
- ^ "Google Research Scientists and Engineers: Jeffrey Dean". Google, Inc.
- ^ "Research Scientists and Engineers: Sanjay Ghemawat". Google, Inc.
- ReadWriteWeb. July 30, 2011. Archived from the originalon August 16, 2011. Retrieved July 30, 2011.
- ^ "Google Open Source Blog: LevelDB: A Fast Persistent Key-Value Store". Google, Inc.
- ^ LevelDB storage engine
- ^ Jeff Dean. "LevelDB mailing list: "Current Status of LevelDB"".
- ^ LevelDB. Docs.basho.com. Retrieved on 2013-09-18.
- ^ Andreas M. Antonopoulos. "Chapter 7. The Blockchain". Retrieved 8 January 2015.
- ^ "Bedrock Edition level format". Minecraft Wiki. Retrieved 24 September 2023.
- ^ "LevelDB Benchmarks". Google, Inc. Archived from the original on 2011-08-20.
- ^ "LevelDB Benchmark discussion".
- ^ Database Microbenchmarks Archived 2014-08-09 at the Wayback Machine, Symas Corp., 2012-09. Retrieved 22 October 2016
- ^ "Measuring and Reducing CPU Usage in SQLite".
- ^ Repairing LevelDB
- ^ Issues · google/leveldb · GitHub
- ^ Unrecoverable corruption in Chromium
- ^ Corruption in syncthing
- ^ Corruption after power loss
- ^ Corruption in Ethereum
- ISBN 9781931971164.