~/talk

Automatic Partitioning with PostgreSQL

TalkinFrenchat PG Day France 2021 · 2021-06-16..06-17· [databases]
links:none on file
slides:none on file

Covers PostgreSQL partitioning's evolution from inheritance to declarative partitioning (v10) and features that actually speed queries: partition pruning at plan time, partition-wise joins/aggregates, and thousands-of-partitions support (v12). Demonstrates tooling for automated partition creation and retention (pg_pathman, pg_partman) plus a simple prototype (pg_auto_parts) for range auto-creation, and warns about issues: contention from default partitions and trigger-based creation, need for extensions to handle split/merge and purging, and the 63-character name length limit.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48Why partition
  3. 4:55Legacy partitioning
  4. 6:20Declarative partitioning
  5. 8:10Remote partitions
  6. 9:55Attach/detach partitions
  7. 11:17Default partitions
  8. 13:01Cross-partition updates
  9. 14:27Query optimizations
  10. 15:50Handling thousands of partitions
  11. 17:35Constraints and inheritance
  12. 19:21Logical replication
  13. 20:43Concurrent detachment
  14. 22:08Partition indexing
  15. 23:24Creation strategies
  16. 25:07Partitioning extensions
  17. 27:57Automatic retention
  18. 28:41Initial auto-creation
  19. 29:27Split and merge partitions
  20. 30:10Q&A
~/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.