How to view Cosmos DB size?
Asked Answered
M

2

12

For a SQL database, I can easily see the size of the database in the Overview blade in Azure Portal. Or I can query for instance EXEC sp_spaceused to find out.

Is there such a thing for Cosmos DB?

Medea answered 11/5, 2021 at 23:8 Comment(1)
If you mean total storage consumed storage, you can see it in metric blade in azure portal. The same as what @Vova said below, here's the official document.Caren
M
14

Search for Monitor -> Metrics -> Select Scope (Your cosmos) -> Select Metric( Data Usage or Index Usage)

The other way go to cosmosdb -> Metrics(Classic)

Monition answered 11/5, 2021 at 23:41 Comment(0)
L
8

Another way is to go under Containers Menu -> Browse.

This view shows storage based on each container, cost, throughput. Also, it gives you the total of all of these.

enter image description here

Lundberg answered 7/3, 2022 at 10:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.