~/talk

How to do Data Modeling for Distributed Postgres in Azure Cosmos DB

Talkat Azure Cosmos DB: Liftoff 2022 · on Tuesday, 2022-10-18· [databases]
slides:none on file

Explains how Azure Cosmos DB for Postgres uses the open-source Citus extension to turn tables into shards across coordinator and worker nodes via create_distributed_table_concurrently, then gives five concrete tips: pick a high-cardinality shard key that matches your app’s natural dimension, co-locate large tables and make small ones replicated, use JSONB with GIN indexing for semi-structured payloads, add time-based partitions and automatic data partitioning and archival to drop or compress old data, and always scope queries to the shard key.

AI-written summary · about

  1. 0:00Introduction
  2. 0:16Azure Cosmos DB for Postgres
  3. 4:50Tip 1 Natural Dimension
  4. 6:32Tip 2 Colocation
  5. 12:17Summary
~/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.