云数据库 GAUSSDB-查询SQL限流任务详情:响应示例

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

响应示例

  • 限流类型是SQL_ID的限流任务。
    {
        "task_name": "123",
        "limit_type": "SQL_ID",
        "parallel_size": 0,
        "start_time": "2024-08-19T07:12:31Z",
        "end_time": "2024-09-30T07:10:59Z",
        "limit_count": 1,
        "task_running_time": 16258,
        "rule_name": "bca08a79-8557-42c2-ab73-09a14d178c57",
        "limit_task_rule_info_list": [
            {
                "node_id": "e37a7df4ec694a3cbfeae1aee583d70fno14",
                "rule_id": "2",
                "status": "EXCUTING"
            }
        ]
    }
  • 限流类型是SQL_TYPE的限流任务。
    {
        "task_name": "123",
        "limit_type": "SQL_TYPE",
        "parallel_size": 0,
        "start_time": "2024-08-20T06:54:42Z",
        "end_time": "2024-09-09T06:53:43Z",
        "limit_count": 0,
        "task_running_time": 0,
        "rule_name": "476faedc-0583-4327-9f48-91fa1703e910",
        "limit_task_rule_info_list": [
            {
                "node_id": "e37a7df4ec694a3cbfeae1aee583d70fno14",
                "rule_id": "1",
                "status": "WAIT_EXCUTE"
            }
        ]
    }
  • 限流类型是SESSION_ACTIVE_MAX_COUNT的限流任务。
    {
        "task_name": "89",
        "limit_type": "SESSION_ACTIVE_MAX_COUNT",
        "parallel_size": 0,
        "limit_count": 0,
        "task_running_time": 16283,
        "memory_utilization": 1,
        "cpu_utilization": 0,
        "rule_name": "37b6232c-58ea-4d62-a5b5-54fc215c2115",
        "limit_task_rule_info_list": [
            {
                "node_id": "e37a7df4ec694a3cbfeae1aee583d70fno14",
                "rule_id": "3",
                "status": "EXCUTING"
            }
        ]
    }
support.huaweicloud.com/api-gaussdb/gaussdb_api_387.html