System Action

Request

  1. GET /rest/v1/system

Description

System Action 用于 Doris 内置的 Proc 系统的相关信息。

Path parameters

Query parameters

  • path

    可选参数,指定 proc 的 path

Request body

Response

/dbs/10003/10054/partitions/10053/10055 为例:

  1. {
  2. "msg": "success",
  3. "code": 0,
  4. "data": {
  5. "href_columns": ["TabletId", "MetaUrl", "CompactionStatus"],
  6. "column_names": ["TabletId", "ReplicaId", "BackendId", "SchemaHash", "Version", "VersionHash", "LstSuccessVersion", "LstSuccessVersionHash", "LstFailedVersion", "LstFailedVersionHash", "LstFailedTime", "DataSize", "RowCount", "State", "LstConsistencyCheckTime", "CheckVersion", "CheckVersionHash", "VersionCount", "PathHash", "MetaUrl", "CompactionStatus"],
  7. "rows": [{
  8. "SchemaHash": "1294206575",
  9. "LstFailedTime": "\\N",
  10. "LstFailedVersion": "-1",
  11. "MetaUrl": "URL",
  12. "__hrefPaths": ["http://192.168.100.100:8030/rest/v1/system?path=/dbs/10003/10054/partitions/10053/10055/10056", "http://192.168.100.100:8043/api/meta/header/10056/1294206575", "http://192.168.100.100:8043/api/compaction/show?tablet_id=10056&schema_hash=1294206575"],
  13. "CheckVersionHash": "-1",
  14. "ReplicaId": "10057",
  15. "VersionHash": "4611804212003004639",
  16. "LstConsistencyCheckTime": "\\N",
  17. "LstSuccessVersionHash": "4611804212003004639",
  18. "CheckVersion": "-1",
  19. "Version": "6",
  20. "VersionCount": "2",
  21. "State": "NORMAL",
  22. "BackendId": "10032",
  23. "DataSize": "776",
  24. "LstFailedVersionHash": "0",
  25. "LstSuccessVersion": "6",
  26. "CompactionStatus": "URL",
  27. "TabletId": "10056",
  28. "PathHash": "-3259732870068082628",
  29. "RowCount": "21"
  30. }]
  31. },
  32. "count": 1
  33. }

其中 data 部分的 column_names 是表头信息,href_columns 表示表中的哪些列是超链接列。rows 数组中的每个元素表示一行。其中 __hrefPaths 不是表数据,而是超链接列的链接URL,和 href_columns 中的列一一对应。