Redshift Cluster Maintanence

0

Hi.. in case of using redshift multi AZ cluster, Is it possible to run a scheduled query on cluster maintanence time ?

Edwin
asked 24 days ago95 views
1 Answer
3

Hello,

could you please try this solution it will be helpful for you.

first identify the maintenance window for your Redshift cluster. This can be found in the AWS Management Console under Redshift -Clusters - [Your Cluster] Maintenance. Schedule your queries to run outside this window using Amazon Redshift Query Scheduling. For instance, if the maintenance window is from 1 AM to 3 AM, set your queries to run at 4 AM. For more control and flexibility, you can use AWS Lambda and CloudWatch Events. Create a Lambda function that checks the cluster's status and runs the query only if the cluster is available. Set up a CloudWatch Event to trigger this function at your desired time. This approach ensures that your queries are not affected by maintenance activities, maintaining their reliability and performance.

please look the AWS Document link if you got more information.

https://docs.aws.amazon.com/redshift/latest/mgmt/rs-cluster-maintenance.html

https://docs.aws.amazon.com/redshift/latest/mgmt/managing-cluster-multi-az.html

answered 24 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions