From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Alberto Olivares <alberto.olivares@snowflakesoftware.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Default maximum time replication between master and slave databases
Date: Fri, 10 Jul 2015 07:32:07 -0600
Message-ID: <AF02885C-89DF-4C6F-A060-494CE3F80B07@elevated-dev.com> (raw)
In-Reply-To: <CAGdoAzgLZ2GSNwsC=f5=KG0OFzzsiqqvCEnjV7uiGciLACMKgA@mail.gmail.com>
References: <CAGdoAzgLZ2GSNwsC=f5=KG0OFzzsiqqvCEnjV7uiGciLACMKgA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On Jul 10, 2015, at 6:54 AM, Alberto Olivares <alberto.olivares@snowflakesoftware.com> wrote:
>
> SELECT EXTRACT (epoch from now() - pg_last_xact_replay_timestamp());
>
> The maximum result is 60 seconds then the value goes to 0 and start again. I would like to modify this value to maximum 30 seconds.
>
> I have tried to change different parameters on the postgresql.conf in both databases but I have not find the solution.
WAL shipping or streaming?
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott_ribe@elevated-dev.com, alberto.olivares@snowflakesoftware.com
Subject: Re: Default maximum time replication between master and slave databases
In-Reply-To: <AF02885C-89DF-4C6F-A060-494CE3F80B07@elevated-dev.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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