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

DBMS > CockroachDB vs. KeyDB vs. Postgres-XL vs. SingleStore

System Properties Comparison CockroachDB vs. KeyDB vs. Postgres-XL vs. SingleStore

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonKeyDB  Xexclude from comparisonPostgres-XL  Xexclude from comparisonSingleStore infoformer name was MemSQL  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 ultra-fast, open source Key-value store fully compatible with Redis API, modules, and protocolsBased on PostgreSQL enhanced with MPP and write-scale-out cluster featuresMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table type
Primary database modelRelational DBMSKey-value storeRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
Time Series DBMS
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score0.71
Rank#226  Overall
#33  Key-value stores
Score0.49
Rank#256  Overall
#117  Relational DBMS
Score5.60
Rank#62  Overall
#35  Relational DBMS
Websitewww.cockroachlabs.comgithub.com/­Snapchat/­KeyDB
keydb.dev
www.postgres-xl.orgwww.singlestore.com
Technical documentationwww.cockroachlabs.com/­docsdocs.keydb.devwww.postgres-xl.org/­documentationdocs.singlestore.com
DeveloperCockroach LabsEQ Alpha Technology Ltd.SingleStore Inc.
Initial release201520192014 infosince 2012, originally named StormDB2013
Current release23.1.1, May 202310 R1, October 20188.5, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoBSD-3Open Source infoMozilla public licensecommercial infofree developer edition 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.
SingleStoreDB Cloud: The world's fastest, modern cloud database for both operational (OLTP) and analytical (OLAP) workloads. Available instantly with multi-cloud and hybrid-cloud capabilities
Implementation languageGoC++CC++, Go
Server operating systemsLinux
macOS
Windows
LinuxLinux
macOS
Linux info64 bit version required
Data schemedynamic schemaschema-freeyesyes
Typing infopredefined data types such as float or dateyespartial 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.nonoyes infoXML type, but no XML query functionalityno
Secondary indexesyesyes infoby using the Redis Search moduleyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnoyes infodistributed, parallel query executionyes infobut no triggers and foreign keys
APIs and other access methodsJDBCProprietary protocol infoRESP - REdis Serialization ProtocoADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Cluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
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
.Net
C
C++
Delphi
Erlang
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Bash
C
C#
Java
JavaScript (Node.js)
Python
Server-side scripts infoStored proceduresnoLuauser defined functionsyes
Triggersnonoyesno
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 RAFTShardinghorizontal partitioningSharding infohash partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication
Source-replica replication
Source-replica replication infostores two copies of each physical data partition on two separate nodes
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono infocan define user-defined aggregate functions for map-reduce-style calculations
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDOptimistic locking, atomic execution of commands blocks and scriptsACID infoMVCCACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes, multi-version concurrency control (MVCC)
Durability infoSupport for making data persistentyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesnoyes
User concepts infoAccess controlRole-based access controlsimple password-based access control and ACLfine grained access rights according to SQL-standardFine grained access control via users, groups and roles
More information provided by the system vendor
CockroachDBKeyDBPostgres-XLSingleStore infoformer name was MemSQL
Specific characteristicsSingleStore offers a fully-managed , distributed, highly-scalable SQL database designed...
» more
Competitive advantagesSingleStore’s competitive advantages include: Easy and Simplified Architecture with...
» more
Typical application scenariosDriving Fast Analytics: SingleStore delivers the fastest and most scalable reporting...
» more
Key customersIEX Cloud : Improves Financial Data Distribution Speed 15x with Singlestore DB Comcast,...
» more
Market metricsCustomers in various industries worldwide including US and International Industry...
» more
Licensing and pricing modelsF ree Tier and Enterprise Edition
» 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

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

More resources
CockroachDBKeyDBPostgres-XLSingleStore infoformer name was MemSQL
DB-Engines blog posts

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Recent citations in the news

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

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

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

Snap snaps up database developer KeyDB to make its infrastructure more snappy
12 May 2022, TechCrunch

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

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

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



Share this page

Featured Products

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

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