Hi @SOHRAB SHAIKH (EXTERNAL) ,
Welcome to Microsoft Q&A forum and thanks for using Azure services.
As I understand your ask, you want to get how much data each partition has and memory of each partition.
- Determine the throughput consumption by a partition key range:
To determine the throughput distribution of any partitioned container broken down by partition key range IDs, navigate to the Insights pane. Open the Throughput tab, the normalized RU/s consumption across different partition key ranges is shown in the chart.
With the help of this chart, you can identify if there is a hot partition. An uneven throughput distribution may cause hot partitions, which can result in throttled requests and may require repartitioning. After identifying which partition key is causing the skew in distribution, you may have to repartition your container with a more distributed partition key.
- Determine the data and index usage:
You can minimize the index usage, maximize the data usage and optimize your queries. To get this data, navigate to the Insights pane and open the Storage tab:
Reference documentation link: Monitor and debug with insights in Azure Cosmos DB
Hope this helps. Please let us know if you need more insight. Thanks