pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steven Rosenstein <srosenst@us.ibm.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Questions about temporary tables and performance
Date: Sun, 17 Jul 2005 00:44:53 -0400
Message-ID: <25141.1121575493@sss.pgh.pa.us> (raw)
In-Reply-To: <OF01136A65.6C2D905D-ON85257040.007514DE-85257040.00773BFE@us.ibm.com>
References: <OF01136A65.6C2D905D-ON85257040.007514DE-85257040.00773BFE@us.ibm.com>

Steven Rosenstein <srosenst@us.ibm.com> writes:
> Are there any performance issues or considerations associated with using a
> temporary table in this scenario?

It's probably worthwhile to ANALYZE the temp table after it's filled,
before you start joining to it.

			regards, tom lane



view thread (2+ messages)

Message-ID: <25141.1121575493@sss.pgh.pa.us>
Permalink:  ../25141.1121575493@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25141.1121575493@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, srosenst@us.ibm.com
  Subject: Re: Questions about temporary tables and performance
  In-Reply-To: <25141.1121575493@sss.pgh.pa.us>

* 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