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 814B9DB6AB for ; Tue, 1 Nov 2005 13:41:31 -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 97330-05 for ; Tue, 1 Nov 2005 17:41:28 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [67.100.216.10]) by svr1.postgresql.org (Postfix) with ESMTP id B7106DB659 for ; Tue, 1 Nov 2005 13:41:28 -0400 (AST) Received: by flake.decibel.org (Postfix, from userid 1001) id 5A48115227; Tue, 1 Nov 2005 11:41:25 -0600 (CST) Date: Tue, 1 Nov 2005 11:41:25 -0600 From: "Jim C. Nasby" To: "Tomeh, Husam" Cc: Tom Lane , Scott Marlowe , pgsql-admin@postgresql.org Subject: Re: Pre-allocate space in advance Message-ID: <20051101174125.GS20349@pervasive.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.11-RELEASE-p10 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.008 required=5 tests=[AWL=0.008] X-Spam-Score: 0.008 X-Spam-Level: X-Archive-Number: 200511/8 X-Sequence-Number: 19381 On Tue, Nov 01, 2005 at 09:17:46AM -0800, Tomeh, Husam wrote: > > I don't have any numbers; and it may be an misconception as you pointed > out that's out there among Oracle DBAs that need to be re-visited again. > > Tom, could you also explain what you meant in a previous post I found > during my research on this issue, which I may have misunderstood it: "I > actually wish that Postgres would preallocate a lot of blocks in advance > (ie. 100 x 8KB). That would probably improve performance, as it would > not have to keep re-extending the file." > > http://archives.postgresql.org/pgsql-interfaces/2001-01/msg00153.php Wrong Tom. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461