X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 031BFD1B50E for ; Mon, 15 Sep 2003 21:44:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 45603-01 for ; Mon, 15 Sep 2003 18:44:36 -0300 (ADT) Received: from davinci.ethosmedia.com (unknown [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 07567D1B4EE for ; Mon, 15 Sep 2003 18:44:34 -0300 (ADT) Received: from [66.219.92.2] (HELO temoku) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.0.2) with ESMTP id 3643770; Mon, 15 Sep 2003 14:45:06 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Vivek Khera , pgsql-performance@postgresql.org Subject: Re: restore time: sort_mem vs. checkpoing_segments Date: Mon, 15 Sep 2003 14:42:59 -0700 User-Agent: KMail/1.4.3 References: <16230.4066.565194.387700@yertle.int.kciLink.com> In-Reply-To: <16230.4066.565194.387700@yertle.int.kciLink.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200309151442.59523.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/221 X-Sequence-Number: 3587 Vivek, > And the winner is... checkpoint_segments. >=20 > Restore of a significanly big database (~19.8GB restored) shows nearly > no time difference depending on sort_mem when checkpoint_segments is > large. There are quite a number of tables and indexes. The restore > was done from a pg_dump -Fc dump of one database. Cool! Thank you for posting this. --=20 -Josh Berkus Aglio Database Solutions San Francisco