获取异常-“属性值大于表服务允许的值",天蓝色存储表中行的最大大小是多少 [英] Getting exception - "The property value is larger than allowed by the Table Service", what is the max size of a row in azure storage table

查看:89
本文介绍了获取异常-“属性值大于表服务允许的值",天蓝色存储表中行的最大大小是多少的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试在天蓝色表存储中插入记录时,获取异常属性值大于表服务允许的值".

Getting exception "The property value is larger than allowed by the Table Service" while trying to insert a record in azure table storage.

下面是我的表结构, 字符串PartitionKey,字符串RowKey,字符串Id,字符串站点,字符串名称,字节[]内容,
公开DateTime创建时间

Follwing is my table structure, string PartitionKey,String RowKey,string Id , string site, string name , byte[ ] content,
public DateTime createdtime

我正在尝试在内容字段中保存83755个字节的数组(82KB),而其他字段最多为35个字符.

And i am trying to save 83755 bytes array ( 82KB ) in content field and other fields are max of 35 chars.

有人可以告诉我天蓝色存储表的最大行数是多少吗?

Can anyone please tell me what is the max size of a row for azure storage table?

以下是我引用的网址.其中提到的行最多可以有1MB.但是我的不超过100 KB.

Following is the url which i referred.. there its mentioned the row can have 1MB max. But mine doesn't exceed 100 KB.

http://blogs.msdn.com/b/jnak/archive/2010/01/06/walkthrough-windows-azure-table-storage-nov-2009-and-later.aspx

谢谢

Gopinath

推荐答案

是的,每行最多可以有1MB.但是,每个字节数组属性或字符串属性都限于64K.有关每种数据类型的详细信息,请参见此MSDN参考.

Yes, each row may have up to 1MB. However, each byte array property or string property is limited to 64K. See this MSDN reference for specifics on each data type.

这篇关于获取异常-“属性值大于表服务允许的值",天蓝色存储表中行的最大大小是多少的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆