~/talk

Immutable Data in Postgres

Talkat PostgresOpen 2014 · 2014-09-17..09-19· [databases]
links:none on file
slides:none on file

Builds immutable audit by writing shadow tables with $ suffix and lightweight triggers that copy inserts updates deletes, records the Postgres transaction id from Postgres plus date author and message, and generates stored‑procedure code to offer blame and undo operations and a time‑travel view that stitches effective intervals together. Audit size ranges from about 2× to 50× main tables in production. Undo and time queries reconstruct deltas and work in practice, but require careful indexing and test data to run efficiently.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Netflix example
  3. 1:43The real problem
  4. 3:02Functional programming
  5. 4:54Git tool
  6. 5:42Example Netflix
  7. 6:17Secret Code
  8. 7:10Triggers
  9. 8:00Example
  10. 8:17Commit Hash
  11. 10:55Audit trails
  12. 13:31Generating code
  13. 15:55Example query
  14. 18:30Data correction
  15. 20:03Undo operations
  16. 21:51Production Data
  17. 23:35Netflix
  18. 24:35Licenses and Movies
  19. 25:28Effective Intervals
  20. 26:35License
  21. 27:22Filter
  22. 30:23Audit Tables
  23. 33:42High White Space
  24. 36:38Further Resources
  25. 37:45Any Questions
~/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.