Updated on 2023-12-05 GMT+08:00

Creating a Metadata Collection Task

This topic describes how to create a metadata collection task.

Prerequisites

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. In the navigation pane on the left, click and choose Security & Compliance > Data Security Center.
  4. In the navigation pane on the left, choose Asset Management > Metadata Task.
  5. On the Metadata Collection Task page, click Create. Parameter description describes the parameters required for data source configuration.

    Table 1 Parameter description

    Parameter

    Description

    Data Source

    Select a data source. This parameter can be set to MySQL, PostgreSQL, DMDBMS, KingBase, OpenGuass, DWS, Hive, MRS_HIVE, or TDSQL.

    Database Instance

    Select a supported database instance.

  6. Click Next. The configure subtasks page is displayed.

    • Click or to enable or disable Scan user tables.
    • Click or to enable or disable Scan system tables.
    • Click or to enable or disable Scan column constraints.
    • Click or to enable or disable Scan views.
    • Click or to enable or disable Scan column comments.
    • Click or to enable or disable Scan permissions.

  7. Click Next to configure the task information. Parameter description describes the parameters required for configuring task information.

    Table 2 Parameters description

    Parameter

    Description

    Task Details

    • Task: You can customize the name of a collection task. This parameter is mandatory.
    • Task Description: Task description. This parameter is optional.

    Task Settings

    Click or to enable or disable Delete disconnected metadata.

    When to Execute

    • Identification Period: You can select Once, Daily, Weekly, or Monthly.
    • When to Execute: You can select Now or As scheduled.

  8. Click Next. On the configuration confirmation page that is displayed, confirm the parameters.
  9. Click Finish. A new metadata collection task is created.