Re: 7.2.1 optimises very badly against 7.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Sam Liddicott <sam(dot)liddicott(at)ananova(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: 7.2.1 optimises very badly against 7.2
Date: 2002-07-15 12:47:32
Message-ID: 15027.1026737252@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Curt Sampson <cjs(at)cynic(dot)net> writes:
> Well, should it then worry about read-ahead? On most OSes, it
> doesn't actually degenerate to 1-block random reads; it degerates
> to something along the lines of 8-block random reads.

Exactly. There is still an OS-provided benefit for sequential reading,
even if it's not as large as it might be in the absence of any other
activity. What this line of argument suggests is that random_page_cost
should be reduced in a heavily-loaded system ... but probably not to 1.0.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Steve Brett 2002-07-15 12:49:29 Re: help (maybe i'm a little stupid)
Previous Message Exellon 2002-07-15 12:22:20 Pushing PostgreSQL to the Limit (urgent!)