| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | Efraín Déctor <efraindector(at)motumweb(dot)com> |
| Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
| Subject: | Re: Question about Logical Replication |
| Date: | 2017-12-11 19:42:39 |
| Message-ID: | CAKFQuwb1e9MLA8kJRGEkNordWPbvDGUtTK_HD=3mCTeZkvLvLg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Mon, Dec 11, 2017 at 12:26 PM, Efraín Déctor <efraindector(at)motumweb(dot)com>
wrote:
> Hello.
>
> Do I need to configure the settings (max_replication_slots ,
> max_wal_senders, etc) according to the number of tables to be replicated?
>
In short, no. The determination of values for these settings is based
upon other aspects of the overall multi-server system.
Physical replication is cluster-based, not table based. The slots/senders
are roughly the number of servers involved in the setup.
Logical replication is publication based.
"A publication is a set of changes generated from a table or a group of
tables, and might also be described as a change set or replication set.
Each publication exists in only one database."
The slots/senders are consumed as servers subscribe to publications.
David J.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marco Tosato | 2017-12-11 19:49:52 | Efficient way for storing lists in PostgreSQL |
| Previous Message | Efraín Déctor | 2017-12-11 19:26:48 | Question about Logical Replication |