Re: random_page_cost configuration parameter

2022-01-07 Thread Bruce Momjian
On Wed, Jan 5, 2022 at 07:27:55PM +0100, Mathias Kunter wrote: > Am 28.12.21 um 17:03 schrieb Tom Lane: > > Mathias Kunter writes: > > > Consider the situation > > > where the randomly fetched pages are mostly (or even entirely) cached in > > > RAM, but where the sequentially fetched pages must b

Re: random_page_cost configuration parameter

2022-01-05 Thread Mathias Kunter
Am 28.12.21 um 17:03 schrieb Tom Lane: Mathias Kunter writes: Consider the situation where the randomly fetched pages are mostly (or even entirely) cached in RAM, but where the sequentially fetched pages must be mostly read from disk. An example for such a scenario is a database system which us

Re: random_page_cost configuration parameter

2021-12-28 Thread Tom Lane
Mathias Kunter writes: > the documentation of the random_page_cost configuration parameter says: >> Although the system will let you set random_page_cost to less than >> seq_page_cost, it is not physically sensible to do so. > However, I don't think this statement is true. Consider the situation