DB-EnginesExtremeDB: the embedded DBMS for embedded systemsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > ClickHouse vs. PostgreSQL vs. TiDB

System Properties Comparison ClickHouse vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionColumn-oriented Relational DBMS powering YandexWidely 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 DBMSRelational 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 modelsTime Series DBMSDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.75
Rank#49  Overall
#29  Relational DBMS
Score559.25
Rank#4  Overall
#4  Relational DBMS
Score1.94
Rank#117  Overall
#57  Relational DBMS
Websiteclickhouse.techwww.postgresql.orgpingcap.com
Technical documentationclickhouse.tech/­docswww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperYandex LLCPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20161989 info1989: Postgres, 1996: PostgreSQL2016
Current releasev20.11.3.3-stable, November 202013.2 , February 20215.0.0, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoBSDOpen 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.
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 languageC++CGo, Rust
Server operating systemsFreeBSD
Linux
macOS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyesyesyes
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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesnoyesyes
SQL infoSupport of SQLClose to ANSI SQLyes infostandard with numerous extensionsyes
APIs and other access methodsHTTP REST
JDBC
ODBC
Proprietary protocol
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Scala info3rd party library
.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 proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyesno
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 methodsnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnono
User concepts infoAccess controlAccess rights for users and rolesfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
ClickHousePostgreSQLTiDB
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

Linux Kernel vs. Memory Fragmentation (Part II)
3 May 2021

Getting Started with Rails & TiDB
28 April 2021

TiKV + SPDK: Pushing the Limits of Storage Performance
26 April 2021

Announcing Establishment of Japan Office
22 April 2021

Using a GPU Boosts TiDB Analytics Performance by 10 to 150 Times
19 April 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 partiespgDash: In-Depth PostgreSQL Monitoring.
» more

ClusterControl: 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

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

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» 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

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

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

More resources
ClickHousePostgreSQLTiDB
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

Top Databases Supporting in-Database Machine Learning
1 May 2021, ELE Times

Altinity grabs $4M seed to build cloud version of ClickHouse open-source data warehouse
1 October 2020, TechCrunch

Aiven set to grow open source database-as-a-service platform
30 March 2021, TechTarget

From Russia with OLAP: Percona uses ClickHouse analytics
10 October 2019, ComputerWeekly.com

Machine Learning Capabilities Come to the Majority of Open Source Databases with MindsDB AI-Tables
20 October 2020, PR Web

provided by Google News

Five tips for a smooth migration to PostgreSQL
7 May 2021, Information Age

Guest View: OLAP + OLTP = ...PostgreSQL?
12 April 2021, SDTimes.com

Rockset Enables Real-Time Analytics for MySQL and PostgreSQL
17 April 2021, DevPro Journal

Rockset takes a deeper dive into enterprise data pool
15 April 2021, ZDNet

Jan Wieck, Former Postgres Core Team Member, Joins Crunchy Data - PRNewswire
26 April 2021, PRNewswire

provided by Google News

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 launches TiDB Cloud, a fully-managed database as a service offering - Help Net Security
25 June 2020, Help Net Security

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

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

provided by Google News

Job opportunities

Associate Data Analyst
Gubagoo Inc., Boca Raton, FL

Senior Database Engineer
PingCAP, Remote

Senior Database Engineer (Runtime)
PingCAP, Remote

Senior Distributed Database Architect – Factory Software
Rivian Automotive, Remote

Senior Software Engineer
PingCAP, Remote

SQL Server DBA
OneMain Financial, Baltimore, MD

Mid Level PostgreSQL DBA
XTIVIA, Remote

Software Developer (Junior)
DBDriven.net, Dumfries, VA

Junior MS SQL Server Database Administrator
FEDDATA, Washington, DC

Department
Aunalytics, Link, WV

Head of FP&A
PingCAP, San Mateo, CA

Director of Marketing, North American
PingCAP, San Mateo, CA

Recruiter
PingCAP, San Mateo, CA

Principal Product Marketing Manager
PingCAP, San Mateo, CA

Senior Storage Engineer (Cloud)
PingCAP, San Mateo, CA

jobs by Indeed




Share this page

Featured Products

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!

Couchbase logo

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

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..

AllegroGraph logo

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

Present your product here