~/talk

In core compression-How to shrink your database

Talkat PGConf Silicon Valley 2016 · 2016-11-14..11-16· [databases]
links:none on file
slides:none on file

Demonstrates a Postgres Pro Enterprise page-level compressor (CFS) that writes compressed variable-size pages on eviction, tracks them in a map file and runs segment-based garbage collection; uses ZSTD by default and supports optional encryption via PG_CIPHER_KEY. Synthetic tests show up to 18× smaller files but ~2× slower loads; real workloads show ~5% TPS improvement. Practical tips include 24 bytes of MVCC metadata per row, reordering columns saved ~20% on one DB, and compression is enabled per tablespace.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Agenda
  3. 3:05Topol
  4. 3:39Data size
  5. 4:38Page inspecting extension
  6. 5:39Alignment rule
  7. 6:47Index alignment rule
  8. 7:22Adding indexes
  9. 11:36Next release
  10. 12:07CFS
  11. 13:21Additional mapping
  12. 14:20Garbage collection
  13. 15:02Encryption
  14. 15:45Usage of compression
  15. 16:35Disclaimer
  16. 18:47Real Data
  17. 19:55Real Date
  18. 20:07Double buffering
  19. 20:59Advantages of CFS
  20. 21:47Cons of CFS
  21. 23:03Roadmap
  22. 23:45Questions
  23. 29:39Conclusion
~/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.