My serverless redshift has thousands of running queries. I think it is stuck. I’m not sure how to cancel all queries and start fresh. Is there a way to do it?
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
From CANCEL – Amazon Redshift:
See also:
Since STV_RECENTS is not available in serverless endpoint, you can get all the running queries with
, the session_id is the PID
Then you can cancel them with