azure - Windows Azure 表存储 int 字段增量

标签 azure azure-storage azure-table-storage

我正在考虑对 Azure 表存储进行重大改进。是否可以通过特定操作向表存储提交查询,例如“将实体字段 [name] 增加为 [value],其中 [PartitionKey=somestingPK] 和 [RowKey=somethingRK]”?

@smarx 此功能将可用吗?

最佳答案

您可以使用启用了 ETAG 跟踪的表存储或页面存储来实现此目的。我使用此技术为 Azure 表中的每个条目创建一个标识值。这个想法是这样的:

  • 从页面 Blob 读取值,启用 ETAG 跟踪

  • 增加检索到的值

  • POST 检索到的值,如果存在 ETAG 冲突,请重新重试整个操作。也许在这里使用指数退避算法来防止目标容器或分区过载。

关于azure - Windows Azure 表存储 int 字段增量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13398097/

相关文章:

asp.net - System.IdentityModel.Tokens.ValidatingIssuerNameRegistry 的配置问题

Azure应用服务: Deployment Source missing options [radio vs dropdown]

node.js - Promise 和 Azure 语音转文本

c# - 用于函数的 Azure SQL 触发器在空闲后不会触发

android - android 的窗口 azure 移动服务根据不同的值获取多条记录

azure - Azure 表存储中的 PartitionKey 和 RowKey 必须是字符串吗?

azure - 如何在 Azure 表存储中嵌入文档

url - 如何对 URI 进行编码以安全地存储在 TableServiceEntity 的 RowKey 中?

azure - 在azure逻辑应用中对azure表存储实体进行排序

azure - 使用多个实例更新 azure 表中的 40+ 百万个实体如何处理并发问题