pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Dave Cramer <Dave@micro-automation.net>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: query tuning
Date: Thu, 14 Aug 2003 08:48:26 -0500
Message-ID: <20030814134826.GD27870@wolff.to> (raw)
In-Reply-To: <1060862962.1631.102.camel@localhost.localdomain>
References: <71E37EF6B7DCC1499CEA0316A2568328DC9819@loki.globexplorer.com>
	<20030813211417.46be5abe.expect@ihubbell.com>
	<1060862962.1631.102.camel@localhost.localdomain>

Please don't reply to messages to start a new thread.

On Thu, Aug 14, 2003 at 08:09:23 -0400,
  Dave Cramer <Dave@micro-automation.net> wrote:
> I have a query which definitely runs faster when sequential scans are
> turned off. Which parameters do I tune? and which way?
> 
> After quickly perusing the docs, and google, I think it is the
> random_page_cost?

Have you run vacuum analyze?

Can you supply a copy of the query and explain analyze output?



view thread (9+ messages)  latest in thread

Message-ID: <20030814134826.GD27870@wolff.to>
Permalink:  ../20030814134826.GD27870@wolff.to/
Also on:    postgresql.org/message-id/20030814134826.GD27870@wolff.to

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: bruno@wolff.to, Dave@micro-automation.net
  Subject: Re: query tuning
  In-Reply-To: <20030814134826.GD27870@wolff.to>
  References: <71E37EF6B7DCC1499CEA0316A2568328DC9819@loki.globexplorer.com> <20030813211417.46be5abe.expect@ihubbell.com> <1060862962.1631.102.camel@localhost.localdomain> <20030814134826.GD27870@wolff.to>

* 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