DBMS > Dgraph vs. PostgreSQL vs. TiDB
System Properties Comparison Dgraph vs. PostgreSQL vs. TiDB
Please select another system to include it in the comparison.
|Editorial information provided by DB-Engines|
|Name||Dgraph Xexclude from comparison||PostgreSQL Xexclude from comparison||TiDB Xexclude from comparison|
|Description||Distributed and scalable native Graph DBMS||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||Graph 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||Dgraph Labs, Inc.||PostgreSQL Global Development Group www.postgresql.org/developer||PingCAP, Inc.|
|Initial release||2016||1989 1989: Postgres, 1996: PostgreSQL||2016|
|Current release||15.1, November 2022||6.5.0, December 2022|
|License Commercial or Open Source||Open Source Apache 2.0||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||Go||C||Go, Rust|
|Server operating systems||Linux|
|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.||no||yes specific XML-type available, but no XML query functionality.||no|
|SQL Support of SQL||no||yes standard with numerous extensions||yes|
|APIs and other access methods||GraphQL query language|
gRPC (using protocol buffers) API
native C library
streaming API for large objects
|Supported programming languages||C#|
|Server-side scripts Stored procedures||no||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||yes||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||Synchronous replication via Raft||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||no||no||yes with TiSpark Connector|
|Consistency concepts Methods to ensure consistency in a distributed system||Immediate 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||ACID||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||no Planned for future releases||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||Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
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.
pgDash: In-Depth PostgreSQL Monitoring.
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.
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.
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!
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
|Conferences and events|
PGCon 2023, PostgreSQL Conference for Users and Developers
|Recent citations in the news|
Popular Open Source GraphQL Company Dgraph Secures $6M in ...
Dgraph GraphQL database users detail graph use cases
Gary Hagmueller Joins Dgraph Labs To Lead the Graph Platform ...
Dgraph raises $11.5 million for scalable graph database solutions
Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
provided by Google News
What is PostgreSQL?
Fourth Major Version of dbForge Data Compare for PostgreSQL ...
Securing PostgreSQL from Cryptojacking Campaigns in Kubernetes
Microsoft: Kubernetes clusters hacked in malware campaign via PostgreSQL
Running Apps in Docker, Part 1: Instantiation and Using PostgreSQL
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
PingCAP Named a Strong Performer among Translytical Data ...
PingCAP Introduces its New Developer Tier to Boost Application ...
provided by Google News
Sr. Backend Engineer
SRE- Data Platform
Senior Database Administrator-PostgreSQL (Remote)
Share this page