gpt4 book ai didi

python - 启动、停止和继续 Google App Engine BulkLoader

转载 作者:行者123 更新时间:2023-11-28 23:06:41 24 4
gpt4 key购买 nike

我有相当多的数据要上传到 Google App Engine。我想使用 bulkloader 来帮助将其放入其中。但是,我的数据太多,通常在完成之前用完我的 CPU 配额。此外,任何其他问题(如互联网连接不良或随机计算机问题)都可能会停止该过程。

有什么方法可以从您中断的地方继续批量加载吗?或者只批量加载尚未写入数据存储的数据?

我在文档中找不到任何内容,所以我认为任何答案都将包括深入研究代码。

最佳答案

好吧,它在文档中:

If the transfer is interrupted, you can resume the transfer from where it left off using the --db_filename=... argument. The value is the name of the progress file created by the tool, which is either a name you provided with the --db_filename argument when you started the transfer, or a default name that includes a timestamp. This assumes you have sqlite3 installed, and did not disable the progress file with --db_filename=skip.

http://code.google.com/appengine/docs/python/tools/uploadingdata.html

(之前用过,感觉应该有)

关于python - 启动、停止和继续 Google App Engine BulkLoader,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4675593/

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