pglogical_ticker
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pglogical_ticker | 1.4.1 | ETL | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 9510 | pglogical_ticker | No | Yes | Yes | Yes | No | No | pglogical_ticker |
| Related | pglogical pglogical bgw_replstatus pg_failover_slots repmgr pgautofailover spock pgactive mimeo pgpool_adm |
|---|
require a patch on el, pg18 break on el
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PGDG | 1.4.1 | 1817161514 | pglogical_ticker | pglogical |
| RPM | PIGSTY | 1.4.1 | 1817161514 | pglogical_ticker_$v | pglogical_$v |
| DEB | PGDG | 1.4.1 | 1817161514 | postgresql-$v-pglogical-ticker | postgresql-$v-pglogical |
Build
You can build the RPM / DEB packages for pglogical_ticker using pig build:
Install
You can install pglogical_ticker directly. First, make sure the PGDG repository is added and enabled:
Install the extension using pig or apt/yum/dnf:
Preload:
Create Extension:
Usage
pglogical_ticker: Have an accurate view on pglogical replication delay
A background worker that periodically updates ticker tables to measure pglogical replication lag from the provider’s standpoint.
Enabling
Add to postgresql.conf:
Install on both provider and all subscribers:
Deploy Ticker Tables
Run on the provider only (propagated to subscribers via pglogical):
For cascading replication:
Manual Tick
Launching the Ticker
The ticker auto-launches on server start if configured in shared_preload_libraries. Otherwise:
Viewing Replication Delay
On the provider:
On a subscriber:
Configuration
pglogical_ticker.database- Database to run the ticker inpglogical_ticker.naptime- Tick interval in seconds (default 10)pglogical_ticker.restart_time- Seconds before auto-restart (default 10, -1 to disable)
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)