This is a discussion on Re: Design notes for BufMgrLock rewrite within the pgsql Hackers forums, part of the PostgreSQL category; --> > Would there be any value in incrementing by 2 for index accesses and 1 > for seq-scans/vacuums? Actually, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > 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 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |