【发布时间】:2014-12-23 18:37:33
【问题描述】:
根据谷歌文档
Small datastore operations include calls to allocate datastore ids or keys-only queries, and these operations are free.
如果下面的查询返回 10,000;那是“一次小操作”还是“10,000 次读取操作”
int count = ofy().load().type(Employee.class).filter("location", "US").keys().list().size();
【问题讨论】:
-
@PaulCollingwood 刚刚添加了 appstats,它需要 10K 读取调用。
-
Appstats 定价已关闭code.google.com/p/googleappengine/issues/detail?id=11397 检查是否花费您的一种方法是检查您的配额页面,运行代码并查看读取或小型操作的数量是否增加。
标签: google-app-engine google-cloud-datastore objectify