random_page_cost

From: "Barry L(dot) Geipel" <barry(at)GeipelNet(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: random_page_cost
Date: 2004-04-14 13:22:56
Message-ID: 022901c42223$9c752860$8c83a8c0@future
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How should the random_page_cost be calculated?

If our disk system does sustained sequential reads at 400MBps, a
sequential page fetch will take 0.02ms.

If the read seek time is 4ms, does this mean that the random_page_cost
is 200 (4/0.02)?

Or should we use the track-to-track seek time of 0.6ms, which would give
a random_page_cost of 30?

Or something else?

Barry Geipel
(barry(at)GeipelNet(dot)com)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeremiah Jahn 2004-04-14 13:32:10 Re: Filesystem vs. Postgres for images
Previous Message Alex 2004-04-14 13:15:51 Re: Filesystem vs. Postgres for images