云数据库 GaussDB-查询SQL限流规则:响应示例

时间:2023-11-01 16:20:15

响应示例

状态码: 200

Success.

{  "node_id" : "c01a5645eb2c4fb6a9373542f5366e50no07",  "sql_filter_rules" : [ {    "sql_type" : "SELECT",    "patterns" : [ {      "pattern" : "select~from~t1",      "max_concurrency" : 0    }, {      "pattern" : "select~from~t2~where~id",      "max_concurrency" : 10    } ]  }, {    "sql_type" : "UDPATE",    "patterns" : [ {      "pattern" : "update~t1",      "max_concurrency" : 0    }, {      "pattern" : "update~t2~where~id",      "max_concurrency" : 10    } ]  }, {    "sql_type" : "DELETE",    "patterns" : [ {      "pattern" : "delete~from",      "max_concurrency" : 0    } ]  } ]}
support.huaweicloud.com/api-gaussdb/ShowSqlFilterRule.html