ListMmsPartitions
列出MMA数据源内的分区
服务地址:
华东1 金融云
输入参数
只看必填
sourceId数据源ID
dbId库ID
dbName库名
updated过滤出元数据有更新的分区
请选择布尔值
tableName表名
value分区值
status迁移状态
0迁移状态
lastDdlTimeStartlastDdlTime最小值
lastDdlTimeEndlastDdlTime最大值
pageNum页码
pageSize分页大小
sorter.numRows按行数排序
sorter.size按数据量排序
sorter.lastDdlTime按lastDdlTime排序
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求语法

GET /api/v1/mms/datasources/{sourceId}/partitions HTTP/1.1

路径参数

字段名称字段详情
sourceIdinteger<int64>

数据源 ID

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:200018参考取值来源:
    UpdateMmsDataSource
    ListMmsDataSources
    CreateMmsDataSource

请求参数

字段名称字段详情
dbIdinteger<int64>

库 ID

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:2
dbNamestring

库名

示例值:d1参考取值来源:
    GetMmsDb
updatedboolean

过滤出元数据有更新的分区

示例值:false
tableNamestring

表名

示例值:t1参考取值来源:
    GetMmsTable
    ListMmsTables
valuestring

分区值

示例值:p1=1/p2=abc
statusarray<string>

迁移状态

lastDdlTimeStartstring

lastDdlTime 最小值

示例值:2024-12-17 15:44:42
lastDdlTimeEndstring

lastDdlTime 最大值

示例值:2024-12-17 19:44:42
pageNuminteger<int32>

页码

示例值:1
pageSizeinteger<int32>

分页大小

示例值:100
sorter.numRowsstring

按行数排序

示例值:desc枚举值:ascdesc
sorter.sizestring

按数据量排序

示例值:asc枚举值:ascdesc
sorter.lastDdlTimestring

按 lastDdlTime 排序

示例值:desc枚举值:ascdesc

返回参数

字段名称字段详情
requestIdstring

请求 ID

示例值:D9F872FD-5DDE-30A6-8C8A-1B8C6A81059F
dataobject

数据

变更历史
变更时间变更内容概要操作
2024-12-20
新增OpenAPI,列出数据源内的分区