云数据库 GAUSSDB-修改SQL限流任务:响应示例

时间:2024-11-05 09:15:23

响应示例

  • 修改限流类型是SQL_ID的限流任务。
    {
        "task_id": "bca08a79-8557-42c2-ab73-09a14d178c57",
        "task_name": "SOLIdLimit",
        "parallel_size": 10,
        "start_time": "2024-08-19T22:54:42Z",
        "end_time": "2024-08-19T23:54:42Z",
        "job_id": "d44bbbc3-4465-4079-ac71-d8e7ab0643a4"
    }
  • 修改限流类型是SQL_TYPE的限流任务。
    {
        "task_id": "ef8575c7-0133-43b4-8ab2-b950b9a6daaf",
        "databases": "gaussdb_test3",
        "task_name": "KeywordLimit",
        "key_words": "type,version",
        "parallel_size": 10,
        "start_time": "2024-08-19T22:54:42Z",
        "end_time": "2024-08-19T23:54:42Z",
        "job_id": "40e2e10f-6f4c-4883-9db7-5422f42187cc"
    }
  • 修改限流类型是SESSION_ACTIVE_MAX_COUNT的限流任务。
    {
        "task_id": "37b6232c-58ea-4d62-a5b5-54fc215c2115",
        "task_name": "ThresholdLimit",
        "parallel_size": 10,
        "cpu_utilization": 20,
        "memory_utilization": 20,
        "job_id": "0ec7109d-bc8f-41f6-9a78-a70f966739fc"
    }
support.huaweicloud.com/api-gaussdb/gaussdb_api_386.html