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달 전350회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인