pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Ellis <jonathan@utahpython.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Premature view materialization in 8.2?
Date: Fri, 6 Apr 2007 08:24:58 -0600
Message-ID: <e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com> (raw)
In-Reply-To: <261.1175840636@sss.pgh.pa.us>
References: <e06563880704051146r357cb15by7e498c6d796b093a@mail.gmail.com>
	<28349.1175838196@sss.pgh.pa.us>
	<e06563880704052251j68c86dafx5ba5a8f10fb28268@mail.gmail.com>
	<261.1175840636@sss.pgh.pa.us>

On 4/6/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jonathan Ellis" <jonathan@utahpython.org> writes:
> > On 4/5/07, Tom Lane <tgl@sss.pgh.pa.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.



view thread (11+ messages)  latest in thread

Message-ID: <e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com>
Permalink:  ../e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com/
Also on:    postgresql.org/message-id/e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jonathan@utahpython.org, tgl@sss.pgh.pa.us
  Subject: Re: Premature view materialization in 8.2?
  In-Reply-To: <e06563880704060724n17a1de97j5d64fafc1ea95b21@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox