X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 17970DB585 for ; Mon, 31 Oct 2005 18:52:42 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77290-01 for ; Mon, 31 Oct 2005 22:52:38 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id CBC1CDADE9 for ; Mon, 31 Oct 2005 18:52:39 -0400 (AST) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 31 Oct 2005 16:52:40 -0600 Subject: Re: Vacuum Verbose output From: Scott Marlowe To: "Tomeh, Husam" Cc: pgsql-admin@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1130799160.15018.35.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 31 Oct 2005 16:52:40 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.007 required=5 tests=[AWL=0.006, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.007 X-Spam-Level: X-Archive-Number: 200510/297 X-Sequence-Number: 19369 On Mon, 2005-10-31 at 16:34, Tomeh, Husam wrote: > My understanding that the current release of Postgres does not allow > the DBA to pre-allocated space for the data files or tablespace in > advance (as Oracle or SQL Server does). Am I correct on that ? If > that's still the case, is this item on the TODO list or the white > board? Pre-allocating space will prevent extending the datafile during > loading massive data (batch processing) and would improve the overall > batch write performance. I can't see pre-allocation making much if any difference in any modern OS, except it might lower fragmentation of the file a bit. Writing data is writing data. It takes time, whether you're writing it into a file that already exists with zeros in it or a new blank file you just created. Have you got any file system benchmarks that back up this assertion? I would love to see something that shows one way or the other if that really makes any difference.