DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > CockroachDB vs. LevelDB vs. Redis vs. YugabyteDB

System Properties Comparison CockroachDB vs. LevelDB vs. Redis vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonLevelDB  Xexclude from comparisonRedis  Xexclude from comparisonYugabyteDB  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 valuesPopular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.High-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.
Primary database modelRelational DBMSKey-value storeKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMS
Secondary database modelsDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
Document store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score2.33
Rank#111  Overall
#19  Key-value stores
Score149.43
Rank#6  Overall
#1  Key-value stores
Score2.48
Rank#108  Overall
#53  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­google/­leveldbredis.com
redis.io
www.yugabyte.com
Technical documentationwww.cockroachlabs.com/­docsgithub.com/­google/­leveldb/­blob/­main/­doc/­index.mddocs.redis.com/­latest/­index.html
redis.io/­docs
docs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperCockroach LabsGoogleRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Yugabyte Inc.
Initial release2015201120092017
Current release24.1.0, May 20241.23, February 20217.2.5, May 20242.19, September 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSDOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoApache 2.0
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.
YugabyteDB Managed is the fully managed database-as-a-service offering of YugabyteDB. Get started quickly, and effortlessly ensure continuous availability and limitless scale of your cloud native applications.
Implementation languageGoC++CC and C++
Server operating systemsLinux
macOS
Windows
Illumos
Linux
OS X
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Linux
OS X
Data schemedynamic schemaschema-freeschema-freedepending on used data model
Typing infopredefined data types such as float or dateyesnopartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyes
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.nononono
Secondary indexesyesnoyes infowith RediSearch moduleyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnowith RediSQL moduleyes, PostgreSQL compatible
APIs and other access methodsJDBCproprietary protocol infoRESP - REdis Serialization ProtocolJDBC
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
YSQL - a fully relational SQL API that is wire compatible with the SQL language in PostgreSQL
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
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
C
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Scala
Server-side scripts infoStored proceduresnonoLua; Redis Functions coming in Redis 7 (slides and Github)yes infosql, plpgsql, C
Triggersnonopublish/subscribe channels provide some trigger functionality; RedisGearsyes
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 RAFTnoneSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingHash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
Based on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Strong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesnonoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoAtomic execution of command blocks and scripts and optimistic lockingDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyesyes infowith automatic compression on writesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes infobased on RocksDB
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 controlnoAccess Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
yes
More information provided by the system vendor
CockroachDBLevelDBRedisYugabyteDB
Specific characteristicsYugabyteDB is an open source distributed SQL database for cloud native transactional...
» more
Competitive advantagesPostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....
» more
Typical application scenariosSystems of record and engagement for cloud native applications that require resilience,...
» more
Market metrics2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...
» more
Licensing and pricing modelsApache 2.0 license for the database
» more

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

Redisson PRO: The ultra-fast Redis Java Client.
» more

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

More resources
CockroachDBLevelDBRedisYugabyteDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

Cockroach Labs Shifts from Open Core to Single Enterprise Model
19 August 2024, Datanami

provided by Google News

Inside the "Fallguys" malware that steals your browsing data and gaming IMs; continued attack on open source software
2 September 2020, Sonatype Blog

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

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

RocksDB - Facebook's Database Now Open Source
21 November 2013, iProgrammer

LinkedIn Open Sources PalDB, a Read-only Key-value Store
27 October 2015, InfoQ.com

provided by Google News

Majority of Redis users considering alternatives after less permissive licensing move
20 September 2024, The Register

Redis debuts new data integration and AI features for its database
23 August 2024, SiliconANGLE News

Flight to Valkey appears to be response to removal of Redis’ open source license
12 September 2024, Techzine Europe

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, Business Wire

After changing its license, Redis drops its biggest release yet
23 August 2024, TechCrunch

provided by Google News

YugabyteDB Evolves PostgreSQL to a Distributed Architecture for Modern, Cloud-Native Applications
19 September 2024, businesswire.com

YugabyteDB evolves into a distributed PostgreSQL database for apps that need resilience and scale
19 September 2024, SiliconANGLE News

YugabyteDB 2.19 gets new PostgreSQL-compatibility features
19 September 2024, InfoWorld

YugabyteDB Becomes First Distributed SQL Database Vendor to Complete CIS Benchmark
1 February 2024, Datanami

Simplifying cloud-native app development with Yugabyte
2 August 2024, IMDA

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

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

RaimaDB logo

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

Present your product here