Skip site navigation (1) Skip section navigation (2)

Re: Premature view materialization in 8.2?

From: "Jonathan Ellis" <jonathan(at)utahpython(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Premature view materialization in 8.2?
Date: 2007-04-06 14:24:58
Message-ID: e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
On 4/6/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Jonathan Ellis" <jonathan(at)utahpython(dot)org> writes:
> > On 4/5/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >>> Is this a regression, or a "feature" of 8.2?
> >>
> >> Hard to say without EXPLAIN ANALYZE output to compare.
>
> > To my eye they are identical other than the speed but perhaps I am
> > missing something.
>
> Yeah, it sure is the same plan, and 8.2 seems to be a tad faster right
> up to the hash join on user_id.  Is user_id a textual datatype?  I'm
> wondering if the 8.2 installation is using a different locale --- the
> speed of simple string comparisons can be horrifically worse in some
> locales compared to others.

user_id is an int; they are both C locale.

In response to

Responses

pgsql-performance by date

Next:From: Scott MarloweDate: 2007-04-06 15:20:47
Subject: Re: SCSI vs SATA
Previous:From: Michael StoneDate: 2007-04-06 13:23:48
Subject: Re: SCSI vs SATA

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group