谁收取BigQuery查询费用? [英] Who is billed for BigQuery queries?

查看:336
本文介绍了谁收取BigQuery查询费用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然不清楚谁在我的数据集上收到BigQuery查询。如果我已与其他用户共享我的数据集,并且其他用户对其进行查询,那么谁支付这些查询?一年前有一个类似的线程,但我仍然不确定是否理解谁在这种情况下支付费用。

您拥有一个数据集,您需要为该数据集中的所有表进行存储。您还需要为您运行的任何查询付费。如果另一个用户对您的表执行查询,那么他们将被收费,而不是您。所有查询都在控制计费的项目上下文中运行。我可能是多个项目的成员,但只有一个项目会收费。如果您正在使用BigQuery Web UI,则活动项目会确定为查询收取的费用。如果您使用bq命令行工具,则默认项目或 --project_id 标志确定结算项目。


I am still not clear on who is billed for BigQuery queries on my dataset. If I have shared my dataset with another user and the other user queries it, who pays for those queries? There was a similar thread a year ago but I still wasn't confident that I understood who pays in this case.

解决方案

If you own a dataset, you are billed for storage of all of the tables in that dataset. You are also billed for any queries that you run. If another user runs queries against your tables, they are billed, not you.

All queries run in the context of a project, which controls billing. I may be member of multiple projects, but only one project will be billed. If you are using the BigQuery Web UI, the active project determines who gets billed for the query. If you are using the bq command line tool, the default project or the --project_id flag determines the billing project.

这篇关于谁收取BigQuery查询费用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆