~/talk

SQL Server vs Azure Cosmos DB

Talkat NDC Porto 2024 · 2024-10-14..10-18· [databases, cloud-infrastructure]
slides:none on file

SQL Server is a mature relational engine (about 30 years) that supports JSON/XML, rich indexing and cached T-SQL plans; Cosmos DB is cloud-native (about 7 years) with partitioning and pricing that force different design choices. Cosmos requires choosing a partition key to avoid cross-partition queries (logical partition limit 20 GB per key) and scales by physical partitions of 50 GB and 10,000 request units each; a point read costs 1 RU, cross-partition queries can cost dozens of RUs but are fixed by change feed + Azure Functions materialized views. VS Code Cosmos DB SQL Studio exists and is demoed.

AI-written summary · about

  1. 0:00Introduction
  2. 2:39Architectural overview
  3. 6:51Partitioning strategies
  4. 10:07Partition key mechanisms
  5. 12:35Query plan and execution
  6. 17:10Data model flexibility
  7. 18:41Indexing and performance
  8. 21:52Stored procedures and logic
  9. 23:43Triggers and automation
  10. 24:42Computed columns and properties
  11. 26:13Pricing and cost management
  12. 29:05Views and materialized views
  13. 33:24Performance tuning
  14. 37:29Handling null values
  15. 39:12Data modeling best practices
  16. 41:39Selecting the right tool
  17. 46:01Getting started and demo
~/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.