~/talk

Learn Live: Model data for Azure Cosmos DB for PostgreSQL

Talkat Microsoft Build 2023 · 2023-05-23..05-25· [databases]
name:Gary Hope
github:GaryHopeMS
slides:none on file

Azure Cosmos DB for PostgreSQL groups Postgres servers into a coordinator plus worker nodes to deliver a scalable distributed relational database; rows are sharded by the hash of a chosen distribution column (default 32 shards). Three table types exist: local (coordinator-only), reference (replicated to every worker) and distributed (sharded across workers); reference tables are created with CREATE REFERENCE TABLE and distributed tables with CREATE DISTRIBUTED TABLE or ALTER; distribution column must be part of primary/unique keys and foreign keys to enforce constraints; time partitioning and functions like CREATE_TIME_PARTITIONS / DROP_ALL_TIME_PARTITIONS manage retention.

AI-written summary · about

  1. 0:00Start
  2. 2:51Scenario: Scaling Woodgrove Bank's contactless payment app
  3. 6:19Distributing data across multiple servers
  4. 19:42Reference tables.
  5. 22:23Reference table versus distributed table
  6. 28:42Trouble with implicit colocation
  7. 30:03Foreign key implications in a distributed environment
  8. 32:33Compare from a single ERD to a distributed ERD
  9. 37:33Partition time series data
  10. 38:17What is time-partitioning?
  11. 41:27Time partitions in a distributed environment
~/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.