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

System Properties Comparison Hive vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameHive  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
Descriptiondata warehouse software for querying and managing large distributed datasets, built on HadoopWidely 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
Score72.12
Rank#17  Overall
#11  Relational DBMS
Score616.50
Rank#4  Overall
#4  Relational DBMS
Score3.01
Rank#108  Overall
#54  Relational DBMS
Websitehive.apache.orgwww.postgresql.orgpingcap.com
Technical documentationcwiki.apache.org/­confluence/­display/­Hive/­Homewww.postgresql.org/­docsdocs.pingcap.com/­tidb/­stable
DeveloperApache Software Foundation infoinitially developed by FacebookPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20121989 info1989: Postgres, 1996: PostgreSQL2016
Current release3.1.3, April 202215.1, November 20226.5.0, December 2022
License infoCommercial or Open SourceOpen Source infoApache Version 2Open 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 languageJavaCGo, Rust
Server operating systemsAll OS with a Java VMFreeBSD
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.yes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes
SQL infoSupport of SQLSQL-like DML and DDL statementsyes infostandard with numerous extensionsyes
APIs and other access methodsJDBC
ODBC
Thrift
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesC++
Java
PHP
Python
.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 proceduresyes infouser defined functions and integration of map-reduceuser 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 nodesselectable replication factorSource-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 methodsyes infoquery execution via MapReducenoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual 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.nono
User concepts infoAccess controlAccess rights for users, groups 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
HivePostgreSQLTiDB
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 partiesDatasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» 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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

The State of PostgreSQL 2022 survey is now open!
» 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
HivePostgreSQLTiDB
DB-Engines blog posts

Why is Hadoop not listed in the DB-Engines Ranking?
13 May 2013, Paul Andlinger

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 Linkis Graduated to Apache Top-Level Project
1 February 2023, InfoQ.com

Are Databases Becoming Just Query Engines for Big Object Stores?
3 January 2023, Datanami

What Is Apache Hive? (Definition, Benefits, Challenges)
19 December 2022, Built In

The Apache Software Foundation Announces Apache® Linkis™ as ...
18 January 2023, GlobeNewswire

Data Mesh Creator Takes Next Data Step
30 January 2023, Datanami

provided by Google News

What is PostgreSQL?
25 January 2023, Database Journal

Securing PostgreSQL from Cryptojacking Campaigns in Kubernetes
26 January 2023, CrowdStrike

Microsoft: Kubernetes clusters hacked in malware campaign via PostgreSQL
9 January 2023, BleepingComputer

Running Applications in Docker, Part 2: Table Joins in PostgreSQL
20 January 2023, Virtualization Review

Running Apps in Docker, Part 4: Deploy Different App Versions with ...
1 February 2023, Virtualization Review

provided by Google News

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

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

Data management trends: Convergence and more money
19 January 2023, TechTarget

TiDB Cloud Launches in AWS Marketplace
10 February 2022, Datanami

PingCAP Named a Strong Performer among Translytical Data ...
6 December 2022, GlobeNewswire

provided by Google News

Job opportunities

Senior Data Engineer
ERPMark Inc, Remote

Data Engineer
Purple Drive Technologies, Remote

Machine Learning Engineer
Antra, Inc, Remote

Data Engineer
ADT Security Services, Remote

Jr. Big Data Engineer - 114065
i28 technologies corporation, Wellston, OH

PostgreSQL Developer
Divi Technologies, Remote

PostgreSQL DBA
Propelsys Technologies LLC, Remote

Junior Developer
Tekveo, Des Moines, IA

Support Engineer
Ollie Pet, Remote

SQL Developer
Ebyte Technologies Inc., Remote

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

Staff Software Engineer, Distributed System
Zilliz, San Francisco, CA

Senior Demand Generation Marketing Manager
PingCAP, Sunnyvale, CA

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

Web Application Architect III
Bloomberg BNA, Arlington, VA

jobs by Indeed



Share this page

Featured Products

Redis logo

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

Neo4j logo

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

AllegroGraph logo

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

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 80GB free.

Present your product here