DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > IBM Db2 vs. TiDB

System Properties Comparison IBM Db2 vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare IBM Db2 and TiDB with PostgreSQL, MySQL and Oracle.

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxTiDB 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 infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score126.04
Rank#9  Overall
#6  Relational DBMS
Score3.50
Rank#73  Overall
#38  Relational DBMS
Websitewww.ibm.com/­products/­db2pingcap.com
Technical documentationwww.ibm.com/­docs/­en/­db2docs.pingcap.com/­tidb/­stable
DeveloperIBMPingCAP, Inc.
Initial release1983 infohost version2016
Current release12.1, October 20168.2.0, July 2024
License infoCommercial or Open Sourcecommercial infofree version is availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC and C++Go, Rust
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.no
Secondary indexesyesyes
SQL infoSupport of SQLyesyes
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
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 proceduresyesno
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlfine grained access rights according to SQL-standardFine grained access rights according to SQL-standard

More information provided by the system vendor

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
IBM Db2 infoformerly named DB2 or IBM Database 2TiDB
Recent citations in the news

Db2 12.1 is here: Unveiling the next-generation AI-powered enterprise database
18 November 2024, IBM

IBM Db2 Modernizes With New AI-Powered Database Assistant
13 November 2024, Forbes

PHP Database Programming with DB2
7 November 2024, SitePoint

Db2 is a story worth telling, even if IBM won't
4 July 2024, theregister.com

Join your Amazon RDS for Db2 instances across accounts to a single shared domain
11 December 2024, Amazon Web Services

provided by Google News

Build a data lakehouse in a hybrid Environment using Amazon EMR Serverless, Apache DolphinScheduler, and TiDB
20 March 2025, Amazon Web Services

How TiDB is solving enterprise data challenges with scalability and speed
21 March 2025, YourStory.com

PingCAP Strengthens their Commitment to Database Innovation in India with TiDB User Day 2025
27 March 2025, MSN

How TiDB is Delivering Multi-Tenancy at Scale for SaaS Platforms
31 March 2025, ET CIO

“TiDB supports scaling to millions of queries per second”
2 April 2025, Open Source For You

provided by Google News



Share this page

Featured Products

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.

SingleStore logo

The data platform to build your intelligent applications.
Try it 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