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

DBMS > Elasticsearch vs. Solr vs. Sphinx vs. TiDB

System Properties Comparison Elasticsearch vs. Solr vs. Sphinx vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonSolr  Xexclude from comparisonSphinx  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricA widely used distributed, scalable search engine based on Apache LuceneOpen 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 modelSearch engineSearch engineSearch engineRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score135.35
Rank#7  Overall
#1  Search engines
Score42.91
Rank#24  Overall
#3  Search engines
Score5.98
Rank#56  Overall
#5  Search engines
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.elastic.co/­elasticsearchsolr.apache.orgsphinxsearch.compingcap.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlsolr.apache.org/­resources.htmlsphinxsearch.com/­docsdocs.pingcap.com/­tidb/­stable
DeveloperElasticApache Software FoundationSphinx Technologies Inc.PingCAP, Inc.
Initial release2010200620012016
Current release8.6, January 20239.5.0, February 20243.5.1, February 20238.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoApache Version 2Open 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaJavaC++Go, Rust
Server operating systemsAll OS with a Java VMAll OS with a Java VM inforuns as a servlet in servlet container (e.g. Tomcat, Jetty is included)FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyes infoDynamic Fields enables on-the-fly addition of new fieldsyesyes
Typing infopredefined data types such as float or dateyesyes infosupports customizable data types and automatic typingnoyes
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.noyesno
Secondary indexesyes infoAll search fields are automatically indexedyes infoAll search fields are automatically indexedyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLSQL-like query languageSolr Parallel SQL InterfaceSQL-like query language (SphinxQL)yes
APIs and other access methodsJava API
RESTful HTTP/JSON API
Java API
RESTful HTTP/JSON API
Proprietary protocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
.Net
Erlang
Java
JavaScript
any language that supports sockets and either XML or JSON
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 proceduresyesJava pluginsnono
Triggersyes infoby using the 'percolation' featureyes infoUser configurable commands triggered on index changesnono
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding infoPartitioning is done manually, search queries against distributed index is supportedhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyesyesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectorspark-solr: github.com/­lucidworks/­spark-solr and streaming expressions to reducenoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allEventual ConsistencyImmediate Consistency
Foreign keys infoReferential integritynononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanooptimistic lockingnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.Memcached and Redis integrationyesno
User concepts infoAccess controlyesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
ElasticsearchSolrSphinxTiDB
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
ElasticsearchSolrSphinxTiDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

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

show all

Elasticsearch replaced Solr as the most popular search engine
12 January 2016, Paul Andlinger

Enterprise Search Engines almost double their popularity in the last 12 months
2 July 2014, Paul Andlinger

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

show all

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

show all

Recent citations in the news

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

Elasticsearch Changes Name to Elastic to Reflect Wide Adoption Beyond Search
29 April 2024, Yahoo Singapore News

The end of vendor-backed open source?
29 April 2024, InfoWorld

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elastic Reports 8x Speed and 32x Efficiency Gains for Elasticsearch and Lucene Vector Database
26 April 2024, Business Wire

provided by Google News

SOLR-led walkout demands better conditions for Compass workers
27 February 2024, Daily Northwestern

(SOLR) Technical Pivots with Risk Controls
28 April 2024, news.stocktradersdaily.com

Best Practices from Rackspace for Modernizing a Legacy HBase/Solr Architecture Using AWS Services | Amazon Web ...
9 October 2023, AWS Blog

SOLR hosts teach-in of labor movements at Northwestern
28 January 2024, Daily Northwestern

Top 5 stock gainers and losers: SOLR.V, GRSL.V, ANON.C
21 November 2023, Equity.Guru

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

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

Present your product here