pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Replication pull instead of push 3+ messages / 2 participants [nested] [flat]
* Replication pull instead of push @ 2018-03-07 19:01 PegoraroF10 <marcos@f10.com.br> 2018-03-07 19:38 ` Re: Replication pull instead of push Fabrízio de Royes Mello <fabrizio@timbira.com.br> 0 siblings, 1 reply; 3+ messages in thread From: PegoraroF10 @ 2018-03-07 19:01 UTC (permalink / raw) To: pgsql-general We have several servers, our masters, installed on several cities. Then we need have a centralized database (our standby) where we can do our reports. So, usual way of doing postgres replication is creating a replication/subscription process. But then that master server should be reachable and sometimes it´s not, just because their IP changed or because we need to configure its router to get Postgres server properly. Finally my question, there is a way to pull data which needs to be replicated from master to slave. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Replication pull instead of push 2018-03-07 19:01 Replication pull instead of push PegoraroF10 <marcos@f10.com.br> @ 2018-03-07 19:38 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br> 2018-03-07 19:49 ` Re: Replication pull instead of push PegoraroF10 <marcos@f10.com.br> 0 siblings, 1 reply; 3+ messages in thread From: Fabrízio de Royes Mello @ 2018-03-07 19:38 UTC (permalink / raw) To: PegoraroF10 <marcos@f10.com.br>; +Cc: pgsql-general 2018-03-07 16:01 GMT-03:00 PegoraroF10 <marcos@f10.com.br>: > > We have several servers, our masters, installed on several cities. Then we > need have a centralized database (our standby) where we can do our reports. > So, usual way of doing postgres replication is creating a > replication/subscription process. Ok. > But then that master server should be reachable and sometimes it´s not, just > because their IP changed or because we need to configure its router to get > Postgres server properly. > > Finally my question, there is a way to pull data which needs to be > replicated from master to slave. > The way is fix your network connection and if necessary change your subscription side do connect again in your server and continue pulling data. If you don't drop your publication it will retain the WAL until the subscription connect again and pull data. Regards, -- Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Replication pull instead of push 2018-03-07 19:01 Replication pull instead of push PegoraroF10 <marcos@f10.com.br> 2018-03-07 19:38 ` Re: Replication pull instead of push Fabrízio de Royes Mello <fabrizio@timbira.com.br> @ 2018-03-07 19:49 ` PegoraroF10 <marcos@f10.com.br> 0 siblings, 0 replies; 3+ messages in thread From: PegoraroF10 @ 2018-03-07 19:49 UTC (permalink / raw) To: pgsql-general My question was ... how to pull data from Master into Slave. Postgres has a Publication/Subscription model that Slave connects to Master and gets the data. I want something that Master server gets its data which needs to be replicated and send that data to Slave. Is that way possible ? If there is no extension or statement which does that, how can I do it myself ? -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-03-07 19:49 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-03-07 19:01 Replication pull instead of push PegoraroF10 <marcos@f10.com.br> 2018-03-07 19:38 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br> 2018-03-07 19:49 ` PegoraroF10 <marcos@f10.com.br>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox