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 > PostgreSQL vs. TiDB

System Properties Comparison PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare PostgreSQL and TiDB with ClickHouse, CockroachDB and MySQL.

Editorial information provided by DB-Engines
NamePostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
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 DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score568.51
Rank#4  Overall
#4  Relational DBMS
Score2.49
Rank#107  Overall
#53  Relational DBMS
Websitewww.postgresql.orgpingcap.com
Technical documentationwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL2016
Current release13.3, May 20215.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoBSDOpen 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.
ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageCGo, Rust
Server operating systemsFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
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.yes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyes
SQL infoSupport of SQLyes infostandard with numerous extensionsyes
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
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
Server-side scripts infoStored proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesno
Partitioning methods infoMethods for storing different data on different nodespartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)
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.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesno infocurrently only supported in syntax
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.nono
User concepts infoAccess controlfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
PostgreSQLTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

Managing Your Data Lifecycle with Time to Live Tables
10 June 2021

TiDB 5.0: A One-Stop HTAP Database Solution
3 June 2021

TiDB Operator Source Code Reading (II): Operator Pattern
27 May 2021

TiFS, a TiKV-Based Partition Tolerant, Strictly Consistent File System
24 May 2021

Async Commit, the Accelerator for Transaction Commit in TiDB 5.0
18 May 2021

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 partiesClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

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

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» 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
PostgreSQLTiDB
DB-Engines blog posts

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

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

EDB turns up the heat on PostgreSQL to fire up enterprise database market
21 June 2021, SiliconANGLE News

Postgres Professional adds enterprise-features, PostgreSQL 13 updates
8 June 2021, VentureBeat

PostgreSQL benefits and challenges: A snapshot
27 May 2021, InfoWorld

Staying power: the growing impact of PostgreSQL on enterprise marks Postgres Vision 2021
15 June 2021, SiliconANGLE News

IT and DevOps Pros Will Quit for Better Career Path and Mentorship - EDB Survey Shows
23 June 2021, Galveston County Daily News

provided by Google News

PingCAP announces Public Preview of TiDB Cloud USA - English USA - English
10 May 2021, PRNewswire

PingCAP, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

PingCAP raises $270M to develop core technologies and advance global expansion of its offerings
18 November 2020, Help Net Security

How Flipkart Leveraged OpenEBS for Storage on Kubernetes – The New Stack
3 June 2021, thenewstack.io

provided by Google News

Job opportunities

Data Technician (Full- or Part-Time)
Thasos Group, New York, NY

Customer Success Manager
Underdog.io, Remote

Data Analyst
Location3, Denver, CO

PostgreSQL DBA
Dovel Technologies, LLC, College Park, MD

Software Engineer II - PostgreSQL Admin
7-Eleven, Inc., Irving, TX

Developer Relations and Product Evangelist
PingCAP, Remote

Technical Support Engineer/DBA
PingCAP, Remote

Recruiter
PingCAP, San Mateo, CA

Database Administrator
Backblaze, San Mateo, CA

Senior Database Engineer
PingCAP, Remote

jobs by Indeed




Share this page

Featured Products

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Present your product here