简体   繁体   English

如何在 Big Query 中设置每个查询的数据限制

[英]How to set data limit per query in Big Query

How can we set a data limit pertained to every query.我们如何设置与每个查询相关的数据限制。

Ex - In one single query run, no more than 10TB data can be scanned. Ex - 在一次查询运行中,最多可以扫描 10TB 的数据。

I have been following this link and gotten info on how to set limit at user and project level.我一直在关注此链接并获得有关如何在用户和项目级别设置限制的信息。 https://cloud.google.com/bigquery/docs/custom-quotas , but haven't been able to find quota limits per query. https://cloud.google.com/bigquery/docs/custom-quotas ,但无法找到每个查询的配额限制。

That is not a valid option for custom quotas currently in Bigquery.不是Bigquery 中当前自定义配额的有效选项。

A custom quota for bigquery can set a limit on the amount of query data processed per day at the project-level or at the user-level. bigquery 的自定义配额可以在项目级别或用户级别设置每天处理的查询数据量限制。

  • Project-level custom quotas limit the aggregate usage of all users in that project.项目级自定义配额限制该项目中所有用户的总使用量。
  • User-level custom quotas are separately applied to all users and service accounts within a project.用户级自定义配额分别应用于项目中的所有用户和服务帐户。

So, in summary, there is no way to limit the number of queries o the amount of data on a single query.因此,总而言之,没有办法限制查询的数量或单个查询的数据量。 It is a daily global limit on data processed.这是处理数据的每日全球限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM