Re: Design notes for BufMgrLock rewrite - Mailing list pgsql-hackers

From Zeugswetter Andreas DAZ SD
Subject Re: Design notes for BufMgrLock rewrite
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D2FB@m0114.s-mxs.net
Whole thread Raw
In response to Design notes for BufMgrLock rewrite  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Would there be any value in incrementing by 2 for index accesses and 1
> for seq-scans/vacuums? Actually, it should probably be a ratio based on
> random_page_cost shouldn't it?

What happens with very small hot tables that are only a few pages and thus have
no index defined.

I think it would not be good to treat such data pages as less important than
index pages.

Andreas


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Terminating a SETOF function call sequence
Next
From: pgsql@mohawksoft.com
Date:
Subject: Re: Help me recovering data