Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost - Mailing list pgsql-docs

From PG Doc comments form
Subject Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost
Date
Msg-id 171016022562.644.8257823941386335046@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/runtime-config-query.html
Description:

While reading the following section in the documentation
https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-RANDOM-PAGE-COST
I found something which looks incorrect to me.

If I understand this setting correctly, the following sentence:

"Reducing this value relative to seq_page_cost will cause the system to
prefer index scans; raising it will make index scans look relatively more
expensive."

should rather be:

"Raising this value relative to seq_page_cost will cause the system to
prefer index scans; reducing it will make index scans look relatively more
expensive."

Thanks,
Nacho

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Minor typo in Section, 27.2.8.4.
Next
From: PG Doc comments form
Date:
Subject: Incomplete sentence in the description for most_common_freqs