Re: Wal files - Question | Postgres 9.2

From: Patrick B <patrickbakerbr(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: David Steele <david(at)pgmasters(dot)net>, Venkata B Nagothi <nag1010(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Wal files - Question | Postgres 9.2
Date: 2016-12-01 02:47:49
Message-ID: CAJNY3iv-RYkrkNgSgmKNai6Atg5M-B+eFH8toG8LjE3H5DEH1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2016-12-01 14:15 GMT+13:00 David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>:

> On Wed, Nov 30, 2016 at 6:05 PM, Patrick B <patrickbakerbr(at)gmail(dot)com>
> wrote:
>
>> https://www.postgresql.org/docs/9.2/static/runtime-config-
>> replication.html
>>
>> wal_keep_segments is the parameter responsible for streaming replication
>> be able to recover itself without using wal_files, is that right?
>>
>
> [...] ​without using wal_files[sic] [from an external archive location]
>
> David J.
> ​
>
>

Yep David! Thanks for correcting me.

Got it now. Thanks everyone.

one more question... I'm working with wal_keep_segments = 1000 - Would
that in your opinion be a safe number?

Yes. I got plenty of free space and I'm using pg_xlogs in a different
partition on the master.

Patrick

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2016-12-01 03:16:13 Re: Logging for 2 instances of PostgreSQL
Previous Message David G. Johnston 2016-12-01 01:15:53 Re: Wal files - Question | Postgres 9.2