azure - 在Azure中查询多个RowKey

标签 azure azure-table-storage

This post from 2010 says

Query7: PartitionKey == "A" and (RowKey == "A" or RowKey == “F”) 
This results in scanning the entire Partition "A".

当前版本的 Azure 仍然是这种情况吗?

当我的分区仅包含约 20 行时,我应该选择两个并行查询还是上面的语法?

最佳答案

我从 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中查询多个RowKey,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17407680/

相关文章:

node.js - azure 中的前端和后端分离

Python Azure SDK : How to retrieve secrets from keyvault?

azure - 将点查询连接在一起时 Azure 表存储中的性能不可靠

azure - HDInsight : HBase or Azure Table Storage?

azure - Windows Azure 存储表中的事务和延续 token

python-3.x - Azure 表存储备份

c# - 在执行 Azure 表存储的插入操作后,我应该从 C# 中的 Async 方法返回什么?

Azure 应用服务计划无法更改

azure - 使用不同租户中的帐户实现 Azure Blob 存储的 RBAC?

.net - az webapp 在指定 .net core 时创建错误