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|
|Name||PostgreSQL Xexclude from comparison||TiDB Xexclude from comparison||YugabyteDB Xexclude from comparison|
|Description||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||TiDB 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 model||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Relational DBMS||Relational DBMS|
|Secondary database models||Document store|
Graph DBMS with Apache Age
Vector DBMS with pgvector extension
|Document store||Document store|
Wide column store
|Developer||PostgreSQL Global Development Group www.postgresql.org/developer||PingCAP, Inc.||Yugabyte Inc.|
|Initial release||1989 1989: Postgres, 1996: PostgreSQL||2016||2017|
|Current release||16.1, November 2023||7.4.0, October 2023||2.19, September 2023|
|License Commercial or Open Source||Open Source BSD||Open Source Apache 2.0||Open Source Apache 2.0|
|Cloud-based only Only available as a cloud service||no||no||no|
|DBaaS offerings (sponsored links) Database 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 language||C||Go, Rust||C and C++|
|Server operating systems||FreeBSD|
|Data scheme||yes||yes||depending on used data model|
|Typing predefined data types such as float or date||yes||yes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||yes specific XML-type available, but no XML query functionality.||no||no|
|SQL Support of SQL||yes standard with numerous extensions||yes||yes, PostgreSQL compatible|
|APIs and other access methods||ADO.NET|
native C library
streaming API for large objects
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|
|Server-side scripts Stored procedures||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||no||yes sql, plpgsql, C|
|Partitioning methods Methods for storing different data on different nodes||partitioning by range, list and (since PostgreSQL 11) by hash||horizontal partitioning (by key range)||Hash and Range Sharding, row-level geo-partitioning|
|Replication methods Methods for redundantly storing data on multiple nodes||Source-replica replication other methods possible by using 3rd party extensions||Using 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 Offers an API for user-defined Map/Reduce methods||no||yes with TiSpark Connector||no|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency||Strong consistency on writes and tunable consistency on reads|
|Foreign keys Referential integrity||yes||yes full support since version 6.6||yes|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||ACID||Distributed ACID with Serializable & Snapshot Isolation. Inspired by Google Spanner architecture.|
|Concurrency Support for concurrent manipulation of data||yes||yes||yes|
|Durability Support for making data persistent||yes||yes||yes based on RocksDB|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||no||no||no|
|User concepts Access control||fine grained access rights according to SQL-standard||Fine grained access rights according to SQL-standard||yes|
|More information provided by the system vendor|
|Specific characteristics||TiDB is an advanced open-source, distributed SQL database for modern application...|
|YugabyteDB is an open source distributed SQL database for cloud native transactional...|
|Competitive advantages||- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...|
|PostgreSQL compatible: Get instantly productive with a PostgreSQL compatible RDBMS....|
|Typical application scenarios||TiDB is ideal for transactional applications that require extreme scalability and...|
|Systems of record and engagement for cloud native applications that require resilience,...|
|Key customers||Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...|
|Market metrics||34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...|
|2 Million+ lifetime clusters deployed, 6.5K+ GitHub stars, 7K YugabyteDB Community...|
|Licensing and pricing models||TiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...|
|Apache 2.0 license for the database|
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services|
|3rd parties||Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.|
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!
Instaclustr: Fully Hosted & Managed PostgreSQL
Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
Redgate webinars: A series of key topics for new PostgreSQL users.
pgDash: In-Depth PostgreSQL Monitoring.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
Snowflake is the DBMS of the Year 2022, defending the title from last year
|Recent citations in the news|
Optimizing Data Analytics with PostgreSQL and Power BI Integration
OCI Database: Oracle Embraces PostgreSQL
Data Flow Tutorial With Mage.ai | Part 4: PostgreSQL Database - Technical Articles
VMware and Google Cloud Announce Planned PostgreSQL-Compatible Database Solution for Traditional and ...
PostgreSQL Takes a New Turn
provided by Google News
Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
PingCAP Positioned as a Leader in the 2023 SPARK Matrix for Translytical Data Platforms by Quadrant Knowledge ...
QuickBytes: What PingCAP's hackathon promises for app developers everywhere
PingCAP Unveils TiDB 7.1, the Latest Advancement In Open Source, Distributed SQL Database Technology
provided by Google News
YugabyteDB Managed Introduces Product Labs Experience for Immersive Distributed SQL Learning
Yugabyte adds multiregion Kubernetes support to YugabyteDB 2.18
Yugabyte Secures AWS Data & Analytics Competency Status Plus AWS Service Validations for AWS Graviton and ...
Distributed PostgreSQL Benchmarks: Azure Cosmos DB, CockroachDB, and YugabyteDB
YugabyteDB Managed introduces Product Labs experience for immersive distributed SQL learning
provided by Google News
Share this page