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 DDA91528D6 for ; Tue, 24 May 2005 20:12:21 -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 12970-01 for ; Tue, 24 May 2005 23:12:11 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by svr1.postgresql.org (Postfix) with ESMTP id 9B26E528D1 for ; Tue, 24 May 2005 20:12:10 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 68so2882560wri for ; Tue, 24 May 2005 16:12:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=mrb9/0oG1NCZc2DJOCLy9AksyybPbasjMY42cD+OqZ2AswjjXEpjqQgh0YO0Cz1+2nDblEwsf2vcd2c9hqFcV6lsDZIsX4J5BFzT7p8NvFgMWNHY6k5xKYcawVDay1qdiOSOMlQ1oIkdW7wZvZURi6gIa2FvfvAW2YaKdydm7es= Received: by 10.54.33.73 with SMTP id g73mr3914320wrg; Tue, 24 May 2005 16:12:14 -0700 (PDT) Received: by 10.54.86.15 with HTTP; Tue, 24 May 2005 16:12:13 -0700 (PDT) Message-ID: <33c6269f05052416122096eb1e@mail.gmail.com> Date: Tue, 24 May 2005 19:12:14 -0400 From: Alex Turner Reply-To: Alex Turner To: Bruno Wolff III , mark durrant , pgsql-performance@postgresql.org Subject: Re: Select performance vs. mssql In-Reply-To: <20050524172713.GC8129@wolff.to> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20880_1845234.1116976334007" References: <20050524153637.64525.qmail@web53101.mail.yahoo.com> <20050524172713.GC8129@wolff.to> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.539 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, HTML_20_30, HTML_MESSAGE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200505/371 X-Sequence-Number: 12535 ------=_Part_20880_1845234.1116976334007 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Until you start worrying about MVC - we have had problems with the MSSQL=20 implementation of read consistency because of this 'feature'. Alex Turner NetEconomist On 5/24/05, Bruno Wolff III wrote: >=20 > On Tue, May 24, 2005 at 08:36:36 -0700, > mark durrant wrote: > > > > --MSSQL's ability to hit the index only and not having > > to go to the table itself results in a _big_ > > performance/efficiency gain. If someone who's in > > development wants to pass this along, it would be a > > nice addition to PostgreSQL sometime in the future. > > I'd suspect that as well as making one query faster, > > it would make everything else faster/more scalable as > > the server load is so much less. >=20 > 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. >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > ------=_Part_20880_1845234.1116976334007 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Until you start worrying about MVC - we have had problems with the MSSQL implementation of read consistency because of this 'feature'.

Alex Turner
NetEconomist

On 5/24/05, Bruno Wolff III <bruno@wolff.to> wrote:
On Tue, May 24, 2005 at 08:36:36 -0700,
  mark durrant <markd89@yahoo.com> wrote:
><= br>> --MSSQL's ability to hit the index only and not having
> to g= o to the table itself results in a _big_
> performance/efficiency gain. If someone who's in
> developme= nt wants to pass this along, it would be a
> nice addition to Postgre= SQL sometime in the future.
> I'd suspect that as well as making one = query faster,
> it would make everything else faster/more scalable as
> the = server load is so much less.

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 overhea= d
to every update and the opinion of the developers is that this would b= e
a net loss overall.

---------------------------(end of broadcas= t)---------------------------
TIP 4: Don't 'kill -9' the postmaster

------=_Part_20880_1845234.1116976334007--