pg_ndarray
alohadb · AlohaDB: Chunked compressed N-dimensional arrays
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102392 | pg_ndarray | alohadb | 1.0 | TYPE | MIT | C |
PostgreSQL · 18
Usage
Sources:
pg_ndarray 1.0 provides chunked compressed n-dimensional arrays. This preview module is scoped to the PostgreSQL 18 fork in AlohaDB 21.1.0; stock PostgreSQL compatibility is not established.
Workflow
Installation requires a superuser; function use also requires the appropriate object privileges.
Operational boundaries
Array metadata and zstd-compressed chunks live in ordinary tables. ndarray_write, ndarray_reduce, ndarray_map and ndarray_storage support updates, computation and inspection; core tensor helpers are AlohaDB-specific. Slices use zero-based start/stop/step bounds and unwritten chunks return the configured fill value. Review array dimensions, chunk sizes, write locks and role access before large workloads.
This module corresponds to the former upstream name alohadb_ndarray. Follow AlohaDB’s cluster/object conversion procedure and do not substitute an unrelated implementation with a similar name. Rehearse dependencies, privileges and backup restoration before upgrades.