gpt4 book ai didi

google-cloud-platform - 使用 Google Spanner 的导出/导入工具

转载 作者:行者123 更新时间:2023-12-02 04:28:26 30 4
gpt4 key购买 nike

我有几个关于 Google Spanner 导出/导入工具的问题。显然,该工具创建了一个数据流作业。

  1. 导入/导出数据流作业在从该工具成功运行后是否可以重新运行?如果是这样,它会使用当前时间戳吗?

  2. 如何安排 Spanner 数据库的每日备份(导出)?

  3. 如何在 GCP 平台内获得新增强功能的通知?我在网上浏览其他内容时注意到 GCP Spanner 的导出/导入工具已于 4 天前发布。

我仍在浏览有关数据流作业和模板等的文档。如有任何建议,我们将不胜感激。

谢谢

最佳答案

我的回答基于对 Spanner Export 工具的有限经验。

  1. 我还没有找到执行此操作的方法。 GCP 控制台中没有选项,但这并不意味着无法完成。

  2. 没有内置的调度功能。也许这可以通过 Google 的托管 Airflow 服务 Cloud Composer (https://console.cloud.google.com/composer) 来完成?我还没有尝试过这个,但这是下一步,因为我有类似的需求。

  3. 我已多次向 Google 提出此请求。我还没有得到回应。我最好的建议是在更新 gcloud CLI 时阅读更改日志。

最后 -- 导出工具存在一个突出的问题,如果您导出包含 0 行的表,该工具会导致失败。我已向谷歌提起诉讼(案例#16454353),他们确认了这个问题。具体来说:

After running into a similar error message during my reproduction of the issue, I drilled down into the error message and discovered that there is something odd with the file path for the Cloud Storage folder [1]. There seems to be an issue with the Java File class viewing ‘gs://’ as having a redundant ‘/’ and that causes the ‘No such file or directory’ error message.

Fortunately for us, there is an ongoing internal investigation on this issue, and it seems like there is a fix being worked on. I have indicated your interest in a fix as well, however, I do not have any ETAs or guarantees of when a working fix will be rolled out.

关于google-cloud-platform - 使用 Google Spanner 的导出/导入工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51430626/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com