model-writtenrun 2951 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Greg Sabino Mullane proposed lowering random_page_cost from 4.0 to 1.2 to reflect widespread SSD use; Roberto Mello and Laurenz Albe supported the proposal, while Dagfinn Ilmari Mannsåker suggested accounting for cloud storage network latency #1 #2 #3 #4.
- Greg submitted a patch changing the documented and sample default, foregrounding SSD versus HDD advice, removing the numerical caching rationale, and adding per-database and per-role configuration guidance #5.
- Bruce Momjian objected to losing the explanation behind the setting and questioned the added configuration guidance; Greg subsequently withdrew the per-database and per-role addition and accepted recommending 4.0 for magnetic disks #6 #10.
- David Rowley requested benchmarks showing improved planner choices across selectivity, index size, memory pressure, and data locality; Tom Lane supported that requirement and recovered historical discussions confirming that 4.0 originated in lengthy experiments #7 #8 #9.
- Greg offered to investigate benchmarks while defending 1.2 as a practical starting point, David reiterated that PostgreSQL execution measurements were necessary, and wenhui qiu identified that changing the sample configuration alone would leave DEFAULT_RANDOM_PAGE_COST unchanged in src/include/optimizer/cost.h #11 #12 #13.
- Bruce defended the existing caching explanation, Tom characterized its numerical rationale as a retrospective justification, and Greg closed the supplied discussion questioning those assumptions and suggesting tests for both SSDs and HDDs; no revised patch or benchmark results appeared #14 #15 #16.
- Nearly a year later, Bruce committed a separate documentation rewrite that removed the precise caching assumptions, added network latency guidance, and retained the 4.0 default; the proposed default reduction did not land in this commit, which was backpatched through PostgreSQL 13 6b4b8d5f35.