pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
Cc: Oleg Lebedev <oleg.lebedev@waterford.org>
Cc: Mary Edie Meredith <maryedie@osdl.org>
Cc: Jenny Zhang <jenny@osdl.org>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: TPC-R benchmarks
Date: Mon, 29 Sep 2003 12:33:39 -0400
Message-ID: <25270.1064853219@sss.pgh.pa.us> (raw)
In-Reply-To: <3F784607.5020705@persistent.co.in>
References: <993DBE5B4D02194382EC8DF8554A52731E782A@postoffice.waterford.org>
	<3F784607.5020705@persistent.co.in>

Shridhar Daithankar <shridhar_daithankar@persistent.co.in> writes:
> Also if you have fast disk drives, you can reduce random page cost to 2 or 1.5.

Note however that most of the people who have found smaller
random_page_cost to be helpful are in situations where most of their
data fits in RAM.  Reducing the cost towards 1 simply reflects the fact
that there's no sequential-fetch advantage when grabbing data that's
already in RAM.

When benchmarking with data sets considerably larger than available
buffer cache, I rather doubt that small random_page_cost would be a good
idea.  Still, you might as well experiment to see.

			regards, tom lane



view thread (43+ messages)  latest in thread

Message-ID: <25270.1064853219@sss.pgh.pa.us>
Permalink:  ../25270.1064853219@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25270.1064853219@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, shridhar_daithankar@persistent.co.in, oleg.lebedev@waterford.org, maryedie@osdl.org, jenny@osdl.org
  Subject: Re: TPC-R benchmarks
  In-Reply-To: <25270.1064853219@sss.pgh.pa.us>
  References: <993DBE5B4D02194382EC8DF8554A52731E782A@postoffice.waterford.org> <3F784607.5020705@persistent.co.in> <25270.1064853219@sss.pgh.pa.us>

* 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