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
demandé il y a 7 mois348 vues
2 réponses
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
MODÉRATEUR
philaws
répondu il y a 7 mois
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
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions