Shreeyansh,
Yes.. we have same structure in the subscription side as well.
Regards,
Anjul TYAGI
ü Go Green
------ Original Message ------
From: "Shreeyansh Dba" <shreeyansh2014@xxxxxxxxx>
To: "Anjul Tyagi" <anjul@xxxxxxxxxxxxxxxx>
Cc: "pgsql-admin@xxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxx>
Sent: 06-07-2018 21:02:33
Subject: Re: logical Replication
Hi Anjul,
Do you have a big table with a structure on subscription side which you are trying to replicate?
On Fri, Jul 6, 2018 at 12:41 PM, Anjul Tyagi <anjul@xxxxxxxxxxxxxxxx> wrote:Team,we are trying to setup an logical replication on the Postgres 10.4, we are able to replicate the small tables but facing issue with big tables, when table has around 60 columns and 30 million rows.While checking the log on publication server, it shows copy command but did not copy data to subscriber server.Postgres Version - 10.4Linux - SUSE SLE-12.3Following are the setting we have enabled on Primary server:Primary Server:wal_level = logicalshared_buffers = 6GBeffective_cache_size = 18GBmaintenance_work_mem = 1536MBcheckpoint_completion_target = 0.9wal_buffers = 16MBdefault_statistics_target = 100random_page_cost = 1.1effective_io_concurrency = 200work_mem = 3145kBmin_wal_size = 1GBmax_wal_size = 2GBmax_replication_slots = 25max_wal_senders = 30max_parallel_workers_per_gather = 2 max_parallel_workers = 4Secondary Server:shared_buffers = 6GBeffective_cache_size = 18GBmaintenance_work_mem = 1536MBcheckpoint_completion_target = 0.9wal_buffers = 16MBdefault_statistics_target = 100random_page_cost = 1.1effective_io_concurrency = 200work_mem = 3145kBmax_replication_slots = 25max_logical_replication_workers = 30 max_worker_processes = 31can you please help us to understand, if is there any issue on the configuration.Regards,
Anjul TYAGI
ü Go Green