More Related Content

Introduction to azure cosmos db

  1. Introduction to Azure Cosmos DB Ratan Sunder Parai @ratanparai github.com/ratanparai ratanparai.com
  2. Azure Cosmos DB is Microsoft's globally distributed, multi-model database service
  3. Multi-model database? • Core (SQL) API • Cassandra API • MongoDB API • Gremlin (graph) API • Azure Table API
  4. Entities Overview
  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. Partitioning
  7. Azure Cosmos DB use cases
  8. IoT and telematics
  9. Retail and marketing
  10. Event Sourcing
  11. Gaming
  12. Personalization
  13. What about Backups?
  14. Automatic and online backups • Backup database every 4 hours • Latest 2 backups are stored • Doesn’t affect performance or availability
  15. Hmm… So how Can I restore? Contact Azure support within 8 hours
  16. But I want to manage my own backup 🤔 Yes you can!
  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. There is more! Azure DocumentDB Data Migration Tool
  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. I don’t have azure account, can I try CosmosDB? Yes 😍 !!! Cosmos DB Emulator

Editor's Notes

  1. 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
  2. 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.