Hi everyone,
I'm relatively new to Azure Table Storage and I'm trying to grasp the concepts of Partition Key and Row Key. I understand they are crucial for indexing and querying, but I'm struggling with how to choose them effectively for different scenarios.
For example, if I'm storing user profile data, should the Partition Key be the User ID, or something else? What are the best practices for ensuring efficient queries and avoiding hot partitions?
Any insights or examples would be greatly appreciated!
Example scenario: Storing sensor readings from multiple devices.
Partition Key idea: Device ID? Timestamp (e.g., month/year)?
Row Key idea: Timestamp (full)? Sequential ID?