Summary

Completed

You now have the knowledge and tools to model, measure, and monitor the efficiency of your Azure Cosmos DB collections.

We've optimized the Orders collection for the online retail scenario. This database can now scale according to the needs of the business. You can apply these methods to your own scenario to make the most of the Azure Cosmos DB capacity that you've allocated.

Clean up

It's important that you clean up any unused collections. You're charged for the configured capacity, not how much of the database is used. For this module, we made these resources available to you free of charge. However, you should get into the habit of deleting resources when you're done with them. Follow these steps to clean up your collections.

  1. Open the Azure portal.

  2. Search for the sandbox resource group: Sandbox Resource Group.

  3. Select your Azure Cosmos DB account.

  4. Go to Data Explorer.

  5. To delete the mslearn database, select the ellipsis (...) next to the database name.

  6. Select Delete Database. The Delete Database pane appears.

  7. Enter the name of the database ID that you want to delete.

If you want to delete each collection individually, select the ellipsis (...) next to the collection and select Delete.

Resources

To learn more about Azure Cosmos DB, see the following resources: