简体   繁体   English

BigQuery:超出资源 - Google 表格服务超载

[英]BigQuery: Resources exceeded - Google Sheets service overloaded

I have a Google Spreadsheets with data connected to a Data Studio Panel.我有一个 Google 电子表格,其中的数据已连接到 Data Studio 面板。 I'm using the following data flow to get the data:我正在使用以下数据流来获取数据:

Google SpreadSheets --> BigQuery External Table --> View To the External Table --> Data Studio (Updated every 10 minutes) Google SpreadSheets --> BigQuery 外部表 --> 查看到外部表 --> Data Studio(每 10 分钟更新一次)

But for some reason that I don't know, sometimes, when executing a select on the BigQuery External Table I get the following error:但出于某种我不知道的原因,有时,在 BigQuery 外部表上执行 select 时,我会收到以下错误:

Resources exceeded during query execution: Google Sheets service overloaded for spreadsheet id:XXX查询执行期间超出资源:电子表格 ID 的 Google 表格服务超载:XXX

The Google SpreadSheet has only 1500x10 Columns, which I think is pretty small. Google SpreadSheet 只有 1500x10 列,我认为这很小。 Also, there are about 6 users.此外,大约有 6 个用户。

What can cause that error?什么会导致该错误? Any idea about how to solve this?关于如何解决这个问题的任何想法?

Thanks谢谢

The Google documentation has information about this error: Google文档包含有关此错误的信息:

A BigQuery query can overload Sheets, resulting in an error like Resources exceeded during query execution: Google Sheets service overloaded. BigQuery 查询可能会使表格过载,从而导致错误,例如查询执行期间超出资源:Google 表格服务过载。 Consider simplifying your spreadsheet;考虑简化电子表格; for example, by minimizing the use of formulas.例如,通过尽量减少公式的使用。

It seems that along with size of the Sheet, the "complexity" also matters.似乎随着工作表的大小,“复杂性”也很重要。 We cannot know how complex is your spreadsheet without seeing it but consider reducing your formula usage.我们无法在不查看电子表格的情况下知道它有多复杂,但可以考虑减少公式的使用。 This article also mentions a max result size of 10MB and other pivot table limits.本文还提到了 10MB 的最大结果大小和其他 pivot 表限制。 You could also try to divide the data or if the error rate is manageable you could also use some kind of retry strategy to query again until you get the results.您也可以尝试划分数据,或者如果错误率可控,您还可以使用某种重试策略再次查询,直到获得结果。

If this is not enough then you may have reached the limits of what you can do with Sheets.如果这还不够,那么您可能已经达到了使用表格可以执行的操作的限制。 Digging deeper I found this Google issue tracker post which has a quote from their engineering team:深入挖掘后,我发现了这个 Google问题跟踪器帖子,其中引用了他们的工程团队的话:

The BigQuery Engineering Team has stated that the current suggested approach is to simplify the spreadsheet. BigQuery 工程团队表示,目前建议的方法是简化电子表格。 Sheets is designed for Web/Mobile use cases and not as a DB backend. Sheets 专为 Web/移动用例而设计,而不是作为数据库后端。 Even a couple of thousand rows is large in this context, especially if there are formulas involved.在这种情况下,即使是几千行也很大,尤其是在涉及公式的情况下。

The post is a feature request to the Google engineering team to allow for more complexity, but these requests can take time and if they don't intend Sheets to be used that way it's also possible that they won't implement it.该帖子是向 Google 工程团队提出的功能请求,以考虑到更多的复杂性,但这些请求可能需要时间,如果他们不打算以这种方式使用表格,他们也可能不会实施它。 If you cannot reduce the spreadsheet's complexity enough to stop getting the error you may want to consider querying the data from a different source.如果您无法将电子表格的复杂性降低到足以停止出现错误的程度,您可能需要考虑从不同的来源查询数据。

暂无
暂无

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

相关问题 资源超过 BigQuery - Resources exceeded BigQuery 编写 Google Apps 脚本以在 BigQuery“查询执行期间超出资源”时引发错误 - Program Google Apps Script to throw error when BigQuery "Resources exceeded during query execution" 查询执行期间超出了 Google BigQuery 资源。 如何在 SQL 中拆分带有分区的大 window 帧 - Google BigQuery Resources exceeded during query execution. How to split large window frames with partition in SQL 将服务从 Google Ads 转移到 BigQuery 的问题 - Problems with Transfer Service from Google Ads to BigQuery 在 BigQuery SQL 中,如何跟踪资源使用情况以避免“查询执行期间超出资源”错误 - In BigQuery SQL, how to track resource usage to avoid "Resources exceeded during query execution" error 在 Power BI(服务和桌面)中使用多个 google bigquery 服务帐户 - Use Multiple google bigquery service accounts in Power BI (Service & Desktop) Google BigQuery - 了解配额和限制:项目超出扫描的免费查询字节配额 - Google BigQuery - understanding quotas and limits: project exceeded quota for free query bytes scanned 如何删除由服务帐户创建的 Google 表格? - How can I delete a Google Sheets created by a service account? 传输服务数据差异:Google Ads (AdWords) <> BigQuery - Transfer Service Data Discrepancy: Google Ads (AdWords) <> BigQuery 将数据上传到 BigQuery 的 Google Cloud Function 的服务帐户角色 - Service account role for a Google Cloud Function that uploads data to BigQuery
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM