Re: question on streaming replication
| От | Andreas Kretschmer |
|---|---|
| Тема | Re: question on streaming replication |
| Дата | |
| Msg-id | 5F7FE103-343A-47E3-AC9A-5C23BEE139C8@a-kretschmer.de обсуждение исходный текст |
| Ответ на | question on streaming replication (Atul Kumar <akumar14871@gmail.com>) |
| Список | pgsql-general |
On 14 June 2018 07:28:53 CEST, Atul Kumar <akumar14871@gmail.com> wrote: >Hi, > >I have postgres edb 9.6 version, i have below query to solve it out. > >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. > >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. > >Please suggest the needful. > > >Regards, >Atul Sync replication isn't usefull with only one standby. I think, during the stop of the standby the master has overwitten needed wal's. You can prevent that by increasing wal_keep_segmentsor by using replication slots. Please use google, there are tons of docs about that all. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company
В списке pgsql-general по дате отправления: