From: Josh Berkus <josh@agliodbs.com>
To: Palle Girgensohn <girgen@pingpong.net>
To: pgsql-performance@postgresql.org
Subject: Re: avoiding seqscan?
Date: Sun, 28 Sep 2003 19:28:52 -0700
Message-ID: <200309281928.52113.josh@agliodbs.com> (raw)
In-Reply-To: <161280000.1064789814@palle.girgensohn.se>
References: <95900000.1064782481@palle.girgensohn.se>
<200309281434.25881.josh@agliodbs.com>
<161280000.1064789814@palle.girgensohn.se>
Palle,
> Indeed, setting random_page_cost does the trick. Thanks!
>
> It seems to make sense to set random_page_cost to this value. Are there any
> drawbacks?
Only if your server was heavily multi-tasking, and as a result had little
RAM+CPU available. Then you'd want to raise the value again.
--
Josh Berkus
Aglio Database Solutions
San Francisco
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-performance@postgresql.org
Cc: josh@agliodbs.com, girgen@pingpong.net
Subject: Re: avoiding seqscan?
In-Reply-To: <200309281928.52113.josh@agliodbs.com>
References: <95900000.1064782481@palle.girgensohn.se> <200309281434.25881.josh@agliodbs.com> <161280000.1064789814@palle.girgensohn.se> <200309281928.52113.josh@agliodbs.com>
* 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