DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Apache Druid vs. Apache Phoenix vs. MySQL vs. Sphinx vs. TiDB

System Properties Comparison Apache Druid vs. Apache Phoenix vs. MySQL vs. Sphinx vs. TiDB

Editorial information provided by DB-Engines
NameApache Druid  Xexclude from comparisonApache Phoenix  Xexclude from comparisonMySQL  Xexclude from comparisonSphinx  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOpen-source analytics data store designed for sub-second OLAP queries on high dimensionality and high cardinality dataA scale-out RDBMS with evolutionary schema built on Apache HBaseWidely used open source RDBMSOpen source search engine for searching in data from different sources, e.g. relational databasesTiDB 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
Relational DBMSRelational DBMS infoKey/Value like access via memcached APISearch engineRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.85
Rank#96  Overall
#50  Relational DBMS
#6  Time Series DBMS
Score1.90
Rank#125  Overall
#59  Relational DBMS
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score5.97
Rank#56  Overall
#5  Search engines
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitedruid.apache.orgphoenix.apache.orgwww.mysql.comsphinxsearch.compingcap.com
Technical documentationdruid.apache.org/­docs/­latest/­designphoenix.apache.orgdev.mysql.com/­docsphinxsearch.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation and contributorsApache Software FoundationOracle infosince 2010, originally MySQL AB, then SunSphinx Technologies Inc.PingCAP, Inc.
Initial release20122014199520012016
Current release30.0.0, June 20245.0-HBase2, July 2018 and 4.15-HBase1, December 20199.0.0, July 20243.5.1, February 20238.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache license v2Open Source infoApache Version 2.0Open Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoGPL version 2, commercial licence availableOpen 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 languageJavaJavaC and C++C++Go, Rust
Server operating systemsLinux
OS X
Unix
Linux
Unix
Windows
FreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
Data schemeyes infoschema-less columns are supportedyes infolate-bound, schema-on-read capabilitiesyesyesyes
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.nonoyesno
Secondary indexesyesyesyesyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLSQL for queryingyesyes infowith proprietary extensionsSQL-like query language (SphinxQL)yes
APIs and other access methodsJDBC
RESTful HTTP/JSON API
JDBCADO.NET
JDBC
ODBC
Proprietary native API
Proprietary protocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesClojure
JavaScript
PHP
Python
R
Ruby
Scala
C
C#
C++
Go
Groovy
Java
PHP
Python
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
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 proceduresnouser defined functionsyes infoproprietary syntaxnono
Triggersnonoyesnono
Partitioning methods infoMethods for storing different data on different nodesSharding infomanual/auto, time-basedShardinghorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding infoPartitioning is done manually, search queries against distributed index is supportedhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes, via HDFS, S3 or other storage enginesMulti-source replication
Source-replica replication
Multi-source replication
Source-replica replication
noneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoHadoop integrationnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyes infonot for MyISAM storage enginenoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID infonot for MyISAM storage enginenoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyes infoThe original contents of fields are not stored in the Sphinx index.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesno
User concepts infoAccess controlRBAC using LDAP or Druid internals for users and groups for read/write by datasource and systemAccess Control Lists (using HBase ACL) for RBAC, integration with Apache Ranger for RBAC & ABAC, multi-tenancyUsers with fine-grained authorization concept infono user groups or rolesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
Apache DruidApache PhoenixMySQLSphinxTiDB
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 partiesNavicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more

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

More resources
Apache DruidApache PhoenixMySQLSphinxTiDB
DB-Engines blog posts

Cloudera's HBase PaaS offering now supports Complex Transactions
11 August 2021,  Krishna Maheshwari (sponsor) 

show all

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

show all

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

Imply Announces the Availability of Imply Polaris, a Database-as-a-Service Built from Apache Druid, on Microsoft Azure
26 June 2024, Yahoo Finance

Apache® Druid Wins Best Big Data Product in the 2023 BigDATAwire Readers’ Choice Awards
26 January 2024, Business Wire

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

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

provided by Google News

Supercharge SQL on Your Data in Apache HBase with Apache Phoenix
2 June 2016, AWS Blog

Deep dive into Azure HDInsight 4.0
25 September 2018, azure.microsoft.com

Hortonworks Starts Hadoop Summit with Data Platform Update
28 June 2016, ADT Magazine

Apache Drill Adds New Data Formats
28 March 2022, iProgrammer

Amazon EMR 4.7.0 – Apache Tez & Phoenix, Updates to Existing Apps
2 June 2016, AWS Blog

provided by Google News

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

Learn how Presence migrated off a monolithic Amazon RDS for MySQL instance, with near-zero downtime, using replication filters
17 September 2024, AWS Blog

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, blogs.oracle.com

Older PHP & MySQL no longer working in Later Versions
15 May 2024, SitePoint

How to get started with MySQL
31 July 2024, InfoWorld

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose?
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Beyond the Concert Hall: 5 Organizations Making a Difference in Classical Music in 2018
22 December 2018, WQXR Radio

Here’s Why Russia Is Cracking Down on Google
23 February 2015, TIME

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

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

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

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

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

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

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