Re: question on streaming replication

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question on streaming replication
Date: 2018-06-15 14:36:41
Message-ID: CAA4eK1JLiAE4wiumhVy0m51nnWg0qq6=iSrwa3ezhzVECWowaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, Jun 14, 2018 at 10:58 AM, Atul Kumar <akumar14871(at)gmail(dot)com> wrote:
> Hi,
>
> I have postgres edb 9.6 version, i have below query to solve it out.
>

This is not the right place to ask queries on edb versions. You need
to check with your vendor about the right place to ask questions.
Here, you can ask the questions about PostgreSQL.

> i have configured streaming replication having master and slave node
> on same server just to test it.
>
> All worked fine but when i made slave service stop, and create some
> test databases in master, after then i made slave service start, slave
> didn't pick the changes.
>

I think you need to ensure that replica is connected to master server
and then probably check logs to confirm what exactly happened.

> The replication was on async state.
>
> Then after doing some search on google i tried to make it sync state
> but even making changes in postgresql.conf file I am neither getting
> sync state nor getting any changes on slave server.
>

After making changes in postgresql.conf, you might need to use
pg_reload_conf or restart the server depending on the setting you
have changed to make that setting effective.

> Please suggest the needful.
>

As mentioned above, I suggest asking only PostgreSQL related questions
on these mailing lists.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Finzel 2018-06-15 15:26:44 Partitioning with range types
Previous Message Vick Khera 2018-06-15 13:46:33 Re: Append only replication over intermittent links (with local only delete?)

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-06-15 14:53:13 Re: row_to_json(), NULL values, and AS
Previous Message Andrew Dunstan 2018-06-15 14:25:27 Re: why partition pruning doesn't work?