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 > H2 vs. IBM Db2 vs. Microsoft Azure SQL Database vs. TiDB

System Properties Comparison H2 vs. IBM Db2 vs. Microsoft Azure SQL Database vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft Azure SQL Database infoformerly SQL Azure  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Common in IBM host environments, 2 different versions for host and Windows/LinuxDatabase 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 modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score127.49
Rank#8  Overall
#5  Relational DBMS
Score78.40
Rank#15  Overall
#10  Relational DBMS
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websitewww.h2database.comwww.ibm.com/­products/­db2azure.microsoft.com/­en-us/­products/­azure-sql/­databasepingcap.com
Technical documentationwww.h2database.com/­html/­main.htmlwww.ibm.com/­docs/­en/­db2docs.microsoft.com/­en-us/­azure/­azure-sqldocs.pingcap.com/­tidb/­stable
DeveloperThomas MuellerIBMMicrosoftPingCAP, Inc.
Initial release20051983 infohost version20102016
Current release2.2.220, July 202312.1, October 2016V127.6.0, January 2024
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is availablecommercialOpen 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 languageJavaC and C++C++Go, Rust
Server operating systemsAll OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
hostedLinux
Data schemeyesyesyesyes
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.noyesno
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyesyesyesyes
APIs and other access methodsJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.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 proceduresJava Stored Procedures and User-Defined FunctionsyesTransact SQLno
Triggersyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infowith separate tools (MQ, InfoSphere)yes, 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 methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyes
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.yesno
User concepts infoAccess controlfine grained access rights according to SQL-standardfine 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
H2IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft 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
H2IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft Azure SQL Database infoformerly SQL AzureTiDB
DB-Engines blog posts

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

IBM and TechD partner to securely share data and power insights with gen AI
16 April 2024, IBM

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks and Files

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

IBM Solution to Optimize Data Management for AI applications
28 November 2023, Yahoo Finance

provided by Google News

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

Public Preview: Azure SQL updates for mid-November 2023 | Azure updates
15 November 2023, 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

Power what’s next with limitless relational databases from Azure
15 November 2023, Microsoft

provided by Google News

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

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

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

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

PingCAP Wins 2024 Data Breakthrough Awards
12 April 2024, GlobeNewswire

provided by Google News



Share this page

Featured Products

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it 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

The database to transact, analyze and contextualize your data in real time.
Try it today.

Milvus logo

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

Present your product here