X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3BBF93A5244 for ; Mon, 24 Jan 2005 02:51:35 +0000 (GMT) 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 15546-04 for ; Mon, 24 Jan 2005 02:51:28 +0000 (GMT) Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by svr1.postgresql.org (Postfix) with ESMTP id E600B3A5022 for ; Mon, 24 Jan 2005 02:51:31 +0000 (GMT) Received: from srascb.sra.co.jp (srascb [133.137.8.65]) by sraigw.sra.co.jp (Postfix) with ESMTP id BED4E6207B; Mon, 24 Jan 2005 11:51:31 +0900 (JST) Received: from srascb.sra.co.jp (localhost [127.0.0.1]) by localhost.sra.co.jp (Postfix) with ESMTP id 9A8E210CD04; Mon, 24 Jan 2005 11:51:31 +0900 (JST) Received: from sranhm.sra.co.jp (sranhm [133.137.44.16]) by srascb.sra.co.jp (Postfix) with ESMTP id CE59C10CD07; Mon, 24 Jan 2005 11:51:30 +0900 (JST) Received: from localhost (IDENT:t-ishii@dhcp-171-173.sra.co.jp [133.137.171.173]) by sranhm.sra.co.jp (8.9.3+3.2W/3.7W-srambox) with ESMTP id LAA19288; Mon, 24 Jan 2005 11:51:29 +0900 Date: Mon, 24 Jan 2005 11:52:44 +0900 (JST) Message-Id: <20050124.115244.35008937.t-ishii@sra.co.jp> To: tgl@sss.pgh.pa.us Cc: marty@outputservices.com, herve@elma.fr, pgsql-performance@postgresql.org Subject: Re: PostgreSQL clustering VS MySQL clustering From: Tatsuo Ishii In-Reply-To: <25335.1106428223@sss.pgh.pa.us> References: <41F14758.4030602@outputservices.com> <20050122.121300.41631131.t-ishii@sra.co.jp> <25335.1106428223@sss.pgh.pa.us> X-Mailer: Mew version 2.3 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/431 X-Sequence-Number: 10121 > Tatsuo Ishii writes: > > Probably VACUUM works well for small to medium size tables, but not > > for huge ones. I'm considering about to implement "on the spot > > salvaging dead tuples". > > That's impossible on its face, except for the special case where the > same transaction inserts and deletes a tuple. In all other cases, the > transaction deleting a tuple cannot know whether it will commit. Of course. We need to keep a list of such that tuples until commit or abort. -- Tatsuo Ishii