Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
384 views
in Technique[技术] by (71.8m points)

google-cloud-firestore - Firestore删除价格(Firestore Pricing for deletion)

如果我执行查询以删除Firestore数据库中不存在的文档,我是否要为删除操作,读取操作或全部不收费?

  ask by Maverick7 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It sounds like you will be charged based off of reading this .

(这听起来像是你将基于阅读过充电 。)

Even though they don't say "delete", this makes it seem like you will be charged: "There is a minimum charge of one document read for each query that you perform, even if the query returns no results."

(即使他们没有说“删除”,这似乎也要向您收取费用:“即使您执行的每个查询都没有返回结果,也要为您执行的每个查询收取一个文档的最低费用。”)

Now if you receive an error doing the operation you should not be charged.

(现在,如果在执行操作时收到错误,则无需付费。)

I would recommend testing this with very small amounts of data at first just to make sure though, the fee is only $0.02 per 100,000 deletions.

(我建议首先使用少量数据进行测试,以确保不过,每十万次删除的费用仅为$ 0.02。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...