pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: dave@fastcrypt.com
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: query tuning
Date: 15 Aug 2003 13:47:50 -0400
Message-ID: <1060969670.2357.4.camel@novo> (raw)
In-Reply-To: <1060862412.1721.99.camel@localhost.localdomain>
References: <71E37EF6B7DCC1499CEA0316A2568328DC9819@loki.globexplorer.com>
	<20030813211417.46be5abe.expect@ihubbell.com>
	<1060862412.1721.99.camel@localhost.localdomain>

SET enable_seqscan TO FALSE;
<your query>
SET enable_seqscan TO TRUE;

Is this what you where looking for?

Regards,
Fernando


On Thu, 2003-08-14 at 08:00, Dave Cramer 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?
> 
> Any help would be appreciated.
> 
> Dave




view thread (9+ messages)  latest in thread

Message-ID: <1060969670.2357.4.camel@novo>
Permalink:  ../1060969670.2357.4.camel@novo/
Also on:    postgresql.org/message-id/1060969670.2357.4.camel@novo

 · 

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: fnasser@redhat.com, dave@fastcrypt.com
  Subject: Re: query tuning
  In-Reply-To: <1060969670.2357.4.camel@novo>
  References: <71E37EF6B7DCC1499CEA0316A2568328DC9819@loki.globexplorer.com> <20030813211417.46be5abe.expect@ihubbell.com> <1060862412.1721.99.camel@localhost.localdomain> <1060969670.2357.4.camel@novo>

* 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