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

DBMS > MySQL vs. Neo4j vs. Sphinx vs. TiDB

System Properties Comparison MySQL vs. Neo4j vs. Sphinx vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonNeo4j  Xexclude from comparisonSphinx  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMSScalable, ACID-compliant graph database designed with a high-performance distributed cluster architecture, available in self-hosted and cloud offeringsOpen 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 infoKey/Value like access via memcached APIGraph DBMSSearch engineRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1083.74
Rank#2  Overall
#2  Relational DBMS
Score44.46
Rank#23  Overall
#1  Graph DBMS
Score5.98
Rank#56  Overall
#5  Search engines
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.mysql.comneo4j.comsphinxsearch.compingcap.com
Technical documentationdev.mysql.com/­docneo4j.com/­docssphinxsearch.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperOracle infosince 2010, originally MySQL AB, then SunNeo4j, Inc.Sphinx Technologies Inc.PingCAP, Inc.
Initial release1995200720012016
Current release8.3.0, January 20245.19, April 20243.5.1, February 20238.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoGPL version3, commercial licenses availableOpen Source infoGPL version 2, commercial licence availableOpen Source infoApache 2.0
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.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.Neo4j Aura: Neo4j’s fully managed cloud service: The zero-admin, always-on graph database for cloud developers.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC and C++Java, ScalaC++Go, Rust
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
Data schemeyesschema-free and schema-optionalyesyes
Typing infopredefined data types such as float or dateyesyesnoyes
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.yesno
Secondary indexesyesyes infopluggable indexing subsystem, by default Apache Luceneyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLyes infowith proprietary extensionsnoSQL-like query language (SphinxQL)yes
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
Bolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
Proprietary protocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
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 proceduresyes infoproprietary syntaxyes infoUser defined Procedures and Functionsnono
Triggersyesyes infovia event handlernono
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricyes using Neo4j 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 nodesMulti-source replication
Source-replica replication
Causal Clustering using Raft protocol infoavailable in in Enterprise Version onlynoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency
Foreign keys infoReferential integrityyes infonot for MyISAM storage engineyes infoRelationships in graphsnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage engineACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyesyesyes
Durability infoSupport for making data persistentyesyesyes 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.yesno
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)noFine grained access rights according to SQL-standard
More information provided by the system vendor
MySQLNeo4jSphinxTiDB
Specific characteristicsNeo4j delivers graph technology that has been battle tested for performance and scale...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesNeo4j is the market leader, graph database category creator, and the most widely...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersOver 800 commercial customers and over 4300 startups use Neo4j. Flagship customers...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsNeo4j boasts the world's largest graph database ecosystem with more than 140 million...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsGPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
News

This Week in Neo4j: Nodes 2024, Data Modelling, Events, Knowledge Graphs and more
27 April 2024

GQL is Here: Your Cypher Queries in a GQL World
26 April 2024

GQL: The ISO Standard for Graphs Has Arrived
25 April 2024

What Is Retrieval-Augmented Generation (RAG)?
24 April 2024

This Week in Neo4j: Google Cloud, Analysis, Knowledge Graph, Relationships and more
20 April 2024

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 partiesAiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» more

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

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

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

More resources
MySQLNeo4jSphinxTiDB
DB-Engines blog posts

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

Applying Graph Analytics to Game of Thrones
12 June 2019, Amy Hodler & Mark Needham, Neo4j (guest author)

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

The openCypher Project: Help Shape the SQL for Graphs
22 December 2015, Emil Eifrem (guest author)

show all

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

show all

Recent citations in the news

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Enterprise Manager: How Comcast enhanced monitoring for MySQL InnoDB Clusters
22 April 2024, Oracle

Zendesk Moves from DynamoDB to MySQL and S3 to Save over 80% in Costs
29 December 2023, InfoQ.com

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

provided by Google News

Neo4j CTO says new Graph Query Language standard will have 'massive ripple effects'
27 April 2024, SiliconANGLE News

Neo4j Announces Collaboration with Microsoft to Advance GenAI and Data Solutions USA - English - India - English
26 March 2024, PR Newswire

Neo4j Is Planning IPO on Nasdaq, Largest Owner Greenbridge Says
15 February 2024, Bloomberg

Using Neo4j’s graph database for AI in Azure
4 April 2024, InfoWorld

Leveraging Neo4j and Amazon Bedrock for an Explainable, Secure, and Connected Generative AI Solution | Amazon ...
10 November 2023, AWS Blog

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

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

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

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

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

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

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

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

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

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.

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here