DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. LevelDB vs. Oracle Berkeley DB vs. Riak KV

System Properties Comparison CockroachDB vs. LevelDB vs. Oracle Berkeley DB vs. Riak KV

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLevelDB  Xexclude from comparisonOracle Berkeley DB  Xexclude from comparisonRiak KV  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.Embeddable fast key-value storage library that provides an ordered mapping from string keys to string valuesWidely used in-process key-value storeDistributed, fault tolerant key-value store
Primary database modelRelational DBMSKey-value storeKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Key-value store infowith links between data sets and object tags for the creation of secondary indexes
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score2.75
Rank#107  Overall
#19  Key-value stores
Score2.52
Rank#114  Overall
#20  Key-value stores
#3  Native XML DBMS
Score4.44
Rank#80  Overall
#9  Key-value stores
Websitewww.cockroachlabs.comgithub.com/­google/­leveldbwww.oracle.com/­database/­technologies/­related/­berkeleydb.html
Technical documentationwww.cockroachlabs.com/­docsgithub.com/­google/­leveldb/­blob/­main/­doc/­index.mddocs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperCockroach LabsGoogleOracle infooriginally developed by Sleepycat, which was acquired by OracleOpenSource, formerly Basho Technologies
Initial release2015201119942009
Current release23.1.1, May 20231.23, February 202118.1.40, May 20203.2.0, December 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSDOpen Source infocommercial license availableOpen Source infoApache version 2, commercial enterprise edition
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++C, Java, C++ (depending on the Berkeley DB edition)Erlang
Server operating systemsLinux
macOS
Windows
Illumos
Linux
OS X
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
OS X
Data schemedynamic schemaschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesnonono
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nonoyes infoonly with the Berkeley DB XML editionno
Secondary indexesyesnoyesrestricted
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infoSQL interfaced based on SQLite is availableno
APIs and other access methodsJDBCHTTP API
Native Erlang Interface
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C++
Go
Java info3rd party binding
JavaScript (Node.js) info3rd party binding
Python info3rd party binding
.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Server-side scripts infoStored proceduresnononoErlang
Triggersnonoyes infoonly for the SQL APIyes infopre-commit hooks and post-commit hooks
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTnonenoneSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneSource-replica replicationselectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesnonono infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes infowith automatic compression on writesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlRole-based access controlnonoyes, using Riak Security

More information provided by the system vendor

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
CockroachDBLevelDBOracle Berkeley DBRiak KV
Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, Yahoo Finance

provided by Google News

LevelDB in Ruby — SitePoint
22 October 2014, SitePoint

Microsoft Teams stores auth tokens as cleartext in Windows, Linux, Macs
14 September 2022, BleepingComputer

Pliops unveils XDP-Rocks for RocksDB – Blocks and Files
19 October 2022, Blocks and Files

XanMod, Liquorix Kernels Offer Some Advantages On AMD Ryzen 5 Notebook
26 July 2021, Phoronix

Threat Thursday: BlackGuard Infostealer Rises from Russian Underground Markets
21 April 2022, BlackBerry Blog

provided by Google News

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

A Quick Look at Open Source Databases for Mobile App Development
29 April 2018, Open Source For You

Motorola A780 Linux based smartphone to have mobile database
14 September 2004, Geekzone

Squid 5.1 arrives after three years of development and these are its novelties
14 October 2021, Desde Linux

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Basho distributes Riak to more customers - DCD
28 November 2013, DatacenterDynamics

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Present your product here