Fwd: [streaming replication] 9.1.3 streaming replication bug ? - Mailing list pgsql-general

From Michael Nolan
Subject Fwd: [streaming replication] 9.1.3 streaming replication bug ?
Date
Msg-id CAOzAquKE3f+SReyRrg+7G7iZQN=0krvTDoTtr6wEt9h6FQoqbg@mail.gmail.com
Whole thread Raw
In response to 9.1.3 Standby catchup mode  ("hans wulf" <lotu1@gmx.net>)
List pgsql-general


---------- Forwarded message ----------
From: Michael Nolan <htfoot@gmail.com>
Date: Tue, Apr 10, 2012 at 9:47 PM
Subject: Re: [GENERAL] [streaming replication] 9.1.3 streaming replication bug ?
To: Fujii Masao <masao.fujii@gmail.com>




On Tue, Apr 10, 2012 at 9:09 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
On Wed, Apr 11, 2012 at 10:06 AM, 乔志强


> How can I do when I need a backup standby server and
>    wal_keep_segments = 3 for save master disk usage(master will delete wal before send to standby now when heavy load, Need modify some config?)

Yes, increase wal_keep_segments. Even if you set wal_keep_segments to 64,
the amount of disk space for WAL files is only 1GB, so there is no need to worry
so much, I think. No?


If you're writing records with a 100MB blob object in them, you definitely need to keep more than 3 WAL segments at a time, because at 16MB each that won't hold even one of your largest records.

That's the kind of value added information that the DBA brings to the table that the database itself won't know, which is why one of the DBA's most important tasks is to properly configure the postgresql.conf file, and revise it as the database changes over time.
--
Mike Nolan 

pgsql-general by date:

Previous
From: Fujii Masao
Date:
Subject: Re: [streaming replication] 9.1.3 streaming replication bug ?
Next
From: hamann.w@t-online.de
Date:
Subject: pltcl and modules