DB-EnginesExtremeDB: white paper about the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > PostgreSQL vs. TiDB vs. YugabyteDB

System Properties Comparison PostgreSQL vs. TiDB vs. YugabyteDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparisonYugabyteDB  Xexclude from comparison
DescriptionWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB 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.High-performance distributed SQL database for global, internet-scale applications. Wire and feature compatible with PostgreSQL.
Primary database modelRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMSRelational DBMS
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Document storeDocument store
Wide column store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score650.90
Rank#4  Overall
#4  Relational DBMS
Score4.24
Rank#88  Overall
#46  Relational DBMS
Score3.37
Rank#102  Overall
#52  Relational DBMS
Websitewww.postgresql.orgpingcap.comwww.yugabyte.com
Technical documentationwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stabledocs.yugabyte.com
github.com/­yugabyte/­yugabyte-db
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.Yugabyte Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL20162017
Current release16.1, November 20237.4.0, October 20232.19, September 2023
License infoCommercial or Open SourceOpen Source infoBSDOpen Source infoApache 2.0Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.YugabyteDB Managed is the fully managed database-as-a-service offering of YugabyteDB. Get started quickly, and effortlessly ensure continuous availability and limitless scale of your cloud native applications.
Implementation languageCGo, RustC and C++
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
LinuxLinux
OS X
Data schemeyesyesdepending on used data model
Typing infopredefined data types such as float or dateyesyesyes
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.yes infospecific XML-type available, but no XML query functionality.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infostandard with numerous extensionsyesyes, PostgreSQL compatible
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
JDBC
YCQL, an SQL-based flexible-schema API with its roots in Cassandra Query Language
YSQL - a fully relational SQL API that is wire compatible with the SQL language in PostgreSQL
Supported programming languages.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
Scala
Server-side scripts infoStored proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.noyes infosql, plpgsql, C
Triggersyesnoyes
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)Hash and Range Sharding, row-level geo-partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Based on Raft distributed consensus protocol, minimum 3 replicas for continuous availability
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyStrong consistency on writes and tunable consistency on reads
Foreign keys infoReferential integrityyesyes infofull support since version 6.6yes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDDistributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes infobased on RocksDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonono
User concepts infoAccess controlfine grained access rights according to SQL-standardFine grained access rights according to SQL-standardyes
More information provided by the system vendor
PostgreSQLTiDBYugabyteDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
YugabyteDB is an open source distributed SQL database for cloud native transactional...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
PostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Systems of record and engagement for cloud native applications that require resilience,...
» 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
2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more
Apache 2.0 license for the database
» 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
3rd partiesNavicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
PostgreSQLTiDBYugabyteDB
DB-Engines blog posts

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

show all

Recent citations in the news

Optimizing Data Analytics with PostgreSQL and Power BI Integration
11 December 2023, Medium

OCI Database: Oracle Embraces PostgreSQL
7 December 2023, InfoQ.com

Data Flow Tutorial With Mage.ai | Part 4: PostgreSQL Database - Technical Articles
7 December 2023, Control.com

VMware and Google Cloud Announce Planned PostgreSQL-Compatible Database Solution for Traditional and ...
7 November 2023, VMware News

PostgreSQL Takes a New Turn
9 November 2023, The New Stack

provided by Google News

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

PingCAP Launches TiDB Serverless, a Cutting-Edge Solution to Optimize Application Development and Performance
5 July 2023, GlobeNewswire

PingCAP Positioned as a Leader in the 2023 SPARK Matrix for Translytical Data Platforms by Quadrant Knowledge ...
16 November 2023, Yahoo Finance

QuickBytes: What PingCAP's hackathon promises for app developers everywhere
4 July 2023, Tech in Asia

PingCAP Unveils TiDB 7.1, the Latest Advancement In Open Source, Distributed SQL Database Technology
5 June 2023, GlobeNewswire

provided by Google News

YugabyteDB Managed Introduces Product Labs Experience for Immersive Distributed SQL Learning
16 November 2023, Business Wire

Yugabyte adds multiregion Kubernetes support to YugabyteDB 2.18
24 May 2023, InfoWorld

Yugabyte Secures AWS Data & Analytics Competency Status Plus AWS Service Validations for AWS Graviton and ...
26 October 2023, Business Wire

Distributed PostgreSQL Benchmarks: Azure Cosmos DB, CockroachDB, and YugabyteDB
8 July 2023, InfoQ.com

YugabyteDB Managed introduces Product Labs experience for immersive distributed SQL learning
16 November 2023, Bdaily News

provided by Google News



Share this page

Featured Products

Redis logo

The world’s most loved real‑time data platform.
Try free

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

SingleStore logo

Database for your real-time AI and Analytics Apps.
Try it today.

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