~/talk

Using Postgres FDW with a sharded PostgreSQL Database

Talkat PostgresOpen 2013 · 2013-09-16..09-18· [databases, microservices]
links:none on file
slides:none on file

Shows how Postgres FDW links a 32-way sharded PostgreSQL setup (run on eight physical boxes) by creating foreign servers, per-server user mappings, and union all views that union per-shard foreign tables. Claims: WHERE on built‑in types pushes down, joins do not, queries hit shards serially (no parallel push), transactions span remote servers, remote defaults often don’t apply, and practical parallelism is achieved with external ETL/cron jobs.

AI-written summary · about

  1. 0:00Intro
  2. 0:13Stephen Frost
  3. 0:48Do you read...
  4. 1:07What is an FOW?
  5. 2:36What is an FDW? (part 2)
  6. 3:32Basics of FDW connections
  7. 5:26Using postgres fow
  8. 6:41Createing User Mappings
  9. 7:24Creating Foreign Tables
  10. 8:36Remote Query Execution
  11. 10:38More on Query Execution
  12. 12:49Query costing with FOWS
  13. 15:53Dealing with 32 shards
  14. 17:16Sharding suggestions
  15. 19:21FDW Challenges
  16. 23:12Parallelizing
  17. 24:45Working through FDws
  18. 27:14View Example
  19. 27:56What's PG do?
  20. 29:12Playing with views
  21. 29:45Verbose
  22. 30:15Firing a remote procedure
  23. 31:31Managing foreign tables
  24. 33:55Improvements for FOWS
  25. 36:10More idle thoughts
~/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.