NDB查询中找到的实体是否计算(定价)与获取操作相同?
我正在查看每个实体阅读的定价Google cloud https://cloud.google.com/datastore.com/datastore.com/datastore.com /定价
如果通过查询与Direct Get()找到实体,是否相同的成本?基本上,运行查询以找到实体更便宜吗?
I'm looking at the per entity read pricing for Google Cloud https://cloud.google.com/datastore/pricing
Is it the same cost if the entity is found via query vs. direct get() by key? Basically, is it cheaper to run queries to find the entity instead?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从您的链接文档中
小型操作是免费的。
我的解释(这是我自己的理解可能是错误的)是 - 直接获得按键或投影查询费用只有一个读取,但是标准查询将使您读取查询的读取,并读取读取结果。
From your linked documentation
Small operations are free.
My interpretation (this is my own understanding which could be wrong) is - A direct get by key or projection query costs just a single read but a standard query will cost you a read for the query and a read for retrieving the result.