Conversation

Replying to
Check out pgstatindex() function from pgstattuple contrib extension for info on space utilization. Looks like Postgres gets classic "Natural logarithm of 2" space utilization with insert benchmark (i.e. ~69% full excluding the PK), so wouldn't expect FF to make a difference.
1
2
Replying to
I will run linkbench soon which has insert, update and delete. Starting with insert only might have been good. Less configuration tuning to worry about while learning about PG. Can focus on checkpoint and worry about vacuum later.
1
Replying to
Makes sense. To improve space utilization for LinkBench, hack the function _bt_afternewitemoff() within nbtsplitloc.c (in Postgres 12+). Make it return true where safe, and rebuild. If you're interested I can send a patch (will take me about 3 minutes). Makes a big difference.
1
Show replies