Introduction to Azure Cosmos
Ratan Sunder Parai
Azure Cosmos DB is Microsoft's
globally distributed, multi-model
• Core (SQL) API
• Cassandra API
• MongoDB API
• Gremlin (graph) API
• Azure Table API
"Name": "Ratan Sunder Parai",
Azure Cosmos DB use cases
IoT and telematics
Retail and marketing
What about Backups?
Automatic and online backups
• Backup database every 4 hours
• Latest 2 backups are stored
• Doesn’t affect performance or availability
Hmm… So how Can I restore?
Contact Azure support within 8 hours
But I want to manage my own
Yes you can!
Manage your own backups
• Azure Data Factory to move data periodically to a storage of your choice
• Use Azure Cosmos DB change feed to read data periodically for full
backups, as well as for incremental changes, and store it in your own
There is more!
Data Migration Tool
Import data to Azure CosmosDB SQL API and Table
API from -
• Azure Tables
• JSON files
• SQL Server
• CSV files
• Amazon DynamoDB
• Azure Cosmos DB SQL API (DocumentDB)
I don’t have azure account, can I
Yes 😍 !!!
Cosmos DB Emulator
supports millisecond reads and writes to help avoid any lags during game play.
Traffic Manager uses DNS to direct client requests to the most appropriate service endpoint based on a traffic-routing method and the health of the endpoints
Azure Cosmos DB automatically takes a backup of your database every 4 hours and at any point of time, only the latest 2 backups are stored. However, if the container or database is deleted, Azure Cosmos DB retains the existing snapshots of a given container or database for 30 days.
Azure Blob storage
without affecting the performance or availability of your application
If you have accidentally deleted or corrupted your data, you should contact Azure support within 8 hours so that the Azure Cosmos DB team can help you restore the data from the backups.
Use Azure Data Factory to move data periodically to a storage of your choice.
Use Azure Cosmos DB change feed to read data periodically for full backups, as well as for incremental changes, and store it in your own storage.