pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Ravi Krishna <srkrishna1@aol.com>
Cc: Vijaykumar Jain <vjain@opentable.com>
Cc: bhargavpostgres@gmail.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Slot issues
Date: Sun, 14 Oct 2018 14:55:56 -0700
Message-ID: <20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de> (raw)
In-Reply-To: <81D72671-F26F-4E02-916C-3F85EB67462E@aol.com>
References: <CADCf-WNXHaLEz+nJqkr4TWNgfiGV13jACrZD60HRf1CSU+8+Ng@mail.gmail.com>
	<20181014202042.gi6o3kitjvczc5ym@alap3.anarazel.de>
	<CADCf-WPFr7JbVjjbTdqisdWbBVKg8QUx1=c=Mpa20OyraDwUXQ@mail.gmail.com>
	<20181014211054.wxsekk3lqmdlacos@alap3.anarazel.de>
	<CADCf-WMtfReVtYPs_P3hpT5WibTy7Bm9oTSWAKq6VCiHufzZWw@mail.gmail.com>
	<CAE7uO5hamDSdBrN7Dgwz=8NRyV9XbASMVpARoK3yi5KnvqxW0w@mail.gmail.com>
	<36CCE7FA-BD81-409F-AE79-224C1FB68053@aol.com>
	<81D72671-F26F-4E02-916C-3F85EB67462E@aol.com>

Hi,

On 2018-10-14 17:52:30 -0400, Ravi Krishna wrote:
> The best part in Db2 HADR is that when the standby is catching up with the master after a long time, it will
> start from the last LSN and fetch it from the primary WAL directory (active logs ). If not found, it will look for it
> in the archived logs and start applying from there until the current
> point.

Uh, it works precisely the same in postgres.


> No rep slot business.

You're not forced to use slots.  Their purpose is to allow to force the
primary to keep necessary resources around. Which also allows to get rid
of the archive in some setups.

Greetings,

Andres Freund




view thread (26+ messages)  latest in thread

Message-ID: <20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de>
Permalink:  ../20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: andres@anarazel.de, srkrishna1@aol.com, vjain@opentable.com, bhargavpostgres@gmail.com
  Subject: Re: Slot issues
  In-Reply-To: <20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de>
  References: <CADCf-WNXHaLEz+nJqkr4TWNgfiGV13jACrZD60HRf1CSU+8+Ng@mail.gmail.com> <20181014202042.gi6o3kitjvczc5ym@alap3.anarazel.de> <CADCf-WPFr7JbVjjbTdqisdWbBVKg8QUx1=c=Mpa20OyraDwUXQ@mail.gmail.com> <20181014211054.wxsekk3lqmdlacos@alap3.anarazel.de> <CADCf-WMtfReVtYPs_P3hpT5WibTy7Bm9oTSWAKq6VCiHufzZWw@mail.gmail.com> <CAE7uO5hamDSdBrN7Dgwz=8NRyV9XbASMVpARoK3yi5KnvqxW0w@mail.gmail.com> <36CCE7FA-BD81-409F-AE79-224C1FB68053@aol.com> <81D72671-F26F-4E02-916C-3F85EB67462E@aol.com> <20181014215556.dpdadv5zn7cdkvpx@alap3.anarazel.de>

* 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