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.

profile picture
已提問 1 年前檢視次數 395 次
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
已回答 1 年前
  • 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.

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

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

回答問題指南