Re: logical Replication

From: Maletin von Oertzen <oertzen(at)gmail(dot)com>
To: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: logical Replication
Date: 2018-08-22 21:14:14
Message-ID: 941ED3D2-51B4-42FC-8118-50124F9E8F80@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

At 2018-08-20 09:59 pavan95 wrote:

> Actually there are no running transactions in the database. When I insert
> the data suppose 100 records in a table and after commit connect to the
> subscriber database and issue row count from that particular table, I am
> finding that the data didn't got replicated.
>
> Later which I will proceed with :
> ALTER SUBSCRIPTION my_sub_name WITH REFRESH PUBLICATION WITH( COPY_DATA)
>
> Even then I can't see the data replicated in the subscriber side.
>
> Then I will go with dropping and recreating the SUBSCRIPTION on the
> subscriber side where I will see that inserted 100 records in the subscriber
> side.
>
> Again will try inserting another 1000 records which will get replicated
> within microsecond(I guess).

Is it possible, that there is a "alter table replica identity"-statement missing?
https://www.postgresql.org/docs/11/static/sql-altertable.html

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message soumitra bhandary 2018-08-23 05:43:50 Not able to increase TPS in Postgres BDR set up using pgbench utility
Previous Message David Steele 2018-08-22 15:48:57 Re: pgbackrest: backup from standby