Re: Estimating seq_page_fetch and random_page_fetch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Umar Farooq Minhas" <umarfm13(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Estimating seq_page_fetch and random_page_fetch
Date: 2007-03-08 16:47:48
Message-ID: 8589.1173372468@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Umar Farooq Minhas" <umarfm13(at)hotmail(dot)com> writes:
> How can we accrately estimate the "seq_page_fetch" and =
> "random_page_fetch" costs from outside the postgres using for example a =
> C routine.

Use a test case larger than memory. Repeat many times to average out
noise. IIRC, when I did the experiments that led to the current
random_page_cost of 4.0, it took about a week before I had numbers I
trusted.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-03-08 17:35:03 Re: Estimating seq_page_fetch and random_page_fetch
Previous Message Richard Huxton 2007-03-08 15:58:33 Re: