orioledb
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
orioledb | 1.8 | FEAT | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2910 | orioledb | No | Yes | Yes | Yes | No | Yes | - |
patched kernel; beta16 for patchset 18.1/17.20/16.47
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.8 | 1817161514 | orioledb | - |
| RPM | PIGSTY | 1.8 | 1817161514 | orioledb-$v | - |
| DEB | PIGSTY | 1.8 | 1817161514 | orioledb-$v | - |
Build
You can build the RPM / DEB packages for orioledb using pig build:
Install
You can install orioledb directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Preload:
Create Extension:
Usage
Sources: README, beta16 release, patched PostgreSQL tree
OrioleDB is a new storage engine for PostgreSQL that provides modern approaches to database capacity, capabilities, and performance. It uses undo log-based MVCC, copy-on-write checkpoints, and row-level WAL to eliminate bloat and the need for VACUUM.
Configuration
Add to postgresql.conf (requires restart):
Then enable the extension:
Creating Tables
Use the USING orioledb clause to create tables with the OrioleDB storage engine:
All standard PostgreSQL operations work on OrioleDB tables:
Collation Requirements
OrioleDB tables support only ICU, C, and POSIX collations. To avoid specifying COLLATE on every text field, create the database with an appropriate default:
Key Benefits
- No bloat: Undo log-based MVCC means old tuple versions do not bloat main storage
- No VACUUM needed: Page-merging and undo log reclaim space automatically
- No wraparound problem: Native 64-bit transaction identifiers
- Lock-less page reading: In-memory pages linked directly to storage pages
- Row-level WAL: Compact write-ahead logging suitable for parallel apply
Limitations
- Public beta status – recommended for testing, not production
- Requires a patched PostgreSQL build from orioledb/postgres
- Only ICU, C, and POSIX collations are supported
Version Notes
OrioleDB 1.8-beta16 bumps the extension SQL version to 1.8, bases patched PostgreSQL builds on 16.13, 17.9, and 18.4, and adds PostgreSQL 18 support. New user-facing surfaces include orioledb.serializable for SERIALIZABLE support and verify_orioledb(regclass, boolean) for pg_amcheck integration. The release also includes recovery, replication, index-scan, vacuum, and DDL correctness fixes.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)