azure - 多点查询Azure存储服务

标签 azure storage point

我对 Azure 中的点查询有疑问。如果我有大量的分区键/行键对,是否有一种智能方法可以进行大量的点查询来获取实体?

我当然可以迭代n对并进行n查询,但我觉得有一种更聪明的方法。

谢谢

最佳答案

我从 Joe Giardino, Microsoft 找到了答案:

If you want several non contiguous row keys, then issuing separate but parallel individual queries of below form will perform better. When you specify both PartitionKey and RowKey the query is considered a "PointQuery" which is the most performant option.

 a) PartitionKey == “MyPK” && RowKey == “FirstRK”
 b) PartitionKey == “MyPK” && RowKey == “SecondRK"

关于azure - 多点查询Azure存储服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14898082/

相关文章:

.htaccess - Zend Framework 2 中从 .htaccess 到 web.config 的 URL 重写

azure - Windows Phone 对 Azure 服务总线通知中心的支持

image - 存储数百万张图像

android - 有没有办法在 Android 中获取 SD 卡的大小?

python - 如何将两个坐标列转换为一列 Shapely 点

azure - 从 Azure Active Directory AuthenticationResult.AccessToken 获取 NameIdentifier

c# - 如何防止 HttpWebRequest 因 Azure Web App 超时而响应过长

Azure Blob 存储覆盖重复文件

javascript - 在坐标系中找到最多未填充的点

java - 如何从 Point 对象获取 double