检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
连接池设置 使用连接池时,需要设置连接探活机制,确保部分连接超时断开时不会被继续使用。 jdbc连接池和Druid连接池设置: testOnBorrow=true, HikariCP连接池设置: connectionTestQuery=”SELECT 1” 父主题: TaurusDB读写分离最佳实践
datastorebody, ParameterValues: listParameterValuesbody, Description: &descriptionCreateConfigurationRequestBody, Name: "myparameter", }
故障倒换优先级的取值范围为1~16,数字越小,优先级越大,即故障倒换时,主节点会优先倒换到优先级高的只读节点上,优先级相同的只读节点选为主节点的概率相同。最多支持9个只读节点设置故障倒换优先级,超过9个的只读节点优先级默认为-1,表示不会参与倒换。可通过修改节点的故障倒换优先级来进行调整。 is_auto_pay 否
故障倒换优先级的取值范围为1~16,数字越小,优先级越大,即故障倒换时,主节点会优先倒换到优先级高的只读节点上,优先级相同的只读节点选为主节点的概率相同。最多支持9个只读节点设置故障倒换优先级,超过9个的只读节点优先级默认为-1,表示不会参与倒换。可通过修改节点的故障倒换优先级来进行调整。 is_auto_pay 否
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
private_write_ips Array of strings 实例的写内网IP地址。 private_dns_names Array of strings 实例内网域名列表。实例创建成功后,需要手动申请内网域名,否则查询内网域名为空。 public_ips String 实例的公网IP地址。 db_user_name
以创建自定义参数模板,应用到实例上,实现批量管理实例参数。 参数模板分为系统参数模板和自定义参数模板两类。 注意事项 每个用户最多可以创建100个参数模板。 TaurusDB引擎共享参数模板配额。 操作步骤 登录管理控制台。 单击管理控制台左上角的,选择区域和项目。 在页面左上角单击,选择“数据库
ConfigurationSummary 参数 参数类型 描述 id String 参数组ID。 name String 参数组名称。 description String 参数组描述。 datastore_version_name String 引擎版本。 datastore_name
String 执行语法。 type String 语句类型。 start_time String 发生时间,UTC时间 client_ip String IP地址。 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg
原因分析 查看内核日志error.log,确认是否有拒绝连接的日志。 查看root权限,发现有两个root账号,其中一个root限制host必须是IP必须是192开头。 解决方案 联系华为云客服协助删除多余的root账号。 父主题: 连接类
原因分析 查看内核日志error.log,确认是否有拒绝连接的日志。 查看root权限,发现有两个root账号,其中一个root限制host必须是IP必须是192开头。 解决方案 联系华为云客服协助删除多余的root账号。 父主题: 连接类
ConfigurationSummary 参数 参数类型 描述 id String 参数组ID。 name String 参数组名称。 description String 参数组描述。 datastore_version_name String 引擎版本。 datastore_name
说明 实例节点规格配置 存储类型:默认与当前HTAP实例的配置保持一致,不支持修改。 性能规格:默认与当前HTAP实例的配置保持一致,不支持修改。 FE节点配置 FE节点规格:默认与当前HTAP实例的配置保持一致,不支持修改。 FE节点存储:默认与当前HTAP实例的配置保持一致,不支持修改。
开启或修改跨区域备份策略 登录管理控制台。 单击管理控制台左上角的,选择区域和项目。 在页面左上角单击,选择“数据库 > 云数据库 GaussDB(for MySQL)”。 在“实例管理”页面,选择目标实例,单击实例名称。 在左侧导航栏,单击“备份恢复”,单击“跨区域备份策略”。 图1 设置跨区域备份策略
String 执行语法。 type String 语句类型。 start_time String 发生时间,UTC时间 client_ip String IP地址。 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
当前时间指UTC时间。 period String 备份周期配置。自动备份将在每星期指定的天进行。 取值范围:格式为逗号隔开的数字,数字加1表示自动备份的星期。 取值示例:1,2,3,4,5,6,7则表示备份周期配置为星期二、星期三、星期四、星期五、星期六、星期日、星期一。 r