Re: Config settings for large restore

From: Vivek Khera <vivek(at)khera(dot)org>
To: Erik Jones <erik(at)myemma(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Config settings for large restore
Date: 2007-11-28 15:46:06
Message-ID: 6B261DD8-806B-4C43-BCCC-04D506482D31@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Nov 27, 2007, at 3:30 PM, Erik Jones wrote:

> I'm just wondering what is considered the general wisdom on config
> setting for large pg_restore runs. I know to increase
> maintenance_work_mem and turn off autovacuum and stats collection.
> Shoule should checkpoint_segments and checkpoint_timeout be
> increased? Would twiddling shared_buffers help? What about

At least with 8.0 testing I did a while back, I found that bumping
checkpoint segments was the biggest benefit. I use 256 segments as a
matter of course now, even for normal operations.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. MailerMailer, LLC Rockville, MD
http://www.MailerMailer.com/ +1-301-869-4449 x806

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2007-11-28 15:47:44 Re: PostgreSQL DB split
Previous Message Chad Hendren 2007-11-28 15:32:36 PostgresSQL vs. Informix