pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dan Field <dof@llgc.org.uk>
Cc: pgsql-sql@postgresql.org
Subject: Re: Memory usage on subselect
Date: Mon, 24 May 2004 09:37:37 -0400
Message-ID: <10740.1085405857@sss.pgh.pa.us> (raw)
In-Reply-To: <D11F1F08-AD5F-11D8-9250-000A958E367A@llgc.org.uk>
References: <20040522175419.GB54296@dyatel.antar.bryansk.ru>
	<24527.1085329698@sss.pgh.pa.us>
	<20040523183249.GC54296@dyatel.antar.bryansk.ru>
	<D11F1F08-AD5F-11D8-9250-000A958E367A@llgc.org.uk>

Dan Field <dof@llgc.org.uk> writes:
> I have a similar problem with just one of my queries (although it isn't 
> a sub select):

You really ought to vacuum and/or analyze occasionally.  The EXPLAIN
results show that the planner hasn't got any non-default statistics
for any of these tables.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <10740.1085405857@sss.pgh.pa.us>
Permalink:  ../10740.1085405857@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10740.1085405857@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dof@llgc.org.uk
  Subject: Re: Memory usage on subselect
  In-Reply-To: <10740.1085405857@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