Re: Optimal checkpoint_setting - Mailing list pgsql-general

From Kevin Grittner
Subject Re: Optimal checkpoint_setting
Date
Msg-id 1412887586.79471.YahooMailNeo@web122303.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: Optimal checkpoint_setting  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
John R Pierce <pierce@hogranch.com> wrote:
> On 10/9/2014 1:13 PM, Dennis wrote:

>> Hi, a little off the general topic but I am just wondering if the “tar
>> -cf - pgdata | wc -c” trick can be used as general trick to pre-warm
>> the cache?
>
> I wouldn't do this if your pgdata is larger than about 50% of your
> physical ram.

Nor would I do this if pgdata is anywhere near the size of a memory
segment on a NUMA machine.  I have seen cache pre-warming through a
single process on NUMA absolutely kill performance.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

Previous
From: Ray Stell
Date:
Subject: Re: PostgreSQL server won't start, corrupt?
Next
From: Raymond O'Donnell
Date:
Subject: Re: PostgreSQL server won't start, corrupt?