PostgreSQL Storage Engine Survey

PostgreSQL and RocksDB Overview

System Properties Comparison PostgreSQL vs. RocksDB

Name PostgreSQL RocksDB
Description Widely used open source RDBMS Embeddable persistent key-value store optimized for fast storage (flash and RAM)
Primary database model Relational DBMS Key-value store
Implementation language C C++
Data schema yes schema-free
Typing yes no
Secondary indexes yes no
SQL yes no
Server-side scripts UDF no
Triggers yes no
Partitioning partitioning by range, list and (since PostgreSQL 11) by hash none
Replication methods Master-slave replication none
Foreign keys yes no
Transaction concepts ACID yes
Concurrency yes yes
Durability yes yes
In-memory capabilities no yes

RocksDB

Pros

Performance

Features

Alternative Data Structures And Formats

Tunability

Manageability

Cons

PostgreSQL

Pros

Cons

Postgres based storage engine draft

Reference

System Properties Comparison PostgreSQL vs. RocksDB
In-Memory Microbenchmark
MyRocks: A space- and write-optimized MySQL database
Benchmarking InnoDB and MyRocks Performance using Sysbench
Pushdown computations in PolyBase
The Internals of PostgreSQL - Process and Memory Architecture
RocksDB introduction:RocksDB use cases and features (Chinese)
RocksDB Pros and Cons in application scenarios (Chinese)