DB-EnginesExtremeDB: the mission critical dbmsEnglish
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
Score13.88
Rank#44  Overall
#28  Relational DBMS
Score623.16
Rank#4  Overall
#4  Relational DBMS
Score3.69
Rank#95  Overall
#49  Relational DBMS
Websiteclickhouse.techwww.postgresql.orgpingcap.com
Technical documentationclickhouse.tech/­docswww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperClickhouse Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20161989 info1989: Postgres, 1996: PostgreSQL2016
Current releasev22.8.5.29-lts, September 202215.1, November 20226.3.0, September 2022
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.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
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 indexesyes, when using the MergeTree engineyesyes
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

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 partiesSQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

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

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

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

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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

The State of PostgreSQL 2022 survey is now open!
» 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

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) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

show all

Recent citations in the news

Seattle data analytics startup MotherDuck emerges from stealth, reveals $47.5M in funding
15 November 2022, GeekWire

Multiple Flaws Uncovered in ClickHouse OLAP Database System for Big Data
16 March 2022, The Hacker News

Column-Store ClickHouse Launches Cloud Version
6 October 2022, Datanami

Two Sizes Fit Most: PostgreSQL and ClickHouse
13 April 2022, thenewstack.io

Aiven improves access to open source data technologies with new ClickHouse offering
14 September 2022, VentureBeat

provided by Google News

Why We Built Cloud Native Object Storage for PostgreSQL with Amazon S3
29 November 2022, thenewstack.io

How to Launch a PostgreSQL Database in the Cloud With AWS RDS - MUO
24 November 2022, MakeUseOf

New Features for Azure Database for PostgreSQL Flexible Server
4 November 2022, InfoQ.com

EDB Unveils Powerful New Tools for Enterprises Wanting to Join the Postgres® Wave
29 November 2022, EIN News

Azure CosmosDB for PostgreSQL Reaches General Availability
2 November 2022, iProgrammer

provided by Google News

PingCAP Announces TiDB Cloud Serverless Tier, Delivering Affordable HTAP Database Service to Developers
1 November 2022, GlobeNewswire

PingCAP’s Innovative TiDB Database – Techstrong.TV
20 October 2022, DevOps.com

PingCAP's TiDB Cloud Launches on Google Cloud Marketplace to Reach Developers Globally
7 June 2022, PR Newswire

HTAP Summit Rounds Out All-Star Lineup of Database and Analytics Experts; Sells Out Inaugural Event
31 October 2022, GlobeNewswire

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

provided by Google News

Job opportunities

Software Engineer, Database Software - VIPER
Comcast, Denver, CO

Java Engineer (Mid-level)
Ad.net, Remote

Senior Database Architect
Crunch.io, United States

Software Engineer, Applications Performance Management
TikTok, Mountain View, CA

Alibaba Group Staff Engineer-Hologres Sunnyvale
Alibaba, Sunnyvale, CA

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL DBA
Luxoft, Remote

PostgreSQL DB
Cognizant Technology Solutions, Atlanta, GA

Support Consultant -PostgreSQL
Percona, United States

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

Developer Relations and Product Evangelist
PingCAP, San Francisco Bay Area, CA

Staff Software Engineer - Cash Cards
Cash App, New York, NY

Staff Software Engineer - Cash Cards
Cash App, San Francisco, CA

Sales Account Executive- Remote
PingCAP, Seattle, WA

Senior Demand Generation Marketing Manager
PingCAP, Sunnyvale, CA

jobs by Indeed



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!

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Neo4j logo

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

Present your product here