By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,568 Members | 1,012 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,568 IT Pros & Developers. It's quick & easy.


P: n/a
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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******

Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
On Wed, 14 Apr 2004 06:22:56 -0700, "Barry L. Geipel"
<ba***> wrote:
How should the random_page_cost be calculated?

There are so many factors involved that I'd say it cannot be calculated.
The best strategy is to start with the default value of 4 and only fine
tune it based on the run times of real world queries.

If you experience problems with certain queries, post a short
description of your problem and EXPLAIN ANALYSE output to the
-performance mailing list.


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma******* so that your
message can get through to the mailing list cleanly

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.