DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

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

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

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.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 DBMSRelational 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.15
Rank#55  Overall
#33  Relational DBMS
Score4.71
Rank#69  Overall
#37  Relational DBMS
Score2.35
Rank#111  Overall
#19  Key-value stores
Score2.21
Rank#117  Overall
#20  Key-value stores
#3  Native XML DBMS
Score4.10
Rank#82  Overall
#9  Key-value stores
Websitewww.cockroachlabs.comdb.apache.org/­derbygithub.com/­google/­leveldbwww.oracle.com/­database/­technologies/­related/­berkeleydb.html
Technical documentationwww.cockroachlabs.com/­docsdb.apache.org/­derby/­manuals/­index.htmlgithub.com/­google/­leveldb/­blob/­main/­doc/­index.mddocs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.tiot.jp/­riak-docs/­riak/­kv/­latest
DeveloperCockroach LabsApache Software FoundationGoogleOracle infooriginally developed by Sleepycat, which was acquired by OracleOpenSource, formerly Basho Technologies
Initial release20151997201119942009
Current release23.1.1, May 202310.17.1.0, November 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 infoApache version 2Open Source infoBSDOpen Source infocommercial license availableOpen Source infoApache version 2, commercial enterprise edition
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoJavaC++C, Java, C++ (depending on the Berkeley DB edition)Erlang
Server operating systemsLinux
macOS
Windows
All OS with a Java VMIllumos
Linux
OS X
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
OS X
Data schemedynamic schemayesschema-freeschema-freeschema-free
Typing infopredefined data types such as float or dateyesyesnonono
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.noyesnoyes infoonly with the Berkeley DB XML editionno
Secondary indexesyesyesnoyesrestricted
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnoyes infoSQL interfaced based on SQLite is availableno
APIs and other access methodsJDBCJDBCHTTP API
Native Erlang Interface
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaC++
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 proceduresnoJava Stored ProceduresnonoErlang
Triggersnoyesnoyes 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 RAFTnonenonenoneSharding infono "single point of failure"
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTSource-replica replicationnoneSource-replica replicationselectable replication factor
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency
Foreign keys infoReferential integrityyesyesnonono infolinks between data sets can be stored
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infowith automatic compression on writesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardnonoyes, 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
CockroachDBDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBLevelDBOracle Berkeley DBRiak KV
Recent citations in the news

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

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

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

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

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google News

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

The Arrival of Java 20
21 March 2023, Oracle

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Apache® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

No, Citrix did not kill CloudStack
15 September 2014, InfoWorld

provided by Google News

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

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

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

Rust-Based Info Stealers Abuse GitHub Codespaces
19 May 2023, Trend Micro

provided by Google News

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

Margo I. Seltzer | Berkman Klein Center
18 August 2020, Berkman Klein Center

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

How to store financial market data for backtesting
26 January 2019, Towards Data Science

The importance of bitcoin nodes and how to start one
9 May 2014, The Merkle News

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

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

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

Present your product here