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

DBMS > CockroachDB vs. Drizzle vs. MariaDB vs. PostgreSQL vs. Redis

System Properties Comparison CockroachDB vs. Drizzle vs. MariaDB vs. PostgreSQL vs. Redis

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDrizzle  Xexclude from comparisonMariaDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparison
Drizzle has published its last release in September 2012. The open-source project is discontinued and Drizzle is excluded from the DB-Engines ranking.
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.MySQL fork with a pluggable micro-kernel and with an emphasis of performance over compatibility.MySQL application compatible open source RDBMS, enhanced with high availability, security, interoperability and performance capabilities. MariaDB ColumnStore provides a column-oriented storage engine and MariaDB Xpand supports distributed SQL.Widely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLPopular 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.
Primary database modelRelational DBMSRelational DBMSRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsDocument store
Graph DBMS infowith OQGraph storage engine
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score83.44
Rank#15  Overall
#10  Relational DBMS
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score149.43
Rank#6  Overall
#1  Key-value stores
Websitewww.cockroachlabs.commariadb.com infoSite of MariaDB Corporation
mariadb.org infoSite of MariaDB Foundation
www.postgresql.orgredis.com
redis.io
Technical documentationwww.cockroachlabs.com/­docsmariadb.com/­kb/­en/­librarywww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
DeveloperCockroach LabsDrizzle project, originally started by Brian AkerMariaDB Corporation Ab (MariaDB Enterprise),
MariaDB Foundation (community MariaDB Server) infoThe lead developer Monty Widenius is the original author of MySQL
PostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.
Initial release201520082009 infoFork of MySQL, which was first released in 19951989 info1989: Postgres, 1996: PostgreSQL2009
Current release24.1.0, May 20247.2.4, September 201211.5.2, August 202416.4, August 20247.2.5, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoGNU GPLOpen Source infoGPL version 2, commercial enterprise subscription availableOpen Source infoBSDOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprise
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.
STACKIT MariaDB offers MariaDB in a fully managed version in enterprise grade, 100% GDPR-compliant.PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageGoC++C and C++CC
Server operating systemsLinux
macOS
Windows
FreeBSD
Linux
OS X
FreeBSD
Linux
Solaris
Windows infoColumnStore storage engine not available on Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemedynamic schemayesyes infoDynamic columns are supportedyesschema-free
Typing infopredefined data types such as float or dateyesyesyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexes
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.noyesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesyes infowith RediSearch module
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyes infowith proprietary extensionsyes infowith proprietary extensionsyes infostandard with numerous extensionswith RediSQL module
APIs and other access methodsJDBCJDBCADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C++
Java
PHP
Ada
C
C#
C++
D
Eiffel
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
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
Server-side scripts infoStored proceduresnonoyes infoPL/SQL compatibility added with version 10.3user defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Lua; Redis Functions coming in Redis 7 (slides and Github)
Triggersnono infohooks for callbacks inside the server can be used.yesyespublish/subscribe channels provide some trigger functionality; RedisGears
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 RAFTShardingseveral options for horizontal partitioning and Shardingpartitioning by range, list and (since PostgreSQL 11) by hashSharding infoAutomatic hash-based sharding with support for hash-tags for manual sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
Multi-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononothrough RedisGears
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage engineyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engineACIDAtomic execution of command blocks and scripts and optimistic locking
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes infoData access is serialized by the server
Durability infoSupport for making data persistentyesyesyes infonot for in-memory storage engineyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logs
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infowith MEMORY storage enginenoyes
User concepts infoAccess controlRole-based access controlPluggable authentication mechanisms infoe.g. LDAP, HTTPfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardAccess 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
More information provided by the system vendor
CockroachDBDrizzleMariaDBPostgreSQLRedis
Specific characteristicsMariaDB is the most powerful open source relational database – modern SQL and JSON...
» more
Competitive advantagesMariaDB Servers have many features unavailable in other open source relational databases....
» more
Typical application scenariosWeb, SaaS and Cloud operational applications that require high availability, scalability...
» more
Key customersDeutsche Bank, DBS Bank, Nasdaq, Red Hat, ServiceNow, Verizon and Walgreens Featured...
» more
Market metricsMariaDB is the default database in the LAMP stack supplied by Red Hat and SUSE Linux,...
» more
Licensing and pricing modelsMariaDB plc subscriptions cover our free, open source database, Community Server,...
» 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 partiesNavicat for MariaDB provides a native environment for MariaDB database management and development.
» more
Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more
Redisson PRO: The ultra-fast Redis Java Client.
» more

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

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
CockroachDBDrizzleMariaDBPostgreSQLRedis
DB-Engines blog posts

MySQL won the April ranking; did its forks follow?
1 April 2015, Paul Andlinger

Has MySQL finally lost its mojo?
1 July 2013, Matthias Gelbmann

show all

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

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

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

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

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

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

Now CockroachDB Ditches Open-Source License
20 August 2024, It's FOSS News

provided by Google News

K1 Acquires MariaDB, a Leading Database Software Company, and Appoints New CEO
10 September 2024, PR Newswire

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

MariaDB goes private after acquisition by K1 Investment Management
10 September 2024, SiliconANGLE News

MariaDB goes private with new CEO as K1 closes acquisition
10 September 2024, TechCrunch

ServiceNow moves its backend off MariaDB to homebrew Postgres
10 September 2024, The Register

provided by Google News

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

YugabyteDB Evolves PostgreSQL to a Distributed Architecture for Modern, Cloud-Native Applications
19 September 2024, Business Wire

Synopsis of several compelling features in PostgreSQL 16 | Amazon Web Services
12 July 2024, AWS Blog

MongoDB takes a swing at PostgreSQL after claiming wins against rival
30 August 2024, The Register

Intel Demonstrates Up To 48% Improvement For AVX-512 Optimized PostgreSQL
12 September 2024, Phoronix

provided by Google News

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

With Valkey 8.0, the Linux Foundation thumbs its nose at Redis
16 September 2024, Techzine Europe

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

Database dust-up: Are Redis users switching to Valkey?
12 September 2024, Computing

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, businesswire.com

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.

RaimaDB logo

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

SingleStore logo

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

Present your product here