[docs] Add note about including heartbeat table in publication

This commit is contained in:
dtseiler 2023-10-17 19:07:19 -05:00 committed by roldanbob
parent cb093057c2
commit 2dd1b9507c
3 changed files with 4 additions and 0 deletions

View File

@ -555,3 +555,4 @@ Gurps Bassi
Massimo Fortunat
Vincenzo Santonastaso
Matan Cohen
Don Seiler

View File

@ -2284,6 +2284,8 @@ Also in the `pg_replication_slots` view, the `restart_lsn` column contains the L
The database typically reclaims disk space in batch blocks. This is expected behavior and no action by a user is necessary.
* There are many updates in a database that is being tracked but only a tiny number of updates are related to the table(s) and schema(s) for which the connector is capturing changes. This situation can be easily solved with periodic heartbeat events. Set the xref:postgresql-property-heartbeat-interval-ms[`heartbeat.interval.ms`] connector configuration property.
+
Note that the heartbeat table _must_ be included in your publication in order for the connector to see the heartbeat events and process them. This can be achieved either by adding it explicitly via `ALTER PUBLICATION ... ADD TABLE ...` or by specifying `FOR ALL TABLES` when creating the publication.
* The PostgreSQL instance contains multiple databases and one of them is a high-traffic database. {prodname} captures changes in another database that is low-traffic in comparison to the other database. {prodname} then cannot confirm the LSN as replication slots work per-database and {prodname} is not invoked. As WAL is shared by all databases, the amount used tends to grow until an event is emitted by the database for which {prodname} is capturing changes. To overcome this, it is necessary to:

View File

@ -235,3 +235,4 @@ BigGillyStyle,Andy Pickler
rkudryashov,Roman Kudryashov
pricelessjunk,Kaustuv Chakrabarti
laughingman7743,Tomoyuki Nakamura
dtseiler,Don Seiler