mobilitydb_mest
mest · Multi-entry indexes for MobilityDB temporal types
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102425 | mobilitydb_mest | mest | 1.0 | GIS | C |
PostgreSQL · 17, 18
| Relationships | |
|---|---|
| Requires | mobilitydb mest |
Usage
Sources:
mobilitydb_mest 1.0 supplies multi-entry R-tree, quadtree and k-d-tree operator classes for MobilityDB span sets, temporal values and temporal points.
Prerequisites
The reviewed source requires PostgreSQL 17 or 18, MobilityDB/MEOS 1.4, mest, and development headers for json-c when compiling. Its control dependencies are mobilitydb and mest.
Preload the installed PostGIS and MobilityDB libraries, retaining other existing entries, and restart PostgreSQL. Upstream’s example is:
Core Workflow
Enable the extension with a privileged session. The following table is an example input for temporal span-set indexing:
For an existing table containing a temporal-point column:
Classes and Maintenance
mgist and mspgist are supplied by mest. The companion adds type-specific classes such as tstzspanset_mrtree_equisplit_ops and tgeompoint_mquadtree_equisplit_ops; the SQL also defines split strategies for numeric temporal values and temporal geographic points.
num_spans and num_boxes control decomposition and affect index size. Select a class and splitting strategy against representative queries instead of assuming one configuration is optimal. The reviewed source requires MobilityDB 1.4 even when a distribution packages an older MobilityDB release; that older package is not a verified substitute.