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|
|Name||Hive Xexclude from comparison||PostgreSQL Xexclude from comparison||TiDB Xexclude from comparison|
|Description||data warehouse software for querying and managing large distributed datasets, built on Hadoop||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||TiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.|
|Primary database model||Relational DBMS||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Relational DBMS|
|Secondary database models||Document store|
|Developer||Apache Software Foundation initially developed by Facebook||PostgreSQL Global Development Group www.postgresql.org/developer||PingCAP, Inc.|
|Initial release||2012||1989 1989: Postgres, 1996: PostgreSQL||2016|
|Current release||3.1.3, April 2022||15.1, November 2022||6.5.0, December 2022|
|License Commercial or Open Source||Open Source Apache Version 2||Open Source BSD||Open Source Apache 2.0|
|Cloud-based only Only available as a cloud service||no||no||no|
|DBaaS offerings (sponsored links) Database as a Service|
Providers of DBaaS offerings, please contact us to be listed.
|TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.|
|Implementation language||Java||C||Go, Rust|
|Server operating systems||All OS with a Java VM||FreeBSD|
|Typing predefined data types such as float or date||yes||yes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||yes specific XML-type available, but no XML query functionality.||no|
|SQL Support of SQL||SQL-like DML and DDL statements||yes standard with numerous extensions||yes|
|APIs and other access methods||JDBC|
native C library
streaming API for large objects
|Supported programming languages||C++|
|Server-side scripts Stored procedures||yes user defined functions and integration of map-reduce||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||no|
|Partitioning methods Methods for storing different data on different nodes||Sharding||partitioning by range, list and (since PostgreSQL 11) by hash||horizontal partitioning (by key range)|
|Replication methods Methods for redundantly storing data on multiple nodes||selectable replication factor||Source-replica replication other methods possible by using 3rd party extensions||Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.|
|MapReduce Offers an API for user-defined Map/Reduce methods||yes query execution via MapReduce||no||yes with TiSpark Connector|
|Consistency concepts Methods to ensure consistency in a distributed system||Eventual Consistency||Immediate Consistency||Immediate Consistency|
|Foreign keys Referential integrity||no||yes||no currently only supported in syntax|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||no||ACID||ACID|
|Concurrency Support for concurrent manipulation of data||yes||yes||yes|
|Durability Support for making data persistent||yes||yes||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||no||no|
|User concepts Access control||Access rights for users, groups and roles||fine grained access rights according to SQL-standard||Users with fine-grained authorization concept. No user groups or roles.|
|More information provided by the system vendor|
|Specific characteristics||TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...|
|Competitive advantages||In the current database landscape, infrastructure engineers often have to use one...|
|Typical application scenarios||TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...|
|Key customers||Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...|
|Market metrics||25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...|
|Licensing and pricing models||Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...|
We invite representatives of system vendors to contact us for updating and extending the system information,
|Related products and services|
|3rd parties||Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters|
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.
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
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.
Percona: Database problems? Not on your watch.
Databases run better with Percona.
Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
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.
Instaclustr: Fully Hosted & Managed PostgreSQL
The State of PostgreSQL 2022 survey is now open!
pgDash: In-Depth PostgreSQL Monitoring.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
Why is Hadoop not listed in the DB-Engines Ranking?
Snowflake is the DBMS of the Year 2022, defending the title from last year
|Conferences and events|
PGCon 2023, PostgreSQL Conference for Users and Developers
|Recent citations in the news|
Apache Linkis Graduated to Apache Top-Level Project
Are Databases Becoming Just Query Engines for Big Object Stores?
What Is Apache Hive? (Definition, Benefits, Challenges)
The Apache Software Foundation Announces Apache® Linkis™ as ...
Data Mesh Creator Takes Next Data Step
provided by Google News
What is PostgreSQL?
Securing PostgreSQL from Cryptojacking Campaigns in Kubernetes
Microsoft: Kubernetes clusters hacked in malware campaign via PostgreSQL
Running Applications in Docker, Part 2: Table Joins in PostgreSQL
Running Apps in Docker, Part 4: Deploy Different App Versions with ...
provided by Google News
PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
PingCAP’s Innovative TiDB Database – Techstrong.TV
Data management trends: Convergence and more money
TiDB Cloud Launches in AWS Marketplace
PingCAP Named a Strong Performer among Translytical Data ...
provided by Google News
Senior Data Engineer
Machine Learning Engineer
Jr. Big Data Engineer - 114065
SSBN/SSGN Missile Technician
Staff Software Engineer, Distributed System
Senior Demand Generation Marketing Manager
Staff Software Engineer - Cash Cards
Web Application Architect III
Share this page