Search Postgresql Archives

Fwd: [streaming replication] 9.1.3 streaming replication bug ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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




On Tue, Apr 10, 2012 at 9:09 PM, Fujii Masao <masao.fujii@xxxxxxxxx> 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 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux