Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A81FF37BFD6 for ; Wed, 1 Oct 2008 00:43:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 28671-02 for ; Wed, 1 Oct 2008 00:43:44 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 83ED437D6BA for ; Wed, 1 Oct 2008 00:36:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m913aGSx001703; Tue, 30 Sep 2008 23:36:16 -0400 (EDT) To: Laszlo Nagy cc: pgsql-admin@postgresql.org Subject: Re: How to specify fillrate after pg_restore? In-reply-to: <48E24938.4010704@shopzeus.com> References: <48E24938.4010704@shopzeus.com> Comments: In-reply-to Laszlo Nagy message dated "Tue, 30 Sep 2008 17:43:52 +0200" Date: Tue, 30 Sep 2008 23:36:16 -0400 Message-ID: <1702.1222832176@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/1 X-Sequence-Number: 30457 Laszlo Nagy writes: > What will this do? > ALTER TABLE tbl SET FILLFACTOR = 90; > Will it restucture the table, or is it just a setting and I should > perform a VACUUM to actually reach fillfactor=90? It's just a setting ... and VACUUM won't do much with it either. The best bet at the moment is to manually edit the pg_dump script to insert such a command between creating the table and loading it. regards, tom lane