documentdb_extended_rum

documentdb_extended_rum

documentdb : DocumentDB Extended RUM index access method

Overview

ID Extension Package Version Category License Language
9030
documentdb_extended_rum
documentdb
0.109
SIM
MIT
C
Attribute Has Binary Has Library Need Load Has DDL Relocatable Trusted
--sLd-r
No
Yes
Yes
Yes
yes
no
Relationships
See Also
rum
documentdb
documentdb_core
documentdb_distributed
mongo_fdw
Siblings
documentdb
documentdb_core
documentdb_distributed

Packages

Type Repo Version PG Major Compatibility Package Pattern Dependencies
EXT
PIGSTY
0.109
18
17
16
15
14
documentdb -
RPM
PIGSTY
0.109
18
17
16
15
14
documentdb_$v postgresql$v-contrib, pg_cron_$v, pgvector_$v, rum_$v
DEB
PIGSTY
0.109
18
17
16
15
14
postgresql-$v-documentdb postgresql-$v-cron, postgresql-$v-pgvector, postgresql-$v-rum
Linux / PG PG18 PG17 PG16 PG15 PG14
el8.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el8.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el9.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el9.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el10.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
el10.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.107
MISS
d12.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d12.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d13.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
d13.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u22.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u22.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u24.x86_64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS
u24.aarch64
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
PIGSTY 0.109
MISS

Source

pig build pkg documentdb;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install documentdb;		# install via package name, for the active PG version
pig install documentdb_extended_rum;		# install by extension name, for the current active PG version

pig install documentdb_extended_rum -v 18;   # install for PG 18
pig install documentdb_extended_rum -v 17;   # install for PG 17
pig install documentdb_extended_rum -v 16;   # install for PG 16
pig install documentdb_extended_rum -v 15;   # install for PG 15

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_documentdb_extended_rum';

Create this extension with:

CREATE EXTENSION documentdb_extended_rum;

Usage

documentdb_extended_rum: DocumentDB Extended RUM index access method

The documentdb_extended_rum extension provides an enhanced RUM (Recursive Union Merge) index access method for DocumentDB on PostgreSQL. It improves query performance for document-based workloads.

Overview

This extension extends the RUM index type to better support BSON document indexing within DocumentDB. It provides optimized index access methods for:

  • Full-text search on document fields
  • Compound index operations on BSON data
  • Efficient range queries and sorting on indexed document properties

Prerequisites

Requires documentdb_core to be installed.

Enabling

CREATE EXTENSION documentdb_extended_rum;

The extended RUM indexes are automatically utilized by the DocumentDB query planner when appropriate for document query patterns.

Last updated on