Understanding the trade off between Cosmos DB/Azure SQL
DB/Table Storage
Azure Cosmos DB
Azure Cosmos DB
No-SQL database Automatic Backups every 4 hours
Multi Model Database : Document DB ,Gra Data is stored in SSD in Data Centers
ph DB, Key-Value Pair,Wide Column
Globally distributed and replicated in mu
Cost is very high
ltiple regions with 99.9% availability
Azure Cosmos DB Cost
Azure Cosmos DB Cost
Azure RU Capacity Planner
Azure Cosmos DB Performance
https://koukia.ca/azure-documentdb-vs-sql-azure-performance-comparison
-revised-178a90038146
Azure Table Storage
Cons
Pros
• NO SQL way of storing data as Key • No Automatic Backup
– Value Pair • Single Table can grow bigger resultin
• Can Store Huge Volumes of data g in performance issues.
• Cost is calculated based only on the • We cannot split it into multiple tables.
storage and not on Read/Write ops Querying multiple tables is not possib
• Read Performance is better than Cos le as only HTTP Get Endpoint is avail
mos DB able
• Cost for 1000 GB comes to as less a • 20 mails * 100 Users * 30Days = 60k
s 50 USD/month records per month. 5-6 Years down th
e line, if we have any issues/design u
pdates we will have option to migrate
https://www.troyhunt.com/working-with-154 to Cosmos. Direct migration path is a
-million-records-on/ vailable.
Azure SQL DB
Vs Table Storage
Thank You