云数据库 RDS-修改指定实例的参数:请求示例

时间:2024-12-20 17:08:11

请求示例

  • 修改MySQ L实例 的参数值。
    PUT https://{endpoint}/v3.1/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/configurations
    {
      "values" : { 
        "div_precision_increment": "6",
        "connect_timeout": "20",
        "binlog_checksum" : "CRC32",
        "innodb_purge_threads" : "4"
      } 
    }
  • 修改PostgreSQL实例的参数值。
    {
      "values" : { 
        "autovacuum" : "on",
        "bytea_output" : "escape",
        "client_encoding" : "UTF8",
        "cpu_tuple_cost" : "0.01"
      } 
    }
  • 修改SQL Server实例的参数值。
    {
       "values":{
         "max server memory (MB)":"26317",
         "max degree of parallelism":"4"
       }
    }
support.huaweicloud.com/api-rds/api_rds_09_0309.html