Skip to content

Instantly share code, notes, and snippets.

@spetrunia
Created January 29, 2013 11:34
Show Gist options
  • Save spetrunia/4663605 to your computer and use it in GitHub Desktop.
Save spetrunia/4663605 to your computer and use it in GitHub Desktop.
LevelDB is an open source on-disk key-value store and is based on concepts from
Google's BigTable. It uses log-structured storage, data compression, and aims
to achieve high performance for update-heavy workloads. LevelDB is the database
that is currently embedded in Chrome, the web browser from Google.
Commonly used MySQL storage engines (like MyISAM or InnoDB) use B-Tree indexes
and in-place updates. These are proven approaches to storage, but they have
inherent limitations on number of updates per second and achievable
compression ratio. With recent changes in hardware characteristics, these
limitations become a bottleneck.
The industry has replied to these challenges by switching to log-structured
storage architectures. With LevelDB storage engine, MariaDB allows to access
log-structured storage from SQL. It is possible to INSERT/SELECT/UPDATE/DELETE
leveldb data. Multiple tables are supported, and it is possible to define
non-unique secondary indexes and use them for efficient data access.
Further plans include support for crash-safe replication and non-blocking
schema changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment