orioledb
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
orioledb | 1.10 | FEAT | Apache-2.0 OR PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2910 | orioledb | No | Yes | Yes | Yes | No | Yes | - |
Upstream beta19 installs SQL 1.10 and requires patched kernels patches16_49/patches17_22/patches18_3. Retained Pigsty recipes, source archives and local RPM/DEB matrix use beta19 (package 1.10). Public beta, not recommended upstream for production; repository publication is checked separately.
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.10 | 1817161514 | orioledb | - |
| RPM | PIGSTY | 1.10 | 1817161514 | orioledb-$v | - |
| DEB | PIGSTY | 1.10 | 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:
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:
Use ordinary DML on OrioleDB tables, subject to the documented compatibility limits:
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 beta17 uses extension SQL version 1.9 and patched PostgreSQL bases 16.15, 17.11, and 18.6. It adds concurrent creation/rebuilding of native btree indexes, cross-major upgrade support, page checksums, and parallel index/bitmap scans, together with recovery and DDL correctness fixes. Follow the beta17 binary and storage compatibility instructions before upgrading; a new SQL version does not make the engine usable on an unpatched PostgreSQL server.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)