gpt4 book ai didi

Azure 表存储实体大小限制

转载 作者:行者123 更新时间:2023-12-03 02:40:45 25 4
gpt4 key购买 nike

如何计算表实体的确切大小?引用这个very old blog post公式为:

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

这仍然有效吗?网络上还有其他来源,其中属性名称不包含在计算中。

感谢您的简短确认。

最佳答案

是的,这仍然有效。

您可以查看该文档(发布于 ‎2019 年 12 月 12 日 09:33 PM)Calculate the size/capacity of storage account and it services (Blob/Table)Microsoft 技术社区 -> 本部分8.计算azure存储表中每个实体的大小。。我还附上截图如下:

enter image description here

关于Azure 表存储实体大小限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61387083/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com