Re: explanation for random_page_cost is outdated

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: yigong hu <yigongh(at)gmail(dot)com>, splarv(at)ya(dot)ru, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: explanation for random_page_cost is outdated
Date: 2020-05-22 00:28:56
Message-ID: 20200522002856.GC30409@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, Apr 27, 2020 at 12:16:30PM -0400, Bruce Momjian wrote:
> On Mon, Apr 27, 2020 at 06:02:41AM +0200, Pavel Stehule wrote:
> >  >  Storage that has a low random read cost relative to sequential, e.g.
> > solid-state drives, might also be better modeled with a value that is close
> > to 1 for random_page_cost.
> >
> >
> > I depends on estimation. Lot of people use random_page_cost as fix of broken
> > estimation. Then configures this value to some strange values. Lot of other
> > queries with good estimation can be worse then.
>
> I have been recommending 1.1 as a value for random_page_cost for SSDs
> for years, and I think it would be helpful to suggest that value, so doc
> patch attached.

Patch applied back through 9.5.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2020-05-22 02:07:28 Re: Wrong link for FETCH FIRST in pg13 release notes
Previous Message Bruce Momjian 2020-05-21 23:50:28 Re: 11.7 Indexes on Expressions: editorial correction