model-writtenrun 8353 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Geoghegan explained that deduplication's single value strategy aims to leave six large posting list tuples behind after a page split, coordinating with the split strategy to maintain space utilization #1.
- Geoghegan identified a rare counting error where small tuples wedged between large posting lists could prematurely stop deduplication, leaving pages with roughly 50–70 tuples #1.
- His attached patch replaced the count of all output tuples with an explicit count of size-limited posting lists containing more than 20 TIDs #1.
- Geoghegan reported a small space improvement in his tests, including a TPC-H index shrinking from 1193 to 1182 pages; the supplied thread contains no replies or independent reviews #1.
- The fix landed with the TID threshold raised to more than 50, an additional counter reset during index building, and expanded comments, completing the attached patch's work with local modifications #1 be14f884d5.