DBMS > PostgreSQL vs. Spark SQL vs. TiDB
System Properties Comparison PostgreSQL vs. Spark SQL vs. TiDB
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines|
|Name||PostgreSQL Xexclude from comparison||Spark SQL Xexclude from comparison||TiDB Xexclude from comparison|
|Description||Widely used open source RDBMS Developed as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL||Spark SQL is a component on top of 'Spark Core' for structured data processing||TiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.|
|Primary database model||Relational DBMS with object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.||Relational DBMS||Relational DBMS|
|Secondary database models||Document store|
Graph DBMS with Apache Age
|Developer||PostgreSQL Global Development Group www.postgresql.org/developer||Apache Software Foundation||PingCAP, Inc.|
|Initial release||1989 1989: Postgres, 1996: PostgreSQL||2014||2016|
|Current release||15.3, May 2023||3.4.0 ( 2.13), April 2023||7.0.0, March 2023|
|License Commercial or Open Source||Open Source BSD||Open Source Apache 2.0||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||C||Scala||Go, Rust|
|Server operating systems||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||no|
|SQL Support of SQL||yes standard with numerous extensions||SQL-like DML and DDL statements||yes|
|APIs and other access methods||ADO.NET|
native C library
streaming API for large objects
|Supported programming languages||.Net|
|Server-side scripts Stored procedures||user defined functions realized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.||no||no|
|Partitioning methods Methods for storing different data on different nodes||partitioning by range, list and (since PostgreSQL 11) by hash||yes, utilizing Spark Core||horizontal partitioning (by key range)|
|Replication methods Methods for redundantly storing data on multiple nodes||Source-replica replication other methods possible by using 3rd party extensions||none||Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.|
|MapReduce Offers an API for user-defined Map/Reduce methods||no||yes with TiSpark Connector|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate Consistency||Immediate Consistency|
|Foreign keys Referential integrity||yes||no||yes full support since version 6.6|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||ACID||no||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||no|
|User concepts Access control||fine grained access rights according to SQL-standard||no||Fine grained access rights according to SQL-standard|
|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||pgDash: In-Depth PostgreSQL Monitoring. |
Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
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.
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.
Instaclustr: Fully Hosted & Managed PostgreSQL
Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
The State of PostgreSQL 2022 survey is now open!
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.
Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
Snowflake is the DBMS of the Year 2022, defending the title from last year Snowflake is the DBMS of the Year 2021 Driving the Future of PostgreSQL Adoption
Snowflake is the DBMS of the Year 2021 Driving the Future of PostgreSQL Adoption
Driving the Future of PostgreSQL Adoption
|Conferences and events|
PGCon 2023, PostgreSQL Conference for Users and Developers
|Recent citations in the news|
PostgreSQL 16 advances query parallelism
Devart Tools for PostgreSQL Come with a Massive Update
MariaDB's Xpand offers PostgreSQL compatibility without the forking drama
How to Migrate from Oracle to PostgreSQL
Trusted Language Extensions Bring PostgreSQL Procedural UDFs ...
provided by Google News
Spark SQL Explained with Examples
Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2023
What is Spark SQL?
Spark SQL Tutorial - Learn Spark SQL
Spark SQL Inner Join Explained
provided by Google News
Pliops and phoenixNAP team up to turbocharge Redis – Blocks and ...
PingCAP’s Innovative TiDB Database – Techstrong.TV
PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
PingCAP Innovates GitHub Insights with the GitHub Data Explorer Tool
Apache Druid, TiDB, ClickHouse, or Apache Doris? A Comparison ...
provided by Google News
PostgreSQL Database Administrator
Junior PostgreSQL Infrastructure Engineer
Junior Backend Developer
Spark (Databricks) Engineer – All Levels (REMOTE)
Machine Learning Engineer
Threat Detection Engineer II
100% Remote // ADF Data Engineer (Azure Data Factory, Scala, Spark, Python)
Staff Software Engineer, Ads Infra
Software Engineer - Cash Databases
Staff Software Engineer - Cash Cards
Database Engineer (Spanner Expertise)
Share this page