DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CockroachDB vs. IBM Db2 vs. Riak KV vs. SwayDB vs. TimescaleDB

System Properties Comparison CockroachDB vs. IBM Db2 vs. Riak KV vs. SwayDB vs. TimescaleDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonRiak KV  Xexclude from comparisonSwayDB  Xexclude from comparisonTimescaleDB  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxDistributed, fault tolerant key-value storeAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storageA time series DBMS optimized for fast ingest and complex queries, based on PostgreSQL
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBKey-value store infowith links between data sets and object tags for the creation of secondary indexesKey-value storeTime Series DBMS
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Relational DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score4.10
Rank#82  Overall
#9  Key-value stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Score4.64
Rank#71  Overall
#4  Time Series DBMS
Websitewww.cockroachlabs.comwww.ibm.com/­products/­db2swaydb.simer.auwww.timescale.com
Technical documentationwww.cockroachlabs.com/­docswww.ibm.com/­docs/­en/­db2www.tiot.jp/­riak-docs/­riak/­kv/­latestdocs.timescale.com
DeveloperCockroach LabsIBMOpenSource, formerly Basho TechnologiesSimer PlahaTimescale
Initial release20151983 infohost version200920182017
Current release24.1.0, May 202412.1, October 20163.2.0, December 20222.15.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree version is availableOpen Source infoApache version 2, commercial enterprise editionOpen Source infoGNU Affero GPL V3.0Open Source infoApache 2.0
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 and C++ErlangScalaC
Server operating systemsLinux
macOS
Windows
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
OS X
Linux
OS X
Windows
Data schemedynamic schemayesschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesnononumerics, strings, booleans, arrays, JSON blobs, geospatial dimensions, currencies, binary data, other complex data types
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.nononoyes
Secondary indexesyesyesrestrictednoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesnonoyes infofull PostgreSQL SQL syntax
APIs and other access methodsJDBCADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
HTTP API
Native Erlang Interface
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
Java
Kotlin
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript
Perl
PHP
Python
R
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoyesErlangnouser defined functions, PL/pgSQL, PL/Tcl, PL/Perl, PL/Python, PL/Java, PL/PHP, PL/R, PL/Ruby, PL/Scheme, PL/Unix shell
Triggersnoyesyes infopre-commit hooks and post-commit hooksnoyes
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 RAFTSharding infoonly with Windows/Unix/Linux VersionSharding infono "single point of failure"noneyes, across time and space (hash partitioning) attributes
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infowith separate tools (MQ, InfoSphere)selectable replication factornoneSource-replica replication with hot standby and reads on replicas info
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno infolinks between data sets can be storednoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDnoAtomic execution of operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
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 controlfine grained access rights according to SQL-standardyes, using Riak Securitynofine grained access rights according to SQL-standard

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
CockroachDBIBM Db2 infoformerly named DB2 or IBM Database 2Riak KVSwayDBTimescaleDB
Recent citations in the news

mLogica and Cockroach Labs Partner to Accelerate Mainframe and Legacy Database Modernizations
30 May 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

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, Precisely

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Basho to Bolster Riak with DB Plug-Ins
5 May 2014, Datanami

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

A Critique of Resizable Hash Tables: Riak Core & Random Slicing
26 August 2018, InfoQ.com

provided by Google News

TimescaleDB Is a Vector Database Now, Too
25 September 2023, Datanami

Timescale Acquires PopSQL to Bring a Modern, Collaborative SQL GUI to PostgreSQL Developers
4 April 2024, PR Newswire

Power IoT and time-series workloads with TimescaleDB for Azure Database for PostgreSQL
18 March 2019, Microsoft

Timescale Valuation Rockets to Over $1B with $110M Round, Marking the Explosive Rise of Time-Series Data
22 February 2022, Business Wire

Timescale announces $15M investment and new enterprise version of TimescaleDB
29 January 2019, TechCrunch

provided by Google News



Share this page

Featured Products

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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

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

Neo4j logo

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

Present your product here