Re: Query much faster with enable_seqscan=0 - Mailing list pgsql-performance

From Jesper Krogh
Subject Re: Query much faster with enable_seqscan=0
Date
Msg-id 4C98FEA2.8030607@krogh.cc
Whole thread Raw
In response to Re: Query much faster with enable_seqscan=0  (Ogden <lists@darkstatic.com>)
Responses Re: Query much faster with enable_seqscan=0
List pgsql-performance
On 2010-09-21 20:21, Ogden wrote:
> I assume you mean random_page_cost? It is currently set to 4.0 - is it better to increase or decrease this value?
>

Should be lowered to a bit over seq_page_cost..  and more importantly..
you should
make sure that you have updated your statistics .. run "ANALYZE";

--
Jesper

pgsql-performance by date:

Previous
From: Ogden
Date:
Subject: Re: Query much faster with enable_seqscan=0
Next
From: Ogden
Date:
Subject: Re: Query much faster with enable_seqscan=0