model-writtenrun 7054 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Frédéric Yhuel proposed documenting avg_leaf_density and leaf_fragmentation, initially describing density as the inverse of bloat and fragmentation as a mismatch between physical and logical page ordering #1.
- Bertrand Drouvot questioned the bloat terminology and separate paragraph #2, and Laurenz Albe supplied a revision that explained density through user data and default fillfactor while integrating the text with the existing index_size explanation #4.
- Frédéric reported that fragmentation slowed disk-based index-only scans even on SSD storage #3, and, after Bertrand supported mentioning the effect #5, incorporated that explanation into Laurenz's revision #6.
- Bertrand identified that density should be expressed as 90 rather than 0.9 and cautioned that small indexes can have lower averages #7; Laurenz suggested qualifying the index size #8, and Frédéric incorporated both corrections into the final patch #9.
- Laurenz approved the wording but questioned whether the performance warning depended on storage characteristics #10; Benoit Lobréau reproduced the slowdown and supplied test scripts #11, after which Laurenz marked the patch ready for a committer #12.
- Ants Aasma suggested that fragmentation defeats kernel read-ahead #13, and Frédéric's follow-up measurements supported that explanation while leaving a question about the remaining SSD performance gap with read-ahead disabled #14.
- Peter Eisentraut committed the final patch #9 unchanged as 9601351146 and confirmed the landing in the thread's last message #15, completing the documentation change.