DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache IoTDB vs. CockroachDB vs. EJDB vs. mSQL vs. TiDB

System Properties Comparison Apache IoTDB vs. CockroachDB vs. EJDB vs. mSQL vs. TiDB

Editorial information provided by DB-Engines
NameApache IoTDB  Xexclude from comparisonCockroachDB  Xexclude from comparisonEJDB  Xexclude from comparisonmSQL infoMini SQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionAn IoT native database with high performance for data management and analysis, deployable on the edge and the cloud and integrated with Hadoop, Spark and FlinkCockroachDB 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.Embeddable document-store database library with JSON representation of queries (in MongoDB style)mSQL (Mini SQL) is a simple and lightweight RDBMSTiDB 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 modelTime Series DBMSRelational DBMSDocument storeRelational DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.18
Rank#173  Overall
#15  Time Series DBMS
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score0.27
Rank#297  Overall
#44  Document stores
Score1.27
Rank#167  Overall
#77  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websiteiotdb.apache.orgwww.cockroachlabs.comgithub.com/­Softmotions/­ejdbhughestech.com.au/­products/­msqlpingcap.com
Technical documentationiotdb.apache.org/­UserGuide/­Master/­QuickStart/­QuickStart.htmlwww.cockroachlabs.com/­docsgithub.com/­Softmotions/­ejdb/­blob/­master/­README.mddocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationCockroach LabsSoftmotionsHughes TechnologiesPingCAP, Inc.
Initial release20182015201219942016
Current release1.1.0, April 202323.1.1, May 20234.4, October 20218.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache Version 2.0Open Source infoApache 2.0, commercial license availableOpen Source infoGPLv2commercial infofree licenses can be providedOpen 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 languageJavaGoCCGo, Rust
Server operating systemsAll OS with a Java VM (>= 1.8)Linux
macOS
Windows
server-lessAIX
HP-UX
Linux
OS X
Solaris SPARC/x86
Windows
Linux
Data schemeyesdynamic schemaschema-freeyesyes
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, bool, date, object_idyesyes
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 indexesyesyesnoyesyes
SQL infoSupport of SQLSQL-like query languageyes, wire compatible with PostgreSQLnoA subset of ANSI SQL is implemented infono subqueries, aggregate functions, views, foreign keys, triggersyes
APIs and other access methodsJDBC
Native API
JDBCin-process shared libraryJDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC
C#
C++
Go
Java
Python
Scala
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Actionscript
C
C#
C++
Go
Java
JavaScript (Node.js)
Lua
Objective-C
Pike
Python
Ruby
C
C++
Delphi
Java
Perl
PHP
Tcl
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 proceduresyesnononono
Triggersyesnononono
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by time range) + vertical partitioning (by deviceId)horizontal 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 RAFTnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication methods; using Raft/IoTConsensus algorithm to ensure strong/eventual data consistency among multiple replicasMulti-source replication using RAFTnonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsIntegration with Hadoop and Sparknononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Strong Consistency with Raft
Immediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integritynoyesno infotypically not needed, however similar functionality with collection joins possiblenoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDnonoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoRead/Write Lockingnoyes
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.yesnonono
User concepts infoAccess controlyesRole-based access controlnonoFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache IoTDBCockroachDBEJDBmSQL infoMini SQLTiDB
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

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

More resources
Apache IoTDBCockroachDBEJDBmSQL infoMini SQLTiDB
Recent citations in the news

TsFile: A Standard Format for IoT Time Series Data
27 February 2024, The New Stack

AMD EPYC 8324P / 8324PN Siena 32-Core Siena Linux Server Performance Review
10 October 2023, Phoronix

Apache Promotes IoT Database Project
25 September 2020, Datanami

Benchmarking The Performance Impact To AMD Inception Mitigations
15 August 2023, Phoronix

IoTDB Provides Data Management for Industrial Edge IT
15 October 2020, The New Stack

provided by Google News

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

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

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

provided by Google News

Writing a Web Service in Perl
9 July 2003, PCQuest

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

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

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

Unlocking performance, scalability, and cost-efficiency of Zomato's Billing Platform by switching from TiDB to ...
22 December 2023, AWS Blog

provided by Google News



Share this page

Featured Products

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.

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

RaimaDB logo

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

Present your product here