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

DBMS > Apache Druid vs. Couchbase vs. SQL.JS vs. SwayDB vs. TiDB

System Properties Comparison Apache Druid vs. Couchbase vs. SQL.JS vs. SwayDB vs. TiDB

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonCouchbase infoOriginally called Membase  Xexclude from comparisonSQL.JS  Xexclude from comparisonSwayDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataA distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databasePort of SQLite to JavaScriptAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storageTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMS
Time Series DBMS
Document storeRelational DBMSKey-value storeRelational DBMS
Secondary database modelsKey-value store infooriginating from the former Membase product and supporting the Memcached protocol
Spatial DBMS infousing the Geocouch extension
Search engine
Time Series DBMS
Vector DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.25
Rank#90  Overall
#47  Relational DBMS
#7  Time Series DBMS
Score16.59
Rank#36  Overall
#5  Document stores
Score0.63
Rank#241  Overall
#112  Relational DBMS
Score0.04
Rank#387  Overall
#61  Key-value stores
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitedruid.apache.orgwww.couchbase.comsql.js.orgswaydb.simer.aupingcap.com
Technical documentationdruid.apache.org/­docs/­latest/­designdocs.couchbase.comsql.js.org/­documentation/­index.htmldocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation and contributorsCouchbase, Inc.Alon Zakai infoenhancements implemented by othersSimer PlahaPingCAP, Inc.
Initial release20122011201220182016
Current release29.0.1, April 2024Server: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 20238.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoBusiness Source License (BSL 1.1); Commercial licenses also availableOpen SourceOpen 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaC, C++, Go and ErlangJavaScriptScalaGo, Rust
Server operating systemsLinux
OS X
Unix
Linux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)Linux
Data schemeyes infoschema-less columns are supportedschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesyesnoyes
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 indexesyesyesnoyes
SQL infoSupport of SQLSQL for queryingSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyes infoSQL-92 is not fully supportednoyes
APIs and other access methodsJDBC
RESTful HTTP/JSON API
CLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
JavaScript APIGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
JavaScriptJava
Kotlin
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoFunctions and timers in JavaScript and UDFs in Java, Python, SQL++nonono
Triggersnoyes infovia the TAP protocolnonono
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedAutomatic Shardingnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-source replication infoincluding cross data center replication
Source-replica replication
nonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
noneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDAtomic execution of operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesno infoexcept by serializing a db to a fileyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoEphemeral bucketsyesyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.nonoFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache DruidCouchbase infoOriginally called MembaseSQL.JSSwayDBTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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

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

More resources
Apache DruidCouchbase infoOriginally called MembaseSQL.JSSwayDBTiDB
DB-Engines blog posts

Couchbase climbs up the DB-Engines Ranking, increasing its popularity by 10% every month
2 June 2014, Matthias Gelbmann

show all

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

Recent citations in the news

Apache Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers' Choice Awards
26 January 2024, Datanami

'Lucifer' Botnet Turns Up the Heat on Apache Hadoop Servers
21 February 2024, Dark Reading | Security

New DDoS malware Attacking Apache big-data stack, Hadoop, & Druid Servers
26 February 2024, GBHackers

Apache Druid Takes Its Place In The Pantheon Of Databases
16 June 2022, The Next Platform

How to connect DataGrip to Apache Druid | by Zisis Flokas
18 October 2021, Towards Data Science

provided by Google News

A Closer Look at 9 Analyst Recommendations For Couchbase
7 June 2024, Markets Insider

Database company Couchbase cruises to another solid earnings and revenue beat
5 June 2024, SiliconANGLE News

Couchbase, Inc. (NASDAQ:BASE) Shares Slammed 29% But Getting In Cheap Might Be Difficult Regardless
7 June 2024, Simply Wall St

Couchbase (NASDAQ:BASE) Price Target Lowered to $30.00 at DA Davidson
8 June 2024, Defense World

Couchbase (NASDAQ:BASE) Posts Better-Than-Expected Sales In Q1, Next Quarter's Growth Looks Optimistic
5 June 2024, Yahoo Finance

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024 — SitePoint
22 March 2023, SitePoint

Execute millions of SQL statements in milliseconds in the browser with WebAssembly and Web Workers.
14 January 2017, hackernoon.com

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

In Praise Of SQLite
28 July 2022, iProgrammer

10 Low-Code Rules for Serious Coders
21 November 2022, Embedded Computing Design

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

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

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