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 > Dgraph vs. PostgreSQL vs. XTDB

System Properties Comparison Dgraph vs. PostgreSQL vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDgraph  Xexclude from comparisonPostgreSQL  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionDistributed and scalable native Graph DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA general purpose database with bitemporal SQL and Datalog and graph queries
Primary database modelGraph DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document store
Secondary database modelsDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.74
Rank#129  Overall
#11  Graph DBMS
Score586.97
Rank#4  Overall
#4  Relational DBMS
Score0.04
Rank#328  Overall
#44  Document stores
Websitedgraph.iowww.postgresql.orggithub.com/­xtdb/­xtdb
xtdb.com
Technical documentationdgraph.io/­docswww.postgresql.org/­docsxtdb.com/­howto/­quickstart.html
DeveloperDgraph Labs, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developerJuxt Ltd.
Initial release20161989 info1989: Postgres, 1996: PostgreSQL2019
Current release14.0, September 20211.19, September 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoBSDOpen Source infoMIT License
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 hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageGoCClojure
Server operating systemsLinux
OS X
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
All OS with a Java 8 (and higher) VM
Linux
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesyes, extensible-data-notation format
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 SQLnoyes infostandard with numerous extensionslimited SQL, making use of Apache Calcite
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
HTTP REST
JDBC
Supported programming languagesC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Clojure
Java
Server-side scripts infoStored proceduresnouser 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 nodesyespartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via RaftSource-replica replication infoother methods possible by using 3rd party extensionsyes, each node contains all data
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno
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, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDB
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlno infoPlanned for future releasesfine grained access rights according to SQL-standard
More information provided by the system vendor
DgraphPostgreSQLXTDB infoformerly named Crux
Competitive advantagesHorizontally scalable transactional graph database with fast arbitrary-depth joins...
» 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 partiesSQLFlow: 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

pgDash: In-Depth PostgreSQL Monitoring.
» more

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» more

EDB: Helping organizations get the most from PostgreSQL, Oracle Migration, High Availability, Security
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

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

More resources
DgraphPostgreSQLXTDB infoformerly named Crux
DB-Engines blog posts

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

show all

Conferences and events

Postgres Build 2021
Free Virtual Event, 30 November 2021 - 1 December 2021

Finished events

Latest Performance Features in PostgreSQL 14
On Demand Webinar, 14 October 2021 (finished)

PostgreSQL Performance Tuning Secrets
On Demand Webinar, 21 October 2021 (finished)

Recent citations in the news

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

Dgraph GraphQL database users detail graph use cases
20 April 2021, TechTarget

Dgraph launches Slash GraphQL, a GraphQL-native database Backend-as-a-Service
10 September 2020, TechCrunch

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

Databases, graphs, and GraphQL: The past, present, and future
30 March 2021, ZDNet

provided by Google News

Google Opens Up Spanner Database With PostgreSQL Interface
13 October 2021, The Next Platform

PostgreSQL 14 improves open source database performance
30 September 2021, TechTarget

PostgreSQL 14 brings performance boosts
1 October 2021, InfoWorld

Open-source veteran PostgreSQL emits release 14: Tweaked, scalable, and ready to get heavy
1 October 2021, The Register

PostgreSQL 14 is here - what should you look out for?
14 October 2021, JAXenter

provided by Google News

Job opportunities

Fullstack Web Engineer [React, Nest.js, GraphQL, Dgraph]
Codelab, Remote

Data Engineer
NN Tech, Remote

Sr Machine Learning/NLP Engineer
NN Tech, LLC, New York, NY

Senior QA Automation Engineer
Leadr, Inc, Remote

Data Scientist, Senior
Booz Allen Hamilton, Annapolis Junction, MD

PostgreSQL DBA/DevOps - Remote
Aspect Software Inc, Remote

Python Developer
Floracracy, Remote

Remote Back-end Engineer (PostgreSQL, GraphQL, and Node)
Turing.Com, United States

Senior Machine Learning Engineer Remote Opportunity US Many states / Canada
MaxMind, Remote

Back-end Developer (Remote)
Alliance for a Healthier Generation, Portland, OR

jobs by Indeed



Share this page

Featured Products

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!

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Neo4j logo

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

Present your product here