Re: Premature view materialization in 8.2?

From: Tom Lane
Subject: Re: Premature view materialization in 8.2?
Date: ,
Msg-id: 261.1175840636@sss.pgh.pa.us
(view: Whole thread, Raw)
In response to: Re: Premature view materialization in 8.2?  ("Jonathan Ellis")
Responses: Re: Premature view materialization in 8.2?  ("Jonathan Ellis")
List: pgsql-performance

Tree view

Premature view materialization in 8.2?  ("Jonathan Ellis", )
 Re: Premature view materialization in 8.2?  (Tom Lane, )
  Re: Premature view materialization in 8.2?  ("Jonathan Ellis", )
   Re: Premature view materialization in 8.2?  (Tom Lane, )
    Re: Premature view materialization in 8.2?  ("Jonathan Ellis", )
     Re: Premature view materialization in 8.2?  (Tom Lane, )
      Re: Premature view materialization in 8.2?  ("Jonathan Ellis", )
       Re: Premature view materialization in 8.2?  (Tom Lane, )
        Re: Premature view materialization in 8.2?  ("Jonathan Ellis", )
         Re: Premature view materialization in 8.2?  (Tom Lane, )
          Re: Premature view materialization in 8.2?  ("Jonathan Ellis", )

"Jonathan Ellis" <> writes:
> On 4/5/07, Tom Lane <> 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.

            regards, tom lane


pgsql-performance by date:

From: Michael Stone
Date:
Subject: Re: SCSI vs SATA
From: Ron
Date:
Subject: Re: SCSI vs SATA