索引写入成本

Index write costs

这里 Java Understanding write costs 我正在阅读有关优化我的实体的内容。

第一行没看懂的是

When your application executes a Cloud Datastore put operation

我正在使用 NodeJs 并且 NodeJs documentation 没有提到 put 命令,因此如果额外的索引写入成本仅适用于 Insert 命令或也适用于 Update 等其他命令,我会感到困惑。

更新 我找到了这个答案 据我了解,如果我让数据存储自动索引我的属性并不重要,因为每次插入、更新和读取实体时我只需要支付一次费用。

我想我通过排除某些属性的索引获得的唯一改进是减少了存储需求?

是索引量won't increase write costs. Although they will be making use of storage. You have the official Datastore Pricing model here