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. LevelDB vs. Oracle Berkeley DB vs. YDB

System Properties Comparison CockroachDB vs. LevelDB vs. Oracle Berkeley DB vs. YDB

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 comparisonYDB  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 storeA distributed fault-tolerant database service, with high availability, scalability, immediate consistency and ACID transactions and providing an Amazon DynamoDB compatible API
Primary database modelRelational DBMSKey-value storeKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Document store
Relational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score2.25
Rank#115  Overall
#19  Key-value stores
Score2.01
Rank#126  Overall
#21  Key-value stores
#3  Native XML DBMS
Score0.33
Rank#287  Overall
#43  Document stores
#132  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­google/­leveldbwww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlgithub.com/­ydb-platform/­ydb
ydb.tech
Technical documentationwww.cockroachlabs.com/­docsgithub.com/­google/­leveldb/­blob/­main/­doc/­index.mddocs.oracle.com/­cd/­E17076_05/­html/­index.htmlydb.tech/­en/­docs
DeveloperCockroach LabsGoogleOracle infooriginally developed by Sleepycat, which was acquired by OracleYandex
Initial release2015201119942019
Current release24.1.0, May 20241.23, February 202118.1.40, May 2020
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSDOpen Source infocommercial license availableOpen Source infoApache 2.0; commercial license available
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)
Server operating systemsLinux
macOS
Windows
Illumos
Linux
OS X
Windows
AIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
Data schemedynamic schemaschema-freeschema-freeFlexible Schema (defined schema, partial schema, schema free)
Typing infopredefined data types such as float or dateyesnonoyes
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 indexesyesnoyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infoSQL interfaced based on SQLite is availableSQL-like query language (YQL)
APIs and other access methodsJDBCRESTful HTTP API (DynamoDB compatible)
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
Go
Java
JavaScript (Node.js)
PHP
Python
Server-side scripts infoStored proceduresnononono
Triggersnonoyes infoonly for the SQL API
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
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneSource-replica replicationActive-passive shard replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACID
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.noyesno
User concepts infoAccess controlRole-based access controlnonoAccess rights defined for Yandex Cloud users

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 DBYDB
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

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

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

provided by Google News

Malicious npm 'colors' typosquats pack Discord malware
3 May 2022, Sonatype Blog

Pliops unveils XDP-Rocks for RocksDB – Blocks and Files
19 October 2022, Blocks and 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

provided by Google News

Margo Seltzer Named ACM Athena Lecturer for Technical and Mentoring Contributions
26 April 2023, HPCwire

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

Oracle buys Sleepycat Software
14 February 2006, MarketWatch

provided by Google News

Personal Data Protection Service Initiates Probe into Yandex.Go App’s Data Processing
10 August 2023, Civil Georgia

Data leak from Russian delivery app shows dining habits of the secret police
3 April 2022, The Verge

Russian Court Sues Yandex CEO For LGBT Propaganda Case
3 January 2024, VOI.ID

Yandex code leak: Why hack of ‘Russian Google’s’ ranking factors has spooked the SEO industry
1 February 2023, The Indian Express

Russian secret police data leaked by food delivery app including where they live and what they eat...
4 April 2022, The US Sun

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

Neo4j logo

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

Present your product here