Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to azure cosmos db

74 views

Published on

Introduction of Azure cosmos DB and common use cases architecture overview

Published in: Software
  • Be the first to comment

  • Be the first to like this

Introduction to azure cosmos db

  1. 1. Introduction to Azure Cosmos DB Ratan Sunder Parai @ratanparai github.com/ratanparai ratanparai.com
  2. 2. Azure Cosmos DB is Microsoft's globally distributed, multi-model database service
  3. 3. Multi-model database? • Core (SQL) API • Cassandra API • MongoDB API • Gremlin (graph) API • Azure Table API
  4. 4. Entities Overview
  5. 5. Example item { "id": "2b9f351e-323a-4d10-8162-e388846b8e8b", "Name": "Ratan Sunder Parai", "City": “Dhaka", "_rid": "oZIeALjgLoIBAAAAAAAAAA==", "_self": "dbs/oZIeAA==/colls/oZIeALjgLoI=/docs/oZIeALjgLoIBAAAAAAAAAA==/", "_etag": ""06009837-0000-0d00-0000-5dde44720000"", "_attachments": "attachments/", "_ts": 1574847602 }
  6. 6. Partitioning
  7. 7. Azure Cosmos DB use cases
  8. 8. IoT and telematics
  9. 9. Retail and marketing
  10. 10. Event Sourcing
  11. 11. Gaming
  12. 12. Personalization
  13. 13. What about Backups?
  14. 14. Automatic and online backups • Backup database every 4 hours • Latest 2 backups are stored • Doesn’t affect performance or availability
  15. 15. Hmm… So how Can I restore? Contact Azure support within 8 hours
  16. 16. But I want to manage my own backup 🤔 Yes you can!
  17. 17. 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 storage.
  18. 18. There is more! Azure DocumentDB Data Migration Tool
  19. 19. Import data to Azure CosmosDB SQL API and Table API from - • Azure Tables • JSON files • MongoDB • SQL Server • CSV files • RavenDB • Amazon DynamoDB • HBase • Azure Cosmos DB SQL API (DocumentDB)
  20. 20. I don’t have azure account, can I try CosmosDB? Yes 😍 !!! Cosmos DB Emulator

×