mysql - 参数组更改未反射(reflect)在 Aurora Serverless 数据库集群上

标签 mysql amazon-web-services amazon-aurora

我正在尝试将我的 Aurora mysql 5.6.10(启用数据 API)实例中的 binlog_format 参数更新为 ROW 但我无法更改它.

我已经相应地更新了我的自定义参数组,但是当我运行 show variables like 'binlog_format' 时,这些更改不会反射(reflect)在集群上.

  • 更改参数组后,集群立即进入 Modifying状态,但完成后参数尚未更新。
  • 我似乎无法在 AWS UI 上找到重启或停止集群的选项。
  • 使用 CLI,我在尝试停止集群时遇到此错误:An error occurred (InvalidDBClusterStateFault) when calling the StopDBCluster operation: Stop-db-cluster is not supported for these configurations .
  • 尝试更改容量设置,但没有任何效果。

我还缺少其他方法吗?

最佳答案

您必须通过运行以下命令来检查无服务器引擎是否支持特定的属性修改:

aws rds describe-db-cluster-parameters --db-cluster-parameter-group-name <param-group-name>

如果您阅读上述语句的输出,它会为 SupportedEngineModes 显示“已配置”:

       {
            "ParameterName": "binlog_format",
            "ParameterValue": "OFF",
            "Description": "Binary logging format for replication",
            "Source": "system",
            "ApplyType": "static",
            "DataType": "string",
            "AllowedValues": "ROW,STATEMENT,MIXED,OFF",
            "IsModifiable": true,
            "ApplyMethod": "pending-reboot",
            "SupportedEngineModes": [
                "provisioned"
            ]
        }

对于可修改的参数,理想状态是这样的:

       {
            "ParameterName": "character_set_server",
            "Description": "The server's default character set.",
            "Source": "engine-default",
            "ApplyType": "dynamic",
            "DataType": "string",
            "AllowedValues": "big5,dec8,cp850,hp8,koi8r,latin1,latin2,swe7,ascii,ujis,sjis,hebrew,tis620,euckr,koi8u,gb2312,greek,cp1250,gbk,latin5,armscii8,utf8,ucs2,cp866,keybcs2,macce,macroman,cp852,latin7,utf8mb4,cp1251,utf16,cp1256,cp1257,utf32,binary,geostd8,cp932,eucjpms",
            "IsModifiable": true,
            "ApplyMethod": "pending-reboot",
            "SupportedEngineModes": [
                "provisioned",
                "serverless"
            ]
        },

关于mysql - 参数组更改未反射(reflect)在 Aurora Serverless 数据库集群上,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57790826/

相关文章:

performance - 如何使用 Elastic Beanstalk 提高 SSL 性能

amazon-web-services - 使用 outfile 将数据从 Amazon Aurora 导出到 S3?

mysql - mysql 中如何将多列中的值合并为一列?

amazon-web-services - API 网关缓存与 CloudFront

PHP/MYSQL 安全问题(在线订单、管理员门户)

amazon-web-services - 限制 AWS 用户只允许他们将 EC2 实例启动到特定子网

mysql - 使用 Datadog 监控 Aurora 未显示查询量的变化

mysql - 为什么我在我的 AWS Aurora RDS 日志中看到 "server_audit: logging was flushed."?

PHP-需要第一个表中的前3个json数据和第二个表中的所有数据

mysql - Ruby on Rails mysql 搜索