From: Ragnar Hafstaư <gnari@simnet.is>
To: Mark Kirkwood <markir@coretech.co.nz>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres Optimizer is not smart enough?
Date: Thu, 13 Jan 2005 00:50:16 +0000
Message-ID: <1105577416.5220.50.camel@localhost.localdomain> (raw)
In-Reply-To: <41E5AF3F.2080100@coretech.co.nz>
References: <20050112222506.32084.qmail@web13124.mail.yahoo.com>
<41E5AF3F.2080100@coretech.co.nz>
On Thu, 2005-01-13 at 12:14 +1300, Mark Kirkwood wrote:
[snip some explains]
>
> I have random_page_cost = 0.8 in my postgresql.conf. Setting it back to
> the default (4) results in a plan using test_id1.
it is not rational to have random_page_cost < 1.
if you see improvement with such a setting, it is as likely that
something else is wrong, such as higher statistic targets needed,
or a much too low effective_cache setting.
gnari
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: gnari@simnet.is, markir@coretech.co.nz
Subject: Re: Postgres Optimizer is not smart enough?
In-Reply-To: <1105577416.5220.50.camel@localhost.localdomain>
* 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