X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B62DAD1E8AB for ; Fri, 19 Mar 2004 06:18:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 63121-10 for ; Fri, 19 Mar 2004 02:18:21 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 399D5D1E928 for ; Fri, 19 Mar 2004 02:18:20 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i2J6IKNS020589; Fri, 19 Mar 2004 01:18:20 -0500 (EST) To: Alan Stange Cc: pgsql-performance@postgresql.org Subject: Re: vacuum performance In-reply-to: <405A7576.9000208@rentec.com> References: <405A7576.9000208@rentec.com> Comments: In-reply-to Alan Stange message dated "Thu, 18 Mar 2004 23:22:14 -0500" Date: Fri, 19 Mar 2004 01:18:20 -0500 Message-ID: <20588.1079677100@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/278 X-Sequence-Number: 6134 Alan Stange writes: > I do a truss on the process and see the output below looping over and > over. Note the constant opening and closing of the file 42064889.3. > Why the open/close cycle as opposed to caching the file descriptor > somewhere? This is probably a "blind write". We've gotten rid of those for 7.5. regards, tom lane