mimeo
mimeo : Extension for specialized, per-table replication between PostgreSQL instances
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 9700 | mimeo | mimeo | 1.5.1 |
ETL | PostgreSQL | SQL |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| ----d-- | No | No | No | Yes | no | no |
| Relationships | |
|---|---|
| Requires | dblink |
| See Also | pglogical spock db_migrator pgactive postgres_fdw pgoutput pgclone repmgr pg_failover_slots pgspider_ext |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | MIXED | 1.5.1 |
18 17 16 15 14 | mimeo |
dblink |
| RPM | PIGSTY | 1.5.1 |
18 17 16 15 14 | mimeo_$v |
- |
| DEB | PGDG | 1.5.1 |
18 17 16 15 14 | postgresql-$v-mimeo |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| el8.aarch64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| el9.x86_64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| el9.aarch64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| el10.x86_64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| el10.aarch64 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 | PIGSTY 1.5.1 |
| d12.x86_64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| d12.aarch64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| d13.x86_64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| d13.aarch64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u22.x86_64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u22.aarch64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u24.x86_64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u24.aarch64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u26.x86_64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
| u26.aarch64 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 | PGDG 1.5.1 |
Source
github.com/omniti-labs/mimeo
mimeo-1.5.1.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
mimeo: Extension for specialized, per-table replication between PostgreSQL instances
Provides per-table replication between PostgreSQL instances with snapshot (full copy), incremental (timestamp/id based), and DML (insert/update/delete) modes.
Enabling
Requires the dblink extension. Optionally install pg_jobmon for monitoring.
Setting Up a Data Source
Snapshot Replication (Full Table Copy)
Copies the entire source table each time it runs:
Incremental Replication (Timestamp-Based)
Replicates rows based on an incrementing timestamp column:
For tables with updates (not just inserts):
DML Replication (Insert/Update/Delete)
Full DML tracking via triggers on the source:
Scheduling Refreshes
Use pg_jobmon or cron to schedule periodic calls to the appropriate refresh_* function.
Key Features
- Three replication modes: snapshot, incremental, DML
- Per-table replication (no need to replicate entire database)
- Works between different PostgreSQL versions
- Built on
dblinkfor cross-database communication