~/talk

Collations from A to Z

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases]
links:none on file
slides:none on file

Runs a COI torture test of about 26 million strings (91 patterns over 10 years of Ubuntu and RHEL) and finds collation changes in every major release except Ubuntu 24.04, with past changes causing index corruption, WAL-replay crashes and even invisible row loss; mitigation often requires rebuild indexes (but not on hot standbys). Shows options: ICU root collations, ICU numeric and case-insensitive flags, and a new C.UTF8 built-in provider (Postgres 17) that’s stable and far faster than libc or linguistic collations, which can be ~5x slower.

AI-written summary · about

  1. 0:00Introduction
  2. 0:12Historical overview
  3. 1:15Collation myths and truths
  4. 5:15Testing for changes
  5. 8:02Risks of changing locales
  6. 10:38Unicode and libc challenges
  7. 13:21Workarounds and stability
  8. 16:00Posix local sorting
  9. 20:29Database default behaviors
  10. 23:53Collation options in Postgres
  11. 29:28Version 17 improvements
  12. 30:43ICU root collation
  13. 33:09Implementation examples
  14. 36:53Advanced ICU features
  15. 41:41Future work and summary
  16. 46:11Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.