AWS Blue/Green Postgres - default_transaction_read_only not applying for Green deployment

0

Hello community, After we've setting up green deployment we noticed that parameter "default_transaction_read_only" in the DB parameter groups didn't work properly (we have disabled this parameter, but in the DB we still seeing an error, and cannot use write operations) any suggestions?

Enter image description here

Enter image description here

Sergii
已提问 7 个月前348 查看次数
2 回答
0

On a green instance the value is set to read_only so that you do not make unintended changes to green that would break logical replication to green. You can however change the value in a session variable if you need to make writes to green.

https://jkatz05.com/post/postgres/postgres-read-only/

AWS
审核人员
philaws
已回答 7 个月前
0

You prepare a new parameter group and set defalut_transaction_read_only to 0 for that parameter group. You can then apply the parameter group to the Green environment and restart it to maintain the database on the Green side. Alter System is not available on Aurora.

profile picture
asahide
已回答 3 个月前

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

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

回答问题的准则