Allow choosing a different parameter group (and option group) in the RDS read replica creation UI page

0

Currently, the Create RDS read replica screen doesn't allow choosing a custom parameter group (and option group) on creation so a new read replica with a smaller instance class ends up getting stuck in "incompatible-parameters" mode because of high values of buffer related parameters in the original primary instance's parameter group, so I have to create the new replica first with the original instance class of the primary instance, change the parameter group and then resize the replica to a smaller instance class.

Also, replication errors can occur while the primary parameter group is applied on the read replica because of MEMORY engine tables which have out of sync rows between the instances, which were meant to be excluded from replication using the read replica custom parameter group.

1개 답변
0

You can specify a parameter group using the api create-db-instance-read-replica

also, for memory parameters you can use formulas that are based on the size of the instance, this allows a common parameter group to work for any instance size:

            {
                "ParameterName": "innodb_buffer_pool_size",
                "ParameterValue": "{DBInstanceClassMemory*3/4}",
                "Description": "The size in bytes of the memory buffer innodb uses to cache data and indexes of its tables",
                "Source": "system",
                "ApplyType": "static",
                "DataType": "integer",
                "AllowedValues": "335544320-9223372036854775807",
                "IsModifiable": true
            },
AWS
중재자
philaws
답변함 일 년 전
  • I think that the UI should provide all the options the API provides, especially attributes such as parameter group and option group which are already present on the UI when creating a standalone RDS instance.

    And my innodb_buffer_pool_size parameter is already based on the formula you've posted, it's the session memory buffers which I believe are causing the issue.

    Nevertheless, I have other parameters which I use to prevent replication sync issues as I've mentioned and I need on creation, not post-creation.

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

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

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

관련 콘텐츠