Azure 表存储实体大小限制

问题描述 投票:1回答:1

如何计算表实体的准确大小?参照这个 旧博文 其公式为

4 bytes + Len (PartitionKey + RowKey) * 2 bytes + For-Each Property(8 bytes + Len(Property Name) * 2 bytes + Sizeof(.Net Property Type))

其中

String – # of Characters * 2 bytes + 4 bytes for length of string
DateTime – 8 bytes
GUID – 16 bytes
Double – 8 bytes
Int – 4 bytes
INT64 – 8 bytes
Bool – 1 byte
Binary – sizeof(value) in bytes + 4 bytes for length of binary array

这个还有效吗?网络上有其他来源的房产名称不在计算范围内。

谢谢您的简短确认。

azure azure-table-storage
1个回答
1
投票

是的,这仍然有效。

你可以查看doc(发表在12-12-2019 09:33 PM) 计算存储账户和服务的容量大小(BlobTable)。微软技术社区 -> 在本节中 8. 计算 azure 存储表中每个实体的大小。. 我还附上了下面的截图。

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.