谁需要为 BigQuery 查询付费? [英] Who is billed for BigQuery queries?

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

问题描述

我仍然不清楚谁为我的数据集上的 BigQuery 查询付费.如果我与另一个用户共享了我的数据集并且另一个用户查询它,谁为这些查询付费?一年前有一个类似的帖子,但我仍然不确定我是否了解在这种情况下谁付款.

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.

所有查询都在控制计费的项目上下文中运行.我可能是多个项目的成员,但只有一个项目会被计费.如果您使用的是 BigQuery 网页界面,则活动项目将决定谁为查询付费.如果您使用 bq 命令行工具,则默认项目或 --project_id 标志确定计费项目.

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天全站免登陆