Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: ignacio(dot)alonso(at)microsoft(dot)com
Subject: Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost
Date: 2024-03-11 12:30:25
Message-ID: 171016022562.644.8257823941386335046@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2024-03-11 12:38:24 Incomplete sentence in the description for most_common_freqs
Previous Message PG Doc comments form 2024-03-08 21:15:35 Minor typo in Section, 27.2.8.4.