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 22BB652A79 for ; Fri, 8 Jul 2005 12:01:38 -0300 (ADT) 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 51557-09 for ; Fri, 8 Jul 2005 15:01:28 +0000 (GMT) Received: from metux.de (seven.metux.de [193.16.1.1]) by svr1.postgresql.org (Postfix) with ESMTP id E372E52A62 for ; Fri, 8 Jul 2005 12:01:26 -0300 (ADT) Received: (from weigelt@localhost) by metux.de (8.12.10/8.12.10) id j68E0Pw8009760; Fri, 8 Jul 2005 16:00:25 +0200 Date: Fri, 8 Jul 2005 16:00:24 +0200 From: Enrico Weigelt To: pgsql-performance@postgresql.org Cc: Bruno Wolff III , mark durrant Subject: Re: Select performance vs. mssql Message-ID: <20050708140024.GB6368@nibiru.borg.metux.de> Reply-To: weigelt@metux.de Mail-Followup-To: pgsql-performance@postgresql.org, Bruno Wolff III , mark durrant References: <20050524153637.64525.qmail@web53101.mail.yahoo.com> <20050524172713.GC8129@wolff.to> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050524172713.GC8129@wolff.to> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/85 X-Sequence-Number: 13326 * Bruno Wolff III wrote: > This gets brought up a lot. The problem is that the index doesn't include > information about whether the current transaction can see the referenced > row. Putting this information in the index will add significant overhead > to every update and the opinion of the developers is that this would be > a net loss overall. wouldn't it work well to make this feature optionally for each index ? There could be some flag on the index (ie set at create time) which tells postgres whether to store mvcc information. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: contact@metux.de --------------------------------------------------------------------- Realtime Forex/Stock Exchange trading powered by postgresSQL :)) http://www.fxignal.net/ ---------------------------------------------------------------------