DB-EnginesCrateDB bannerEnglish
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 MySQL, Cassandra and ClickHouse.

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 storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score491.07
Rank#4  Overall
#4  Relational DBMS
Score1.63
Rank#126  Overall
#63  Relational DBMS
Websitewww.postgresql.orgpingcap.com
Technical documentationwww.postgresql.org/­docs/­manualspingcap.com/­docs
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release1989 info1989: Postgres, 1996: PostgreSQL2016
Current release12.0, October 20193.0.0, June 2019
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.
  • EDB Postgres Cloud Database Service: Postgres cloud database service on AWS with Superuser Access, Unlimited Extensions, Higher Scalability, More Tuning Power and Oracle Compatibility. Try free!
  • ScaleGrid: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
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 nodesMaster-slave 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 distributed scalable hybrid transactional and analytical processing...
» 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 customersBank of Beijing (Banking) Mobike (Ridesharing) Toutiao (Media) Ele.me (Catering)...
» more
Market metricsInfoWorld’s 2018 Best of Open Source Software Award winners 15000+ stars on GitHub...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB in the Browser: Running a Golang Database on WebAssembly
6 November 2019

Delivering Real-time Analytics and True HTAP by Combining Columnstore and Rowstore
4 November 2019

INSERT INTO tidb.hackathon_2019 VALUES ("Hack", "Fun", "TiDB Ecosystem")
30 October 2019

Safety First! Common Safety Pitfalls in Distributed Databases Found by Jepsen Tests
18 September 2019

How TSQ Becomes a Performance Bottleneck for TiKV in AWS ARM Environment
26 August 2019

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 for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

2ndQuadrant: PostgreSQL Solutions for the Enterprise.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

SQLPro for PostgreSQL: A simple but powerful PostgreSQL database client available on iPhone and iPad as well as macOS.
» more

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

Dremio is like magic for PostgreSQL accelerating your analytical queries up to 1,000x.
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

DBHawk: a web-based PostgreSQL/Greenplum database tool. Boost database development and BI productivity with an online Universal database tool.
» 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 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

Crunchy Data and ORock Technologies Partnership Brings Trusted Open Source Cloud Native PostgreSQL to Federal Government
13 November 2019, AiThority

Introducing PostgREST, a REST API for any PostgreSQL database written in Haskell
4 November 2019, Packt Hub

Greenplum 6 review: Jack of all trades, master of some
7 November 2019, InfoWorld

NoSQL Market 2019 Trend - Microsoft SQL Server, MySQL, MongoDB, PostgreSQL, Oracle Database
12 November 2019, News Adopt

We're free in 3... 2... 1! Amazon unhooks its last Oracle database, nothing breaks and life goes on
16 October 2019, The Register

provided by Google News

PingCAP offers titanium bullet to switch to its HTAP database
22 January 2019, DevClass

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

Percona Unveils Stellar Keynote Schedule for Eighth Annual Percona Live Open Source Database Conference
9 May 2019, GlobeNewswire

China’s Biggest Startups Ditch Oracle and IBM for Home-Made Tech
24 June 2019, Bloomberg

provided by Google News

Job opportunities

Database Administrator
Amazon.com Services, Inc., Seattle, WA

Database Engineer
Amazon.com Services, Inc., Seattle, WA

Database Administrator, Digital Commerce Platform
Amazon.com Services, Inc., Seattle, WA

Database Analyst
Deloitte, Austin, TX

Database Engineer
Facebook, Menlo Park, CA

jobs by Indeed




Share this page

Featured Products

Redis logo

Hosted, serverless DBaaS
in 3 steps.

30MB Free!
Start now.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download


Datastax logo

Build data-driven applications that set the standard for performance, availability,
& scale with DataStax.
Learn more.

Neo4j logo

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

Couchbase logo

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

Present your product here