.net core DynamoDB读取单位计数

.net core DynamoDB读取单位计数,.net-core,amazon-dynamodb,.net Core,Amazon Dynamodb,这张桌子是迪纳摩的 ID-是分区键 ID,LockKey,BigDataField 我有这段代码 Table table = Table.LoadTable("blablabla"); GetItemOperationConfig config = new GetItemOperationConfig() { AttributesToGet = new List<string>() { "Id", "LockKey" }, ConsistentRead = tru

这张桌子是迪纳摩的 ID-是分区键

ID,LockKey,BigDataField

我有这段代码

Table table = Table.LoadTable("blablabla");
GetItemOperationConfig config = new GetItemOperationConfig()
{
     AttributesToGet = new List<string>() { "Id", "LockKey" },
     ConsistentRead = true
};
Document doc = await table.GetItemAsync(Id, config);
Table Table=Table.LoadTable(“blablabla”);
GetItemOperationConfig=new GetItemOperationConfig()
{
AttributesToGet=新列表(){“Id”,“LockKey”},
一致性阅读=正确
};
Document doc=wait table.GetItemAsync(Id,config);

在这种情况下,读取单位如何计数?对于该物品的所有属性,还是仅针对我不会得到的attirbutes

过滤掉属性不会影响消耗的总读取容量单位


如中所述:“DynamoDB根据项大小而不是返回给应用程序的数据量来计算所消耗的读取容量单位数。因此,无论您请求所有属性(默认行为)还是仅请求其中一些属性,所消耗的容量单位数都是相同的(使用投影表达式)。无论是否使用筛选表达式,数字也将相同。“

筛选出属性不会影响所消耗的总读取容量单位

如中所述:“DynamoDB根据项大小而不是返回给应用程序的数据量来计算所消耗的读取容量单位数。因此,无论您请求所有属性(默认行为)还是仅请求其中一些属性,所消耗的容量单位数都是相同的(使用投影表达式)。无论是否使用筛选表达式,数字也将相同。”