Re: Heavy Logging in Subscriber side when configured LogicalReplication in 10.4

Поиск
Список
Период
Сортировка
От soumitra bhandary
Тема Re: Heavy Logging in Subscriber side when configured LogicalReplication in 10.4
Дата
Msg-id MA1PR0101MB1687B5878714AA511B9E3697E00C0@MA1PR0101MB1687.INDPRD01.PROD.OUTLOOK.COM
обсуждение исходный текст
Ответ на Re: Heavy Logging in Subscriber side when configured LogicalReplication in 10.4  (pavan95 <pavan.postgresdba@gmail.com>)
Ответы Re: Heavy Logging in Subscriber side when configured LogicalReplication in 10.4
Список pgsql-admin
There are multiple ways to deal with this . Also you have not mentioned the nature of the environment . 

Check the Postgres log file , at the server where you are getting this primary key violation error . Along with error message it should print the error value as well . Take the same value and verify at table . 

Another  way to handle the scenario (considering it as production / client side environment) , take the table dump , using pgdump from each  DB server . Restore those 2 dump into 2 different tabel , in some different server . After that that you can easily find out the duplicate key value by query . 

Hope this will resolve your issue . 

Thanks ,
Soumitra 

From: pavan95 <pavan.postgresdba@gmail.com>
Sent: Monday, September 3, 2018 11:33 AM
To: pgsql-admin@postgresql.org
Subject: Re: Heavy Logging in Subscriber side when configured Logical Replication in 10.4
 
Hi Soumitra,

Thanks for your timely response.

>>This may be due to several reason , so you have to remove that conflict
first .

Could you suggest me a way to do it. I am unable to figure out why this data
integrity came into picture(like why it is failing). In order to reduce this
what are measures to cope with??

Thanks in Advance.

Regards,
Pavan



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html

В списке pgsql-admin по дате отправления:

Предыдущее
От: pavan95
Дата:
Сообщение: Re: Heavy Logging in Subscriber side when configured LogicalReplication in 10.4
Следующее
От: soumitra bhandary
Дата:
Сообщение: Re: Not able to increase TPS in Postgres BDR set up using pgbenchutility