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 > Elasticsearch vs. Postgres-XL vs. Spark SQL vs. TiDB

System Properties Comparison Elasticsearch vs. Postgres-XL vs. Spark SQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonPostgres-XL  Xexclude from comparisonSpark SQL  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 metricBased on PostgreSQL enhanced with MPP and write-scale-out cluster featuresSpark SQL is a component on top of 'Spark Core' for structured data processingTiDB 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 engineRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score135.35
Rank#7  Overall
#1  Search engines
Score0.49
Rank#256  Overall
#117  Relational DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.elastic.co/­elasticsearchwww.postgres-xl.orgspark.apache.org/­sqlpingcap.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.postgres-xl.org/­documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.pingcap.com/­tidb/­stable
DeveloperElasticApache Software FoundationPingCAP, Inc.
Initial release20102014 infosince 2012, originally named StormDB20142016
Current release8.6, January 202310 R1, October 20183.5.0 ( 2.13), September 20238.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoMozilla public licenseOpen Source infoApache 2.0Open 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 languageJavaCScalaGo, Rust
Server operating systemsAll OS with a Java VMLinux
macOS
Linux
OS X
Windows
Linux
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.noyes infoXML type, but no XML query functionalitynono
Secondary indexesyes infoAll search fields are automatically indexedyesnoyes
SQL infoSupport of SQLSQL-like query languageyes infodistributed, parallel query executionSQL-like DML and DDL statementsyes
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
.Net
C
C++
Delphi
Erlang
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Python
R
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 proceduresyesuser defined functionsnono
Triggersyes infoby using the 'percolation' featureyesnono
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioningyes, utilizing Spark Corehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornoyes 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, allImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infoMVCCnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.Memcached and Redis integrationnonono
User concepts infoAccess controlfine grained access rights according to SQL-standardnoFine grained access rights according to SQL-standard
More information provided by the system vendor
ElasticsearchPostgres-XLSpark 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
ElasticsearchPostgres-XLSpark SQLTiDB
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

Recent citations in the news

Elasticsearch Enables 400 Criteo Engineers to Search 4 TB of Log Data per Week
19 May 2024, Yahoo Singapore News

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

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

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, insider.govtech.com

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

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

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

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.

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

Present your product here