Azure Tables: best practices for choosing partition/row keys

旧城冷巷雨未停 提交于 2019-12-20 10:17:19

问题


What would be best practices for choosing partition/row keys for entities in Azure Tables? The common advice is to magically balance between partition size and number of partitions. But no one seems to have a good definition of how it can be accomplished in 3 easy steps. Is there a general approach for choosing keys so that everything then just works?


回答1:


There is a detailed article on this very subject up on MSDN: Designing a scalable partitioning strategy for Windows Azure Storage.




回答2:


I've just recently been looking into the exact same thing and found this good quality article that covers Partition Keys, Row Keys and lots more: Azure Storage Table Design Guide: Designing Scalable and Performant Tables



来源:https://stackoverflow.com/questions/8190349/azure-tables-best-practices-for-choosing-partition-row-keys

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!