From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Vivek Khera <khera@kcilink.com>
Subject: Re: pg_restore taking 4 hours!
Date: Mon, 13 Dec 2004 10:25:54 -0800
Message-ID: <200412131025.54587.josh@agliodbs.com> (raw)
In-Reply-To: <x73byab1dj.fsf@yertle.int.kciLink.com>
References: <41ADA82A.7070405@carvalhaes.net>
<x73byab1dj.fsf@yertle.int.kciLink.com>
Vivek,
> The biggest improvement in speed to restore time I have discovered is
> to increase the checkpoint segments. I bump mine to about 50. And
> moving the pg_xlog to a separate physical disk helps a lot there, too.
Don't leave it at 50; if you have the space on your log array, bump it up to
256.
--
Josh Berkus
Aglio Database Solutions
San Francisco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com, khera@kcilink.com
Subject: Re: pg_restore taking 4 hours!
In-Reply-To: <200412131025.54587.josh@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox