Re: Postgres Optimizer is not smart enough?

From: Ragnar Hafstað <gnari(at)simnet(dot)is>
To: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres Optimizer is not smart enough?
Date: 2005-01-13 00:50:16
Message-ID: 1105577416.5220.50.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Sabino Mullane 2005-01-13 01:28:32 Re: PostgreSQL vs. Oracle vs. Microsoft
Previous Message Mark Kirkwood 2005-01-12 23:14:07 Re: Postgres Optimizer is not smart enough?