Redshift UNLOAD语句在19分钟后被取消
问题描述:
我试图从EC2实例使用此实用程序(https://github.com/awslabs/amazon-redshift-utils/blob/master/src/UnloadCopyUtility/redshift-unload-copy.py)卸载到s3大型(6GB)数据集。Redshift UNLOAD语句在19分钟后被取消
但是卸载的语句获取19分钟后,取消了60秒(我曾尝试已经2次)
pg.OperationalError: ERROR: Query (712244) cancelled on user's request
我在红移配置检查statement_timeout PARAM并将它设置为0。任何人都可以告诉我20分钟后停止了什么?
答
set_timeout_stmt = "set statement_timeout = 1200000"
只是将其更改为任何你喜欢的。
他们为什么偷偷地把东西放在那里:/ – Johny19