DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Apache Phoenix vs. PostgreSQL vs. TiDB

System Properties Comparison Apache Phoenix vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameApache Phoenix  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionA scale-out RDBMS with evolutionary schema built on Apache HBaseWidely 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 modelsDocument store
Spatial DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.09
Rank#103  Overall
#50  Relational DBMS
Score613.83
Rank#4  Overall
#4  Relational DBMS
Score2.92
Rank#113  Overall
#57  Relational DBMS
Websitephoenix.apache.orgwww.postgresql.orgpingcap.com
Technical documentationphoenix.apache.orgwww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20141989 info1989: Postgres, 1996: PostgreSQL2016
Current release5.0-HBase2, July 2018 and 4.15-HBase1, December 201915.2, February 20236.6.0, February 2023
License infoCommercial or Open SourceOpen Source infoApache Version 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 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.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaCGo, Rust
Server operating systemsLinux
Unix
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyes infolate-bound, schema-on-read capabilitiesyesyes
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 indexesyesyesyes
SQL infoSupport of SQLyesyes infostandard with numerous extensionsyes
APIs and other access methodsJDBCADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesC
C#
C++
Go
Groovy
Java
PHP
Python
Scala
.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 functionsuser 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 nodesShardingpartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Source-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 methodsHadoop integrationnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency or Eventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID
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 Control Lists (using HBase ACL) for RBAC, integration with Apache Ranger for RBAC & ABAC, multi-tenancyfine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
Apache PhoenixPostgreSQLTiDB
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 partiesThe State of PostgreSQL 2022 survey is now open!
» more

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

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

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

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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

More resources
Apache PhoenixPostgreSQLTiDB
DB-Engines blog posts

Cloudera's HBase PaaS offering now supports Complex Transactions
11 August 2021,  Krishna Maheshwari (sponsor) 

show all

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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) 

show all

Conferences and events

PGCon 2023, PostgreSQL Conference for Users and Developers
Ottawa, Canada, 30 May 2023 - 2 June 2023

Recent citations in the news

Apache Phoenix - Market Share, Competitor Insights in Relational Databases
23 March 2023, 6Sense

Migrate data from Apache HBase to Azure Cosmos DB for NoSQL account
20 March 2023, Microsoft

Releases · apache/phoenix
30 December 2022, github.com

Apache Phoenix — A Conversation with PMC Chair James Taylor
4 June 2022, engineering.salesforce.com

Resolve the error "Cache of region boundaries are out of date" in Amazon EMR
23 June 2022, AWS Blog

provided by Google News

From a Fan: On the Ascendance of PostgreSQL
3 March 2023, The New Stack

Amazon Aurora PostgreSQL Adds Write-Through Cache to Improve ...
18 March 2023, InfoQ.com

Google makes AlloyDB for PostgreSQL available in 16 new regions
28 February 2023, InfoWorld

How to Use PostgreSQL With Sequelize in Node.js - MUO
5 March 2023, MakeUseOf

How to Connect PostgreSQL to a Next.js Application Using Prisma - MUO
1 March 2023, MakeUseOf

provided by Google News

An Intro to Chat2Query: An AI-Powered SQL Generator
22 March 2023, hackernoon.com

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

PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
1 November 2022, GlobeNewswire

3.4 times more Oracle MySQL transactions with Pliops' SSD array ...
17 March 2023, Blocks and Files

PingCAP to Close Out Data At Scale Roadshow 2023 with Final ...
21 March 2023, Datanami

provided by Google News

Job opportunities

Senior Solutions Architect
Cloudera, McLean, VA

Solutions Architect
Cloudera, Maryland

Senior Full Stack Software Developer in Test
Amiseq, Milpitas, CA

Sr. Big Data Consultant
Entelligence, Kansas City, MO

PostgreSQL DBA
Signify Technology, Remote

PostgreSQL DB
Cognizant, Atlanta, GA

Tableau Developer (REMOTE / long term Contract)
Glow Networks, Remote

Entry Level Django Developer
I28 Technologies Corporation, Remote

PostgreSQL DBA
Syrinx, Remote

Sales Account Executive Bay Area - Remote
PingCAP, San Francisco Bay Area, CA

Software Engineer
PingCAP, Sunnyvale, CA

Sales Development Representative (SDR)
PingCAP, San Francisco Bay Area, CA

Education Project Manager
PingCAP, San Francisco Bay Area, CA

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

jobs by Indeed



Share this page

Featured Products

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try free

AllegroGraph logo

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

Neo4j logo

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

Present your product here