mobilitydb_datagen
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
mobilitydb | 1.3.0 | GIS | PostgreSQL | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 1650 | mobilitydb | No | Yes | Yes | Yes | No | No | - |
| 1651 | mobilitydb_datagen | No | No | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | MIXED | 1.3.0 | 1817161514 | mobilitydb | mobilitydb |
| RPM | PIGSTY | 1.3.0 | 1817161514 | mobilitydb_$v | postgis36_$v |
| DEB | PGDG | 1.3.0 | 1817161514 | postgresql-$v-mobilitydb | postgresql-$v-postgis-3 |
| OS / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| el8.aarch64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| el9.x86_64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| el9.aarch64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| el10.x86_64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| el10.aarch64 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 | PIGSTY 1.3.0 |
| d12.x86_64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| d12.aarch64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| d13.x86_64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| d13.aarch64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| u22.x86_64 | PIGSTY 1.3.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u22.aarch64 | PIGSTY 1.3.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 | PGDG 1.2.0 |
| u24.x86_64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| u24.aarch64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| u26.x86_64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
| u26.aarch64 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 | PGDG 1.3.0 |
Build
You can build the RPM packages for mobilitydb using pig build:
Install
You can install mobilitydb directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
Sources: repository, synthetic data generator docs, control file, temporal generators, temporal point generators
mobilitydb_datagen provides PL/pgSQL functions for generating synthetic PostgreSQL, PostGIS, and MobilityDB values. It is mainly useful for regression data, demos, and benchmark fixtures that need random temporal values or trajectories.
Generating Random Temporal Values
Other confirmed generator families include scalar helpers such as random_bool, random_int, random_float, random_text, and random_timestamptz; array, set, span, and range helpers; temporal helpers such as random_tbool_inst, random_tint_discseq, random_tfloat_seq, and random_tfloat_seqset; and spatial/temporal-point helpers such as random_geom_point, random_geom_linestring, random_tgeompoint_contseq, random_tgeompoint_seqset, random_tgeogpoint_contseq, and random_tgeogpoint_seqset.
Generating Test Datasets
Create bulk test data for benchmarking trip queries:
Caveats
- The control file requires the main
mobilitydbextension;mobilitydb_datagenis not standalone. - The package row in
db/extension.csvlists version1.3.0, packagemobilitydb, and PostgreSQL support for 14 through 18. - Upstream docs intentionally omit detailed parameter lists for many generator functions and point users to the SQL source files for exact signatures.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)