Re: pgsql: Document random page cost is only 4x seqeuntial, and not 40x. - Mailing list pgsql-committers

From Thom Brown
Subject Re: pgsql: Document random page cost is only 4x seqeuntial, and not 40x.
Date
Msg-id CAA-aLv6WQVC0PP4pQYxTpQprBJW1=bt47kbMZ8fD1kHwkP0UoQ@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Document random page cost is only 4x seqeuntial, and not 40x.  (Bruce Momjian <bruce@momjian.us>)
List pgsql-committers
On 14 February 2012 22:46, Bruce Momjian <bruce@momjian.us> wrote:
> On Tue, Feb 14, 2012 at 10:44:08PM +0000, Thom Brown wrote:
>> On 14 February 2012 21:55, Bruce Momjian <bruce@momjian.us> wrote:
>> > Document random page cost is only 4x seqeuntial, and not 40x.
>> >
>> > Branch
>> > ------
>> > master
>> >
>> > Details
>> > -------
>> > http://git.postgresql.org/pg/commitdiff/c1d9df4fa227781b31be44a5a3024865a7f48049
>> >
>> > Modified Files
>> > --------------
>> > doc/src/sgml/config.sgml |   20 ++++++++++++++++++++
>> > 1 files changed, 20 insertions(+), 0 deletions(-)
>>
>> This change does say that it is 40 times slower:
>>
>> "The default value can be thought of as modeling random access as 40
>> times slower than sequential..."
>
> I meant to say that it documents why we have a default of 4x, not 40x.
> (In fact, real world, it is probably 100x.)

Hmmm.. okay.  I haven't managed to test that myself, but I'll take
your word for it. :)

--
Thom

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: Document random page cost is only 4x seqeuntial, and not 40x.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Try to get pg_test_thread to compile on Windows by using a sleep