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.

demandé il y a 2 ans340 vues
2 réponses
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
EXPERT
répondu il y a 2 ans
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions