Re: Query much faster with enable_seqscan=0

From: Jesper Krogh <jesper(at)krogh(dot)cc>
To: Ogden <lists(at)darkstatic(dot)com>
Cc: Kenneth Marshall <ktm(at)rice(dot)edu>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Query much faster with enable_seqscan=0
Date: 2010-09-21 18:51:14
Message-ID: 4C98FEA2.8030607@krogh.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ogden 2010-09-21 19:02:11 Re: Query much faster with enable_seqscan=0
Previous Message Ogden 2010-09-21 18:21:52 Re: Query much faster with enable_seqscan=0