~/talk

Azure Cosmos DB Modeling Methodology

links:none on file
slides:none on file

Methodology gives concrete rules for migrating a 300+ table SQL Server e‑commerce schema into Cosmos DB SQL API using DDD aggregates and query stats: each aggregate → one container, partition key = anchor id (primary key), non‑root entities become separate JSON document types in the same container, value objects either embedded or separate documents depending on cardinality and churn, use a shared dictionary container for lookup aggregates, reference IDs for inter‑aggregate links, and duplicate hot query data (orders into accounts) to avoid cross‑partition scans.

AI-written summary · about

  1. 0:00Intro
  2. 0:58Importance of modeling in NoSQL
  3. 2:02Case study: legacy e-commerce platform migration challenge Scaling issues related to support bigger number of Relational Tables simultaneous users from around the globe
  4. 4:41Methodology inspiration
  5. 7:04The methodology: executive summary
  6. 11:51Case study: application flow
  7. 15:04Case study: DDD aggregates
  8. 16:23Data realities & queries statistics
  9. 17:49Mapping rules. Part 3
  10. 20:22Case study: logical data model
  11. 23:32Case study: physical optimization
~/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.