Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B59659FB764 for ; Fri, 13 Jul 2007 06:02:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 55153-06 for ; Fri, 13 Jul 2007 06:02:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.194]) by postgresql.org (Postfix) with ESMTP id 6452B9FA3A8 for ; Fri, 13 Jul 2007 06:02:46 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1I9H2n-0001ht-AN; Fri, 13 Jul 2007 10:02:33 +0100 From: Gregory Stark To: "Adriaan van Os" Cc: Subject: Re: TRUNCATE TABLE In-Reply-To: <46972DFA.9000900@microbizz.nl> (Adriaan van Os's message of "Fri, 13 Jul 2007 09:47:06 +0200") Organization: EnterpriseDB References: <46953949.3030201@microbizz.nl> <87ps2ypox3.fsf@oxford.xeocode.com> <46972DFA.9000900@microbizz.nl> X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.performance" 1531) Date: Fri, 13 Jul 2007 10:02:33 +0100 Message-ID: <87tzs865hy.fsf@oxford.xeocode.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/147 X-Sequence-Number: 25831 "Adriaan van Os" writes: > That's a remarkable advice, because XFS is known to be slow at creating and > deleting files, see and > . I think this is a case of "you're both right". XFS may have to do more work than other filesystems for meta-information updates. However It still only has to do a constant or nearly constant amount of work. So it may be slower at managing a large directory of thousands of small files than ext3, but it's faster at deleting a single 1G file than ext3. On mythtv the experience is that if you use ext3 and delete a large file while recording another program you can expect the new recording to lose stutter at that point. The large delete will lock out the recording from writing to the filesystem for several seconds. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com