Re: complex query performance assistance request

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Mendenhall <john(at)surfutopia(dot)net>
Cc: pgsql-performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: complex query performance assistance request
Date: 2005-08-23 00:54:30
Message-ID: 26869.1124758470@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

John Mendenhall <john(at)surfutopia(dot)net> writes:
> Would it be best to attempt to rewrite it for IN?
> Or, should we try to tie it in with a join?

Couldn't say without a deeper understanding of what you're trying to
accomplish.

> BTW, what does the Materialize query plan element mean?

Means "run the contained subplan once, and save the results aside in a
buffer; on subsequent loops, just pass back the buffer contents instead
of re-running the subplan".

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Philip Pinkerton 2005-08-23 01:15:30 pgbench
Previous Message Jim C. Nasby 2005-08-23 00:48:56 Re: Need for speed