DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > DuckDB vs. PostgreSQL vs. RocksDB

System Properties Comparison DuckDB vs. PostgreSQL vs. RocksDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDuckDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRocksDB  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 SQLEmbeddable persistent key-value store optimized for fast storage (flash and RAM)
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.Key-value store
Secondary database modelsDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.35
Rank#54  Overall
#32  Relational DBMS
Score659.62
Rank#4  Overall
#4  Relational DBMS
Score3.06
Rank#82  Overall
#11  Key-value stores
Websiteduckdb.orgwww.postgresql.orgrocksdb.org
Technical documentationduckdb.org/­docswww.postgresql.org/­docsgithub.com/­facebook/­rocksdb/­wiki
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerFacebook, Inc.
Initial release20181989 info1989: Postgres, 1996: PostgreSQL2013
Current release1.0.0, June 202416.4, August 20249.4.0, June 2024
License infoCommercial or Open SourceOpen Source infoMIT LicenseOpen Source infoBSDOpen Source infoBSD
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.
PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageC++CC++
Server operating systemsserver-lessFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeyesyesschema-free
Typing infopredefined data types such as float or dateyesyesno
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 indexesyesyesno
SQL infoSupport of SQLyesyes infostandard with numerous extensionsno
APIs and other access methodsArrow Database Connectivity (ADBC)
CLI Client
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
C++ API
Java API
Supported programming languagesC
C# info3rd party driver
C++
Crystal info3rd party driver
Go info3rd party driver
Java
Lisp info3rd party driver
Python
R
Ruby info3rd party driver
Rust
Swift
Zig info3rd party driver
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C++
Go
Java
Perl
Python
Ruby
Server-side scripts infoStored proceduresnouser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnoyes
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashhorizontal partitioning
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replication infoother methods possible by using 3rd party extensionsyes
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 dataACIDACIDyes
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardno

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 parties
» more


» more


» more


» more


» more

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

More resources
DuckDBPostgreSQLRocksDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

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

show all

Recent citations in the news

A Guide to Data Analysis in Python with DuckDB
18 November 2024, KDnuggets

MotherDuck Announces Beta Release of pg_duckdb; Brings DuckDB's Analytics Power to PostgreSQL Users
24 October 2024, PR Newswire

Polars and DuckDB release Unity Catalog (Delta Lake) integrations. Who lied? Who didn't?
27 January 2025, substack.com

DuckDB + Webassembly = WhatTheDuck
2 January 2025, iProgrammer

My First Billion (of Rows) in DuckDB
1 May 2024, Towards Data Science

provided by Google News

Microsoft builds open source document database on PostgreSQL, suggests FerretDB as front end
27 January 2025, The Register

Amazon Aurora PostgreSQL Limitless Database is now generally available
31 October 2024, AWS Blog

YugabyteDB Levels Up its PostgreSQL Compatibility with PG15 Features and Seamless Upgrades
30 January 2025, Business Wire

Seattle Postgres: Managing Transaction Metadata in PostgreSQL
27 January 2025, GeekWire

Microsoft’s new DocumentDB rethinks NoSQL on PostgreSQL
30 January 2025, InfoWorld

provided by Google News

CORRECTING and REPLACING Kioxia Demonstrates Flexible Data Placement-Enabled SSD Running RocksDB at 2024 OCP Global Summit
18 October 2024, Business Wire

AMD EPYC vs. Intel Xeon Cascadelake With Facebook's RocksDB Database
17 October 2019, Phoronix

KIOXIA SSD 'Flexible Data Placement' tech is a game changer for generative AI and the cloud
14 October 2024, TweakTown

Facebook’s MyRocks Truly Rocks!
21 September 2020, Open Source For You

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

Present your product here