-
资源预校验 - 云数据库 GaussDB(for MySQL)
&modeResource, AvailabilityZoneMode: &availabilityZoneModeResource, NodeNum: &nodeNumResource, FlavorRef: &flavorRefResource, AvailabilityZone:
-
获取指定ID的任务信息 - 云数据库 GaussDB(for MySQL)
GetJobInstanceInfoDetail object 指定ID任务的实例信息。 entities Object 根据不同的任务,显示不同的内容。 fail_reason String 任务执行失败时的错误信息。 表6 GetJobInstanceInfoDetail 参数 参数类型 描述
-
创建数据库实例 - 云数据库 GaussDB(for MySQL)
prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 枚举值: prePaid postPaid period_type String 订购周期类型。 取值范围: month:包月。 year:包年。 说明:“charge_mode”为“prePaid”时生效,且为必选值。
-
查询租户基于企业项目的资源配额 - 云数据库 GaussDB(for MySQL)
ram_quota Integer 内存使用配额,单位为GB。 availability_instance_quota Integer 实例剩余配额。 availability_vcpus_quota Integer CPU核数剩余配额。 availability_ram_quota Integer
-
创建数据库实例 - 云数据库 GaussDB(for MySQL)
prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 枚举值: prePaid postPaid period_type String 订购周期类型。 取值范围: month:包月。 year:包年。 说明:“charge_mode”为“prePaid”时生效,且为必选值。
-
获取指定ID的任务信息 - 云数据库 GaussDB(for MySQL)
GetJobInstanceInfoDetail object 指定ID任务的实例信息。 entities Object 根据不同的任务,显示不同的内容。 fail_reason String 任务执行失败时的错误信息。 表6 GetJobInstanceInfoDetail 参数 参数类型 描述
-
查询租户基于企业项目的资源配额 - 云数据库 GaussDB(for MySQL)
内存使用配额,单位为GB,-1表示无限制。 availability_instance_quota Integer 实例剩余配额,-1表示无限制。 availability_vcpus_quota Integer CPU核数剩余配额,-1表示无限制。 availability_ram_quota
-
HTAP查询规格信息 - 云数据库 GaussDB(for MySQL)
ListHtapFlavorRequest{} availabilityZoneModeRequest:= "<availability_zone_mode>" request.AvailabilityZoneMode = &availabilityZoneModeRequest
-
GaussDB(for MySQL) timeout相关参数简介 - 云数据库 GaussDB(for MySQL)
否 每N秒写入并刷新日志。当innodb_flush_log_at_trx_commit值为2时,此设置有效。 innodb_lock_wait_timeout 否 该变量控制innodb事务获取行锁等待的最长时间(秒),如果超过该时间还未获取到锁资源,则会返回执行失败。 parallel_queue_timeout
-
获取参数模板详情 - 云数据库 GaussDB(for MySQL)
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询数据库账户 - 云数据库 GaussDB(for MySQL)
响应Body参数 参数 参数类型 描述 user_details Array of user_details objects 数据库账户信息。 total_count Integer 数据库账户数量。 表5 user_details 参数 参数类型 描述 user_name String
-
存在外键的表无法删除 - 云数据库 GaussDB(for MySQL)
1451 (23000): Cannot delete or update parent row: a foreign key constraint fails ………… 原因分析 这个表和其他表有外键关系,在MySQL中,设置了外键关联,会造成无法更新或删除数据,避免破坏外键的约束。
-
查询单个数据库代理信息 - 云数据库 GaussDB(for MySQL)
节点名称。 weight Integer 节点读写分离读权重。 available_zones Array of MysqlProxyAvailable objects 可用区信息。 表7 MysqlProxyAvailable 参数 参数类型 描述 code String 可用区编码。
-
创建手动备份 - 云数据库 GaussDB(for MySQL)
备份状态,取值: BUILDING:备份中。 COMPLETED:备份完成。 FAILED:备份失败。 AVAILABLE:备份可用。 枚举值: BUILDING COMPLETED FAILED AVAILABLE type String 备份类型,手动全量备份,取值为manual。
-
开启或关闭访问控制 - 云数据库 GaussDB(for MySQL)
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
开关SSL - 云数据库 GaussDB(for MySQL)
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
设置实例秒级监控 - 云数据库 GaussDB(for MySQL)
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
开启或者关闭SQL限流 - 云数据库 GaussDB(for MySQL)
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
-
查询代理实例访问控制 - 云数据库 GaussDB(for MySQL)
白名单或者黑名单 'white' | 'black' ip_group ProxyIpGroupDetail object 白名单或黑名单详细信息 表4 ProxyIpGroupDetail 参数 参数类型 描述 id String ipGroup的id name String ipGroup的名称
-
获取即时任务列表 - 云数据库 GaussDB(for MySQL)
响应Body参数 参数 参数类型 描述 jobs Array of TaskDetailInfo objects 任务详情。 total_count Integer 任务总数。 表5 TaskDetailInfo 参数 参数类型 描述 instance_id String 实例ID,严格匹配UUID规则。