DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > DuckDB vs. PostgreSQL vs. XTDB

System Properties Comparison DuckDB vs. PostgreSQL vs. XTDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDuckDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparison
DescriptionAn embeddable, in-process, column-oriented SQL OLAP RDBMSWidely 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 modelRelational 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
Score2.01
Rank#143  Overall
#70  Relational DBMS
Score616.50
Rank#4  Overall
#4  Relational DBMS
Score0.18
Rank#361  Overall
#53  Document stores
Websiteduckdb.orgwww.postgresql.orggithub.com/­xtdb/­xtdb
xtdb.com
Technical documentationduckdb.org/­docswww.postgresql.org/­docsxtdb.com/­docs
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerJuxt Ltd.
Initial release20181989 info1989: Postgres, 1996: PostgreSQL2019
Current release0.2, August 202015.1, November 20221.19, September 2021
License infoCommercial or Open SourceOpen Source infoMIT LicenseOpen 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.
  • 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.
Implementation languageC++CClojure
Server operating systemsserver-lessFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
All OS with a Java 8 (and higher) VM
Linux
Data schemeyesyesschema-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 SQLyesyes infostandard with numerous extensionslimited SQL, making use of Apache Calcite
APIs and other access methodsCLI Client
JDBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
HTTP REST
JDBC
Supported programming languagesC
C++
Go info3rd party driver
Java
Python
R
Ruby info3rd party driver
.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 nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-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 datayes, multi-version concurrency control (MVCC)yesyes
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.yesno
User concepts infoAccess controlnofine grained access rights according to SQL-standard

More information provided by the system vendor

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 partiesFujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» 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

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» 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

The State of PostgreSQL 2022 survey is now open!
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

More resources
DuckDBPostgreSQLXTDB infoformerly named Crux
DB-Engines blog posts

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

DuckDB, database wrangler used by Google, Facebook, and Airbnb, hits 0.5.0
9 September 2022, The Register

SQL With CSVs
5 January 2023, KDnuggets

MotherDuck raises $47.5M for open source DuckDB database
15 November 2022, TechTarget

Is Big Data Dead? MotherDuck Raises $47M to Prove It
16 November 2022, Datanami

What's 2023 have in store for DC tech? These experts offer their ...
10 January 2022, Technical.ly

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

10 Tips to Optimize PostgreSQL Queries in Your Django Project
11 January 2023, Security Boulevard

provided by Google News

Job opportunities

Entry Level Django Developer
I28 Technologies Corporation, Remote

PostgreSQL Developer
Divi Technologies, Remote

Go Backend Engineer 100% Remote
Pridevel Consulting, Remote

Scala Engineer (100% Global Remote)
vidIQ, Remote

Software Engineer - 100% Remote
CDK Global, Salt Lake City, UT

jobs by Indeed



Share this page

Featured Products

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

Redis logo

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

Present your product here