检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
", "access_port":"5066", "core_count":"2", "ram_capacity":"4", "node_status":"RUNNING", "enterprise_project_id":"0", "project_id":"070c071d8e80d58c2f42c0121b10cf9f
project_id}/instances/{instance_id}/users/{username}/password { "password" : "xxxxxx" } 响应示例 状态码: 200 OK { "success": true, "instance_id": "e6b99563
`table3_` (`Column1`,`Column2`,`Column3`) VALUES(5,'00:00:55','e'); 父主题: 源端RDS for MySQL准备
instance_id}/action/read-write-strategy { "read_weight" : { "395298ae6fb9496d95939ed556474983in01" : 60, "38ef52c365a14b7caeb7333137900e96in01
offset={offset}&limit={limit} 响应示例 状态码: 200 OK { "nodes" : [ { "port" : "5066", "status" : "normal", "node_id" : "4a2b97b7f5e3462c9c78aae93b46ed83no09
name" : "mytestdb170", "shard_mode" : "cluster", "shard_number" : 8, "shard_unit" : 8, "used_rds" : [ { "id" : "c6f68fed9e74478c8679479a07d7d568in01
"shard_mode" : "cluster", "shard_number" : 8, "shard_unit" : 8, "used_rds" : [ { "id" : "f296c394f13f48449d715bf99af07e59in01
14T07:46:22+0000", "updated" : "2021-12-14T10:11:22+0000", "available_zone" : "az1", "vpc_id" : "1d9441c5-1a4b-431d-9edb-bf3564a83e74
正常响应示例 { "nodeList" : null, "needRestart" : "false", "jobId" : "9fe84a77-6a6b-4b03-9a3e-db910a548657", "configId" : null, "configName
合理制定分片策略 当数据表之间存在E-R关系时,可以制定相同的分片规则,各数据表分别选择有关联关系的字段作为拆分键,这样各表中有关联关系的数据将会存储在一个分片上,避免数据跨分片JOIN操作。如客户表、订单表与订单明细表,在创建拆分表时,建议都选取客户ID作为拆分键。
e9993fc787d94b6c886cbaa340f9c0f4 X-Auth-Token 用户Token。 请求响应成功后在响应消息头中包含的“X-Subject-Token”的值即为Token值。 否 使用Token认证时该字段必选。
INSERT INTO t1(a, b) SELECT * FROM(SELECT c, d FROM t2 UNION SELECT e, f FROM t3) AS dtest ON DUPLICATE KEY UPDATE b = b + c; 示例ON DUPLICATE