Re: [GENERAL] replication setup: advice needed
> You need to look at a replication solution like Slony, which is a trigger > based replication solution. If you are using PostgreSQL version 9.4 or > higher, then, you can explore "pglogical" which is WAL based and uses > logical decoding capability. I'm using 9.4, and I'm looking at pglogical as well -- thank you!. I'll try to experiment how much it fits my needs. -- Sincerely, Dmitry Karasik -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
Re: [GENERAL] replication setup: advice needed
On Thu, Nov 3, 2016 at 8:17 PM, Dmitry Karasikwrote: > Dear all, > > I'd like to ask for help or advice with choosing the best replication > setup for > my task. > > I need to listen to continuous inserts/deletes/updates over a set of > tables, > and serve them over http, so I would like to off-load this procedure to a > separate slave machine. I thought that logical master-slave replication > could > be the best match here, but I couldn't find enough details in the > documentation > which implementation would match my needs best. > Which version of PostgreSQL are you using ? > > Basically, I need to: > > a) replicate selected tables to a hot standby slave > b) on the slave, listen for the insert/update/delete events (either > through triggers or logical decoder plugin) > > While I see that a) should be feasible, I can't see if it's possible to do > b) at all. > Also, with so many replication solutions, I don't want to test them all > one by one, but > rather would like to ask for help choosing the one goes best here -- and > if there's none, > an alternative setup then. > You need to look at a replication solution like Slony, which is a trigger based replication solution. If you are using PostgreSQL version 9.4 or higher, then, you can explore "pglogical" which is WAL based and uses logical decoding capability. If you are just looking at replicating specific tables, then either of the above solutions would work fine. Regards, Venkata B N Database Consultant Fujitsu Australia
[GENERAL] replication setup: advice needed
Dear all, I'd like to ask for help or advice with choosing the best replication setup for my task. I need to listen to continuous inserts/deletes/updates over a set of tables, and serve them over http, so I would like to off-load this procedure to a separate slave machine. I thought that logical master-slave replication could be the best match here, but I couldn't find enough details in the documentation which implementation would match my needs best. Basically, I need to: a) replicate selected tables to a hot standby slave b) on the slave, listen for the insert/update/delete events (either through triggers or logical decoder plugin) While I see that a) should be feasible, I can't see if it's possible to do b) at all. Also, with so many replication solutions, I don't want to test them all one by one, but rather would like to ask for help choosing the one goes best here -- and if there's none, an alternative setup then. -- Sincerely, Dmitry Karasik -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
[GENERAL] Replication setup
I have a custom inventory system built on JBoss AS, Seam, EJB3, JSF, and Richfaces with a PostgreSQL back end that runs on Centos. Being a single developer my time is short and I need to set up remote replication and fail over without delaying what I am currently working on. I have been reading about Slony and more recently Londiste. I need help setting this up in a reliable manner quickly. I need advice on what to use and scripts that I can run on my servers to set this up automatically. Please email me directly at (jason at supernovasoftware dot com) if you can recommend a company that can get this done for me quickly and economically. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.octgsoftware.com HJBug Founder and President http://www.hjbug.com -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general