Amazon Redshift

0

Hi Amazon Redshift cluster is erroring out "ERROR: Query (2842874) cancelled on user's request". We are using Redshift query editor v2. Is there any script or query we can check or logs which will tell us why this is happening. If there is any setting which we need to change please let know, Thanks in advance.

已提问 2 年前340 查看次数
2 回答
3

Please note that the query in Amazon Redshift can abort for the following reasons:

  1. Due to Amazon Redshift workload management (WLM) query monitoring rules implemented on cluster.
    
  2. Timeout settings
    
  3. ABORT, CANCEL, or TERMINATE requests by user/ admin.
    
  4. Network issues.
    
  5. Cluster maintenance upgrades.
    
  6. Internal processing errors.
    
  7. ASSERT errors.
    

You can prevent the query from being aborted, by some of the approaches mentioned below

  1. Increase your timeout parameter.
    
  2. Update your WLM QMR rules [ If you have found out which rule is aborting your query]
    
  3. Schedule long-running operations outside of maintenance windows.
    
profile pictureAWS
专家
已回答 2 年前
0

This could be anywhere from user actually cancelling query to firewall rules disconnecting web sockets. Best recourse is to log a support ticket and have it investigated.

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则