Re: Any way to speed this up?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joel Fradkin" <jfradkin(at)wazagua(dot)com>
Cc: "'PostgreSQL Perform'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Any way to speed this up?
Date: 2005-04-07 16:42:48
Message-ID: 11372.1112892168@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Joel Fradkin" <jfradkin(at)wazagua(dot)com> writes:
> random_page_cost = 1.2#4 # units are one sequential page
> fetch cost

That is almost certainly overoptimistic; it's causing the planner to
use indexscans when it shouldn't. Try 2 or 3 or thereabouts.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message John Arbash Meinel 2005-04-07 16:43:02 Re: Any way to speed this up?
Previous Message Joel Fradkin 2005-04-07 16:33:46 Re: Any way to speed this up?