pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: sarlav kumar <sarlavk@yahoo.com>
Subject: Re: help needed -- sequential scan problem
Date: Mon, 22 Nov 2004 11:57:38 -0800
Message-ID: <200411221157.38900.josh@agliodbs.com> (raw)
In-Reply-To: <20041122194125.8040.qmail@web51302.mail.yahoo.com>
References: <20041122194125.8040.qmail@web51302.mail.yahoo.com>

Sarlav,

> I am sorry, I am not aware of what random_page_cost is, as I am new to
> Postgres. What does it signify and how do I reduce random_page_cost?

It's a parameter in your postgresql.conf file.    After you test it, you will 
want to change it there and reload the server (pg_ctl reload).

However, you can test it on an individual connection:
SET random_page_cost=2.5
(the default is 4.0)

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco



view thread (6+ messages)  latest in thread

Message-ID: <200411221157.38900.josh@agliodbs.com>
Permalink:  ../200411221157.38900.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200411221157.38900.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, sarlavk@yahoo.com
  Subject: Re: help needed -- sequential scan problem
  In-Reply-To: <200411221157.38900.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox