~/talk

Around the world with extensions

Talkat PGDay.IT 2019 · on Friday, 2019-05-17· [databases]
slides:none on file

pg_stat_statments records parameterized queries and reports total and average times so slow or N+1 queries surface quickly; at Heroku scale (about 1.5 million databases) a one‑in‑a‑million problem shows up daily. pg_stat_statments enables per‑tenant billing when extended. HyperLogLog stores tiny sketches for approximate uniques and supports union/aggregation (5+10 ≈ 13). Citus shards by hash (recommend powers like 32/128) and fans queries to shards; Timescale creates hypertables for time series, and pg_partman automates native partition creation and retention. Foreign data wrappers push predicates or expose external indexes (Redis, Elasticsearch/Zombo).

AI-written summary · about

  1. 0:00Start
  2. 1:21What are extensions
  3. 9:46HyperLogLog
  4. 13:20Some best practices
  5. 13:45Tuning parameters
  6. 14:38Common use cases
  7. 18:03Timescale
  8. 21:51pg_partman
  9. 24:13Why not native partitioning.
  10. 24:47Citus
  11. 25:09What is sharding
  12. 26:50Don't just route values
  13. 27:01Create range of hash values
  14. 27:29How does sharding work
  15. 27:41Distributing data
  16. 28:16Real-time executor
  17. 30:12Create foreign server
  18. 31:24Postgres is more than Postgre
  19. 32:15Honorable mentions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.