pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dwinner-lists@att.net
Cc: pgsql-performance@postgresql.org
Subject: Re: slow queries after ANALYZE
Date: Fri, 11 Nov 2005 16:25:52 -0500
Message-ID: <21669.1131744352@sss.pgh.pa.us> (raw)
In-Reply-To: <43750390.3090707@att.net>
References: <4374EDF1.5010709@att.net>
	<21006.1131737530@sss.pgh.pa.us>
	<43750390.3090707@att.net>

DW <dwinner-lists@att.net> writes:
> In the meantime, again I'm new to this -- I got pg_stats; which rows are 
>   the relevent ones?

The ones for columns that are mentioned in the problem query.
I don't think you need to worry about columns used only in the SELECT
output list, but anything used in WHERE, GROUP BY, etc is interesting.

> Also, I am running postgresql-server-7.4.9 from FreeBSD port (with 
> optimized CFLAGS turned on during compiling)
> OS: FreeBSD 5.4 p8

The hardware environment (particularly disks/filesystems) is relevant
too.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <21669.1131744352@sss.pgh.pa.us>
Permalink:  ../21669.1131744352@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21669.1131744352@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, dwinner-lists@att.net
  Subject: Re: slow queries after ANALYZE
  In-Reply-To: <21669.1131744352@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