DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. DuckDB vs. KeyDB vs. Lovefield vs. mSQL

System Properties Comparison CockroachDB vs. DuckDB vs. KeyDB vs. Lovefield vs. mSQL

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonDuckDB  Xexclude from comparisonKeyDB  Xexclude from comparisonLovefield  Xexclude from comparisonmSQL infoMini SQL  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.An embeddable, in-process, column-oriented SQL OLAP RDBMSAn ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsEmbeddable relational database for web apps written in pure JavaScriptmSQL (Mini SQL) is a simple and lightweight RDBMS
Primary database modelRelational DBMSRelational DBMSKey-value storeRelational DBMSRelational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score4.63
Rank#69  Overall
#37  Relational DBMS
Score0.70
Rank#229  Overall
#32  Key-value stores
Score0.33
Rank#286  Overall
#131  Relational DBMS
Score1.27
Rank#169  Overall
#76  Relational DBMS
Websitewww.cockroachlabs.comduckdb.orggithub.com/­Snapchat/­KeyDB
keydb.dev
google.github.io/­lovefieldhughestech.com.au/­products/­msql
Technical documentationwww.cockroachlabs.com/­docsduckdb.org/­docsdocs.keydb.devgithub.com/­google/­lovefield/­blob/­master/­docs/­spec_index.md
DeveloperCockroach LabsEQ Alpha Technology Ltd.GoogleHughes Technologies
Initial release20152018201920141994
Current release24.1.0, May 20241.0.0, June 20242.1.12, February 20174.4, October 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoMIT LicenseOpen Source infoBSD-3Open Source infoApache 2.0commercial infofree licenses can be provided
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 languageGoC++C++JavaScriptC
Server operating systemsLinux
macOS
Windows
server-lessLinuxserver-less, requires a JavaScript environment (browser, Node.js) infotested with Chrome, Firefox, IE, SafariAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
Data schemedynamic schemayesschema-freeyesyes
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyesyes
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.nonononono
Secondary indexesyesyesyes infoby using the Redis Search moduleyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnoSQL-like query language infovia JavaScript builder patternA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggers
APIs and other access methodsJDBCArrow Database Connectivity (ADBC)
CLI Client
JDBC
ODBC
Proprietary protocol infoRESP - REdis Serialization ProtocoJDBC
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C# info3rd party driver
C++
Crystal info3rd party driver
Go info3rd party driver
Java
Lisp info3rd party driver
Python
R
Ruby info3rd party driver
Rust
Swift
Zig info3rd party driver
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
JavaScriptC
C++
Delphi
Java
Perl
PHP
Tcl
Server-side scripts infoStored proceduresnonoLuanono
TriggersnononoUsing read-only observersno
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 RAFTnoneShardingnonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTnoneMulti-source replication
Source-replica replication
nonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
none
Foreign keys infoReferential integrityyesnonoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDOptimistic locking, atomic execution of commands blocks and scriptsACIDno
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesno
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes, by using IndexedDB or the cloud service Firebase Realtime Databaseyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesyes infousing MemoryDBno
User concepts infoAccess controlRole-based access controlnosimple password-based access control and ACLnono

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
CockroachDBDuckDBKeyDBLovefieldmSQL infoMini SQL
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

MotherDuck Announces General Availability; Brings Simplicity and Power of DuckDB in a Serverless Data Warehouse
11 June 2024, PR Newswire

DuckDB: The tiny but powerful analytics database
15 May 2024, InfoWorld

DuckDB promises greater stability with 1.0 release
5 June 2024, The Register

DuckDB: In-Process Python Analytics for Not-Quite-Big Data
31 May 2024, The New Stack

DuckDB Walks to the Beat of Its Own Analytics Drum
5 March 2024, Datanami

provided by Google News

Oh, snap! Snap snaps up database developer KeyDB
12 May 2022, TechCrunch

Garnet–open-source faster cache-store speeds up applications, services
18 March 2024, Microsoft

Snap Acquires KeyDB for Open-Source Services
17 May 2022, XR Today

Dragonfly 1.0 Released For What Claims To Be The World's Fastest In-Memory Data Store
20 March 2023, Phoronix

Microsoft open-sources Garnet cache-store -- a Redis rival?
19 March 2024, The Stack

provided by Google News

Higher Education PS rules out ghost students before PAC
29 November 2018, diggers.news

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.

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