X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 416E7D1B4F0 for ; Sun, 5 Oct 2003 06:09:23 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 72563-04 for ; Sun, 5 Oct 2003 03:08:37 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 2E085D1B4E5 for ; Sun, 5 Oct 2003 03:08:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9568Vhn028314; Sun, 5 Oct 2003 02:08:31 -0400 (EDT) To: Bruce Momjian Cc: Hannu Krosing , Christopher Browne , pgsql-performance@postgresql.org, "pgsql-hackers@postgresql.org" Subject: Re: COUNT(*) again (was Re: [HACKERS] Index/Function organized table layout) In-reply-to: <200310050420.h954KWT12351@candle.pha.pa.us> References: <200310050420.h954KWT12351@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Sun, 05 Oct 2003 00:20:32 -0400" Date: Sun, 05 Oct 2003 02:08:31 -0400 Message-ID: <28313.1065334111@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/151 X-Sequence-Number: 3899 Bruce Momjian writes: > Tom Lane wrote: >> I think that's not happening, conditionally or otherwise. The atomicity >> problems alone are sufficient reason why not, even before you look at >> the performance issues. > What are the atomicity problems of adding a create/expire xid to the > index tuples? You can't update a tuple's status in just one place ... you have to update the copies in the indexes too. regards, tom lane