~/talk

A Look at the Elephant's Trunk PostgreSQL 13

Talkat Percona Live Online 2020 · 2020-10-20..10-21· [databases]
slides:none on file

PostgreSQL 13 lists concrete, deployable changes: drop database with force actually disconnects clients, autovacuum now triggers on inserts and can run index vacuuming in parallel, and ANALYZE and backups expose progress views so long operations report percentage done. UUID generation moves into core as gen_random_uuid, logical replication finally handles partitioned tables, backups include a standard manifest and bg_verify_backup for integrity checks, and planner/runtime features like incremental sort and disk-based hash aggregates reduce memory and I/O.

AI-written summary · about

  1. 0:00A look at the Elephants Trunk PostgreSQL 13
  2. 1:44Development schedule • July 2019 - branch 12
  3. 4:37New features • DBA and administration • SQL and developer • Backup and replication
  4. 5:19DROP DATABASE • Drop database • And automatically disconnect users!
  5. 6:47Wait events renamed • Many wait events renamed
  6. 8:12ALTER STATISTICS • Statistics target on extended statistics • Separate from underlying columns
  7. 9:22ANALYZE • Progress report for analyze • How far along is the analyze • How much has been generated
  8. 10:02Parallel VACUUM
  9. 12:59Slow query sampling
  10. 15:03SSL versions
  11. 17:14pg_stat_activity • New column leader_pid • Shows leader in parallel query • NULL for non-parallel query
  12. 17:58Trusted extensions • Extensions installed as non-superuser
  13. 19:21UUID • Random generation now in core • Covers most use-cases • No need for extension
  14. 19:58JSONPATH . Now supports datetime
  15. 20:36FETCH FIRST WITH TIES
  16. 22:35Backup manifests Included in base backups . By default • List of files, checksums
  17. 23:34Logical replication of partitioned tables • Replicates individual partitions
  18. 24:27Limit slot disk usage
  19. 25:04Online reconfiguration • primary_conninfo and primary_slot_name • Change in file or with ALTER SYSTEM . Only a reload needed
  20. 26:29Disk based hash aggregate • Hash aggregates used in more cases . Even when work_mem is not enough • Avoid OoMing on bad estimates • GROUP BY, DISTINCT and grouping sets
  21. 27:42pg_stat_statements
  22. 28:19Deduplication in btree • Indexes with many duplicates - Full set of columns • Improved performance
  23. 29:05There's always more
~/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.