Tüm Ürünler
Search
Belge Merkezi

:ListMmsJobs

Son Güncelleme:Sep 30, 2026

Geçiş işlerini listeler.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

odps:ListMmsJobs

list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None

Request syntax

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

Path Parameters

Parameter

Type

Required

Description

Example

sourceId

integer

Yes

Veri kaynağı kimliği.

2000002

Request parameters

Parameter

Type

Required

Description

Example

name

string

No

Veri kaynağının adı.

demo

srcDbName

string

No

Kaynak veritabanının adı.

test_db_1

srcTableName

string

No

Kaynak tablonun adı.

test_table_1

dstDbName

string

No

Hedef MaxCompute projesi.

mms_test

dstTableName

string

No

Hedef MaxCompute tablosu.

test_table_1

status

string

No

Geçiş işinin durumu.

Valid values:

  • INIT :

    Geçiş başlamadı.

  • DONE :

    Geçiş başarılı.

  • DOING :

    Geçiş devam ediyor.

  • FAILED :

    Geçiş başarısız oldu.

DOING

stopped

integer

No

İşin durdurulup durdurulmadığını gösterir.

false

timerId

integer

No

Zamanlayıcı kimliği.

1

pageNum

integer

No

Döndürülecek sayfanın numarası.

1

pageSize

integer

No

Sayfa başına döndürülecek öğe sayısı.

Valid values:

  • asc :

    Ascending order.

  • desc :

    Descending order.

10

sorter.status

string

No

Duruma göre sıralama.

Valid values:

  • asc :

    Artan.

  • desc :

    Azalan.

desc

Response elements

Element

Type

Description

Example

object

Döndürülen veriler.

requestId

string

İstek kimliği.

1112E7C7-C65F-57A2-A7C7-3B178AA257B6

data

object

Döndürülen verilerin ayrıntıları.

total

integer

Toplam kayıt sayısı.

100

objectList

array<object>

Geçiş işlerinin listesi.

array<object>

Geçiş işi nesnesi.

id

integer

Geçiş işi kimliği.

18

name

string

Geçiş işinin adı.

migrate_db_1

sourceId

integer

Veri kaynağı kimliği.

2000015

dbId

integer

Kaynak veritabanı kimliği.

196

sourceName

string

Veri kaynağının adı.

demo

srcDbName

string

Kaynak veritabanının adı.

test_db_1

srcSchemaName

string

Kaynak şema adı. Bu, 3. katman ad alanındaki şemadır.

test_table_1

dstDbName

string

Hedef MaxCompute projesi.

mms_test

dstSchemaName

string

Hedef MaxCompute şeması.

test_table_1

status

string

Geçiş işinin durumu.

Valid values:

  • INIT :

    İş başlamadı.

  • DONE :

    İş tamamlandı.

  • DOING :

    İş çalışıyor.

  • FAILED :

    İş başarısız oldu.

DONE

type

string

Geçiş kapsamı. Geçerli değerler: Database, Tables ve Partitions.

Valid values:

  • Partitions :

    Birden fazla bölümü geçirir.

  • Database :

    Tek bir veritabanını geçirir.

  • Tables :

    Birden fazla tabloyu geçirir.

Tables

taskNum

integer

İşteki geçiş görevi sayısı.

10

stopped

boolean

Geçiş işinin durdurulup durdurulmadığını gösterir.

false

createTime

string

Geçiş işinin durdurulup durdurulmadığını gösterir.

2024-12-17 15:44:17

taskDone

integer

Tamamlanan geçiş görevi sayısı.

10

config

object

Geçiş işinin yapılandırması.

partitions

array

Tür Partitions olarak ayarlandığında, geçirilecek tabloların bölüm kimliklerini belirtin.

integer

Geçirilecek bir tablonun bölüm kimliği.

[123, 132]

tables

array

Tür Tables olarak ayarlandığında, geçirilecek tabloların adlarını belirtin.

string

Geçirilecek bir tablonun adı.

["student", "scores"]

taskType

string

Kullanımdan kaldırıldı. Geçerli değerler: MOCK, HIVE (hive udtf görevi), HIVE_DATAX (hive datax görevi), COPY_TASK (ODPS kopyalama görevi), ODPS_INSERT_OVERWRITE (ODPS basit ekleme ve üzerine yazma görevi), MC2MC_VERIFY, OSS, HIVE_OSS, HIVE_SPARK ve BIGQUERY.

BIGQUERY

tableBlackList

array

Tür Database olarak ayarlandığında, geçişten hariç tutulacak tabloları belirtin.

string

Tür Database olarak ayarlandığında, geçişten hariç tutulacak tablo.

["student", "scores"]

tableWhiteList

array

Tür Database olarak ayarlandığında, geçirilecek tabloları belirtin. tableWhiteList belirtmezseniz, belirtilen veritabanındaki tüm tablolar geçirilir.

string

Tür Database olarak ayarlandığında, geçirilecek tablo.

["student", "scores"]

partitionFilters

object

Bölüm filtresi ifadesi. Her tablo için bölüm filtresi ifadesini belirtin.

string

Bölüm filtresi ifadesi. Örnek: p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde'). Notlar:\n\np1, p2 ve p3 bölüm adlarıdır.\n\nBölüm değerleri dize veya sayıdır. Dizeler çift veya tek tırnak içine alınır.\n\nINT ve BIGINT türleri dışındaki bölüm sütunları için yalnızca dize değerlerine izin verilir.\n\nKarşılaştırma operatörleri şunları içerir: >, >=, =, <, <= ve <>.\n\nIN operatörü desteklenir.\n\nMantıksal operatörler AND ve OR'u içerir.\n\nKoşulları gruplamak için parantez kullanın.

{ "student": "p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')" }

schemaOnly

boolean

Kullanımdan kaldırıldı.

false

tableMapping

object

Kaynak tablo adlarından hedef tablo adlarına eşleme.

string

Bir kaynak tablo adından bir hedef tablo adına eşleme.

{'a': 'a1'}

increment

boolean

Artımlı geçişi etkinleştirin. Yalnızca yeni veya değiştirilmiş bölümler geçirilir. Değiştirilmiş bölümler yeniden geçirilir.

true

enableVerification

boolean

Doğrulamayı etkinleştirin. Mevcut yöntem, hem kaynak hem de hedef üzerinde SELECT COUNT çalıştırır ve satır sayılarını karşılaştırır.

true

tunnelQuota

string

Kullanımdan kaldırıldı.

Depcreated

columnMapping

object

Kaynak sütun adlarından hedef sütun adlarına eşleme.

string

Bir kaynak sütun adından bir hedef sütun adına eşleme.

{"c-1": "c_1"}

others

object

Diğer yapılandırma ayarları.

{"spark.executor.mem": "2g"}

eta

string

Geçişin tahmini tamamlanma süresi. Daha küçük bir eta değeri, geçiş işinin önceliğini artırır.

2025-05-06

pageNum

integer

Sayfa numarası.

1

pageSize

integer

Her sayfada döndürülen giriş sayısı.

10

Examples

Success response

JSON format

{
  "requestId": "1112E7C7-C65F-57A2-A7C7-3B178AA257B6",
  "data": {
    "total": 100,
    "objectList": [
      {
        "id": 18,
        "name": "migrate_db_1",
        "sourceId": 2000015,
        "dbId": 196,
        "sourceName": "demo",
        "srcDbName": "test_db_1",
        "srcSchemaName": "test_table_1",
        "dstDbName": "mms_test",
        "dstSchemaName": "test_table_1",
        "status": "DONE",
        "type": "Tables",
        "taskNum": 10,
        "stopped": false,
        "createTime": "2024-12-17 15:44:17\n",
        "taskDone": 10,
        "config": {
          "partitions": [
            0
          ],
          "tables": [
            "[\"student\", \"scores\"]"
          ],
          "taskType": "BIGQUERY",
          "tableBlackList": [
            "[\"student\", \"scores\"]"
          ],
          "tableWhiteList": [
            "[\"student\", \"scores\"]"
          ],
          "partitionFilters": {
            "key": "{\n\"student\": \"p1 >= '2022-03-04' and (p2 = 10 or p3 > 20) and p4 in ('abc', 'cde')\" \n}"
          },
          "schemaOnly": false,
          "tableMapping": {
            "key": "{'a': 'a1'}"
          },
          "increment": true,
          "enableVerification": true,
          "tunnelQuota": "Depcreated",
          "columnMapping": {
            "key": "{\"c-1\": \"c_1\"}"
          },
          "others": {
            "spark.executor.mem": "2g"
          }
        },
        "eta": "2025-05-06"
      }
    ],
    "pageNum": 1,
    "pageSize": 10
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.