Can we set the query timeout option in the AWS Postgres instance?
I know we can do it locally in the configuration file if we have a local setup but not sure about AWS RDS.
Any help would be appreciated because due to the above issue CPU utilization is increasing.
You can achieve it by creating Parameter groups in AWS RDS
Please follow below steps.
AWS Console -> Amazon RDSParameter Group to create parameter group

Postgres,provide group name and click on create.Parameter Group and search the parameter as statement_timeout

Edit Parameter button and set the value inside the Values box

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With