Introducing LSM-tree into PostgreSQL, making it as a data gobbler
summary
Adds an LSM-tree (LevelDB/RocksDB) as a storage option for PostgreSQL via a Foreign Data Wrapper, claiming much higher insert throughput on large datasets. Tests use 10 GB lineitem (TPC-H) on Postgres 11.6 versus RocksDB via FDW and RocksDB standalone: Postgres throughput falls sharply from 1 GB to 10 GB, RocksDB standalone stays very fast, FDW sits in the middle because the current implementation uses synchronized transfers. Implementation uses a shared-memory client/worker process; types, transactions, and async I/O are still unfinished; code is on GitHub.
AI-written summary · about
