日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

CreateRDSToClickhouseDb - 創(chuàng)建同步任務(wù)

調(diào)用CreateRDSToClickhouseDb接口創(chuàng)建云數(shù)據(jù)庫ClickHouse社區(qū)兼容版同步任務(wù)。

接口說明

說明 該接口僅適用于云數(shù)據(jù)庫 ClickHouse 的社區(qū)兼容版集群。

調(diào)試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權(quán)信息

當(dāng)前API暫無授權(quán)信息透出。

請求參數(shù)

名稱類型必填描述示例值
DbClusterIdstring

云數(shù)據(jù)庫 ClickHouse 的集群 ID。

cc-2ze5zeyl72188****
ClickhousePortlong

云數(shù)據(jù)庫 ClickHouse 的端口號。

8123
CkUserNamestring

云數(shù)據(jù)庫 ClickHouse 的數(shù)據(jù)庫賬號。

user1
CkPasswordstring

云數(shù)據(jù)庫 ClickHouse 的數(shù)據(jù)庫賬號密碼。

123456Aa
RdsIdstring

云數(shù)據(jù)庫 RDS MySQL 的實例 ID。

rm-8vb989qj9roh0****
RdsPortlong

云數(shù)據(jù)庫 RDS MySQL 的端口號。

3306
RdsVpcIdstring

云數(shù)據(jù)庫 RDS MySQL 的 VPC ID。

vpc-2zen93xryil99jsfy****
RdsUserNamestring

云數(shù)據(jù)庫 RDS MySQL 的數(shù)據(jù)庫賬號。

user2
RdsPasswordstring

云數(shù)據(jù)庫 RDS MySQL 的數(shù)據(jù)庫賬號密碼。

123456Rr
SkipUnsupportedboolean

是否忽略不支持同步的表結(jié)構(gòu),取值說明:

  • true:忽略。
  • false:不忽略。
true
LimitUpperlong

每秒最多同步的行數(shù)。

50000
SynDbTablesstring

同步的表。

[{"Schema":"recommend","Tables":["mr_platform_cpm","mr_platform_ecpm","p_monitor_record"]}]
RdsVpcUrlstring

云數(shù)據(jù)庫 RDS 的內(nèi)網(wǎng)地址。

rm-bp16t9h3999xb0a7****.mysql.rds.aliyuncs.com

返回參數(shù)

名稱類型描述示例值
object

返回結(jié)果。

RequestIdstring

請求 ID。

66676F54-1994-5DCF-993F-74536649628A
Statuslong

創(chuàng)建是否成功,取值說明:

  • 1:創(chuàng)建成功。
  • 0:創(chuàng)建失敗。同步任務(wù)中的表重復(fù)了,具體重復(fù)的表在 RepeatedDbs 參數(shù)中返回。
  • -1:創(chuàng)建失敗。創(chuàng)建失敗的原因在 ErrorMsg 參數(shù)中返回。
0
ErrorMsgstring

當(dāng) Status 參數(shù)返回為-1 時,返回創(chuàng)建失敗的原因。

ClickHouse exception, code: 49, host: 100.100.79.102, port: 14540; Code: 49, e.displayText() = DB::Exception: Logical error: there is no global context (version 20.8.17.25)n
RepeatedDbsarray

同步任務(wù)中重復(fù)的表。

string

當(dāng) Status 返回為 0 時,返回創(chuàng)建同步任務(wù)中重復(fù)的表。

["mr_platform_cpm","mr_platform_ecpm"]

示例

正常返回示例

JSON格式

{
  "RequestId": "66676F54-1994-5DCF-993F-74536649628A",
  "Status": 0,
  "ErrorMsg": "ClickHouse exception, code: 49, host: 100.100.79.102, port: 14540; Code: 49, e.displayText() = DB::Exception: Logical error: there is no global context (version 20.8.17.25)n",
  "RepeatedDbs": [
    "[\"mr_platform_cpm\",\"mr_platform_ecpm\"]"
  ]
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
404InvalidDBCluster.NotFoundThe DBClusterId provided does not exist in our records.您指定的 DBClusterId 不存在,請確認(rèn) DBClusterId 值是否正確。

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內(nèi)容概要操作
暫無變更歷史