pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mark@mark.mielke.cc
To: Luke Lonergan <llonergan@greenplum.com>
Cc: Bucky Jordan <bjordan@lumeta.com>
Cc: Spiegelberg, Greg <gspiegelberg@cranel.com>
Cc: Joshua Drake <jd@commandprompt.com>
Cc: Craig A. James <cjames@modgraph-usa.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Large tables (was: RAID 0 not as fast as expected)
Date: Mon, 18 Sep 2006 23:45:47 -0400
Message-ID: <20060919034547.GA24692@mark.mielke.cc> (raw)
In-Reply-To: <C1349185.316F4%llonergan@greenplum.com>
References: <78ED28FACE63744386D68D8A9D1CF5D42099C7@MAIL.corp.lumeta.com>
	<C1349185.316F4%llonergan@greenplum.com>

On Mon, Sep 18, 2006 at 06:10:13PM -0700, Luke Lonergan wrote:
> Also be sure to set the random_page_cost parameter in
> postgresql.conf to 100 or even higher when you use indexes, as the actual
> seek rate for random access ranges between 50 and 300 for modern disk
> hardware.  If this parameter is left at the default of 4, indexes will often
> be used inappropriately.

Does a tool exist yet to time this for a particular configuration?

Cheers,
mark

-- 
mark@mielke.cc / markm@ncf.ca / markm@nortel.com     __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/




view thread (10+ messages)  latest in thread

Message-ID: <20060919034547.GA24692@mark.mielke.cc>
Permalink:  ../20060919034547.GA24692@mark.mielke.cc/
Also on:    postgresql.org/message-id/20060919034547.GA24692@mark.mielke.cc

 · 

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: mark@mark.mielke.cc, llonergan@greenplum.com, bjordan@lumeta.com, gspiegelberg@cranel.com, jd@commandprompt.com, cjames@modgraph-usa.com
  Subject: Re: Large tables (was: RAID 0 not as fast as expected)
  In-Reply-To: <20060919034547.GA24692@mark.mielke.cc>

* 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