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

DBMS > Elasticsearch vs. H2 vs. Microsoft Azure SQL Database vs. TiDB

System Properties Comparison Elasticsearch vs. H2 vs. Microsoft Azure SQL Database vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonH2  Xexclude from comparisonMicrosoft Azure SQL Database infoformerly SQL Azure  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 metricFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Database as a Service offering with high compatibility to Microsoft SQL ServerTiDB 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
Spatial DBMSDocument store
Graph DBMS
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
Score8.13
Rank#49  Overall
#31  Relational DBMS
Score77.99
Rank#16  Overall
#11  Relational DBMS
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitewww.elastic.co/­elasticsearchwww.h2database.comazure.microsoft.com/­en-us/­products/­azure-sql/­databasepingcap.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.h2database.com/­html/­main.htmldocs.microsoft.com/­en-us/­azure/­azure-sqldocs.pingcap.com/­tidb/­stable
DeveloperElasticThomas MuellerMicrosoftPingCAP, Inc.
Initial release2010200520102016
Current release8.6, January 20232.2.220, July 2023V128.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonoyesno
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 VMhostedLinux
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.nonoyesno
Secondary indexesyes infoAll search fields are automatically indexedyesyesyes
SQL infoSupport of SQLSQL-like query languageyesyesyes
APIs and other access methodsJava API
RESTful HTTP/JSON API
JDBC
ODBC
ADO.NET
JDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Java.Net
C#
Java
JavaScript (Node.js)
PHP
Python
Ruby
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 Stored Procedures and User-Defined FunctionsTransact SQLno
Triggersyes infoby using the 'percolation' featureyesyesno
Partitioning methods infoMethods for storing different data on different nodesShardingnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes, with always 3 replicas availableUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornonoyes 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 ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyes
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 integrationyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardFine grained access rights according to SQL-standard
More information provided by the system vendor
ElasticsearchH2Microsoft Azure SQL Database infoformerly SQL AzureTiDB
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
ElasticsearchH2Microsoft Azure SQL Database infoformerly SQL AzureTiDB
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

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

The popularity of cloud-based DBMSs has increased tenfold in four years
7 February 2017, Matthias Gelbmann

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

Copilot in Azure SQL Database in Private Preview
27 March 2024, InfoQ.com

Why migrate Windows Server and SQL Server to Azure: ROI, innovation, and free offers
25 April 2024, Microsoft

Microsoft unveils Copilot for Azure SQL Database
27 March 2024, InfoWorld

Azure SQL Database takes Saturday off on US east coast following network power failure
18 September 2023, The Register

Microsoft Announces a New Azure SQL Database Free Offer in Public Preview
1 October 2023, InfoQ.com

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

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.

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Present your product here