pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lazaro Garcia <lazaro3487@gmail.com>
To: 'Κοκμάδης Δημήτριος' <dkokmadis@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Big sized materialized views break replication
Date: Tue, 21 Feb 2017 10:06:41 +0100
Message-ID: <001501d28c21$d2ad0710$78071530$@gmail.com> (raw)
In-Reply-To: <CAFY9zExJtvE5W6VW2iU9AcKPoB2XtK8Ave-+Xt9XcG3rB9zrXw@mail.gmail.com>
References: <CAFY9zEyYS=Wu5eD4nQzU08mUMio8trLpjFmCTNFYhKWA56nvhA@mail.gmail.com>
	<5891C050.3060100@matrix.gatewaynet.com>
	<CAFY9zEwhSOe29aocdzEzd=EfC0vQb6yKqhd==Ukh3ThpZu8pJg@mail.gmail.com>
	<5891CB47.2090104@matrix.gatewaynet.com>
	<CAFY9zExJtvE5W6VW2iU9AcKPoB2XtK8Ave-+Xt9XcG3rB9zrXw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

If recovery.conf has this configuration parameter:

 

primary_slot_name = repmgr_slot_1

 

The replication use replication slots otherwise when wal_keep_segments is reached, the redo logs are rotated.

 

With replication slot you only have the required wal files but with wal_keep_segments you only has the amount especified in it.

 

If you do not use replication slots there is no need of creating slots, see SELECT * from pg_replication_slots; on the master.

 

When a slot is used, wal_keep_segments has no effects and could be 0.

 

Regards.

 

De: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] En nombre de ???µ?d?? ??µ?t????
Enviado el: martes, 21 de febrero de 2017 08:23 a. m.
Para: pgsql-admin@postgresql.org
Asunto: Re: [ADMIN] Big sized materialized views break replication

 

Hello,

 

Is it possible to use replication with slots and without them in the same setup or it could cause a problem?

 

Regards,

Dimitris 

view thread (6+ messages)

Message-ID: <001501d28c21$d2ad0710$78071530$@gmail.com>
Permalink:  ../001501d28c21$d2ad0710$78071530$@gmail.com/
Also on:    postgresql.org/message-id/001501d28c21$d2ad0710$78071530$@gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: lazaro3487@gmail.com, dkokmadis@gmail.com
  Subject: Re: Big sized materialized views break replication
  In-Reply-To: <001501d28c21$d2ad0710$78071530$@gmail.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