Help with replication filters - RDS Mysql

0

Hello,

We are trying setup a read replica with specific usecase. For that usecase, we need to replicate the subset of database tables and not all tables. We are trying to achive this selective table replication using replication filter.

As per documentation, these parameters should be available in parameter group configuration file. But we are unable to find these parameters.

An error occurred (InvalidParameterValue) when calling the ModifyDBParameterGroup operation: Could not find parameter with name: replicate-do-table

AWS Documentation : https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_MySQL.Replication.ReadReplicas.html#USER_MySQL.Replication.ReadReplicas.ReplicationFilters.Configuring

Requesting your assistance regarding same. Thanks

Mayank
已提問 7 個月前檢視次數 355 次
1 個回答
1
已接受的答案

Hello.

I checked the parameters from the management console, and the parameters exist.
Try changing it from the management console.
a

We also confirmed that changes can be made using the AWS CLI.
Make sure the parameter group you are specifying is for MySQL.

aws rds modify-db-parameter-group \
  --db-parameter-group-name test-mysql \
  --parameters "ParameterName=replicate-do-table,ParameterValue='mydb1.table1,mydb1.table2',ApplyMethod=immediate"
profile picture
專家
已回答 7 個月前
profile pictureAWS
專家
已審閱 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南