0

How to get the count of partition key in Azure table storage? The performance needed to be considered.

Just need to get the total number of different partition on the table.

Developer
  • 133
  • 2
  • 10
  • 2
    Possible duplicate of [Count rows within partition in Azure table storage](https://stackoverflow.com/questions/38977896/count-rows-within-partition-in-azure-table-storage) – Dmitry Sep 29 '17 at 12:25
  • Different. The link you provide is to count the rows in a partition. However, I just need to count the total numbers of partition – Developer Sep 29 '17 at 12:35
  • 1
    The approach would still remain the same. You will need to iterate through all the entities. What you would do is create a dictionary where key is the partition key value and the value will contain the count of entities having that partition key value. – Gaurav Mantri Sep 29 '17 at 16:24

0 Answers0