~/talk

Building Distributed OLTP with Azure Cosmos DB for PostgreSQL

Talkat SQLBits 2023 · 2023-03-14..03-18· [databases, distributed-systems]
slides:none on file

Demonstrates building OLTP on Azure Cosmos DB for PostgreSQL using the open‑source Citus extension and Postgres SQL: default 32 shards sharded by a distribution key, ability to start on one node and scale to many, and online rebalance and tenant isolation operations that move hot tenants between nodes without downtime. Shows a measured case: single node ~15–16k orders/min at ~368ms vs distributed cluster ~214k orders/min at ~39ms (≈13× throughput), plus limits like no global unique index on non‑shard keys.

AI-written summary · about

  1. 0:00Intro
  2. 1:33Agenda
  3. 2:10Evolution to Distributed SQL
  4. 3:48Comparing Sale-Out Architectures
  5. 5:28Cosmos DB for PostgreSQL - Sharded Nothing Data Architecture
  6. 8:21Distributed Systems are NOT ONLY for large data volumes
  7. 10:06Distributed Systems are not "big" single node systems
  8. 13:30Creating distributed tables-2 step process
  9. 14:28Creating distributed tables- INSERT reords
  10. 19:23Building distributed databases
  11. 21:14Distributed Table Types
  12. 23:35Filter on shard key
  13. 27:56Primary/foreign key checks within shard
  14. 35:15Unique constraints within shard/node
  15. 35:28Joins within compute node
  16. 43:01Workload Rebalancing
  17. 44:08Online Tenant Isolation
  18. 47:35High Availability
  19. 47:45Built-in Monitoring
~/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.