Re: Any way to speed this up? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Any way to speed this up?
Date
Msg-id 11372.1112892168@sss.pgh.pa.us
Whole thread Raw
In response to Re: Any way to speed this up?  ("Joel Fradkin" <jfradkin@wazagua.com>)
Responses Re: Any way to speed this up?  ("Joel Fradkin" <jfradkin@wazagua.com>)
List pgsql-performance
"Joel Fradkin" <jfradkin@wazagua.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

pgsql-performance by date:

Previous
From: "Joel Fradkin"
Date:
Subject: Re: Any way to speed this up?
Next
From: John Arbash Meinel
Date:
Subject: Re: Any way to speed this up?