Managing a Metadata Task
Create a metadata task. The data task creates a connection based on the database and pulls the database, data table, and data view of the instance. After the metadata task is executed, you can view data details on the data exploration page and add descriptions, labels, security levels, and classifications to the data, implementing hierarchical and classified management of data assets.
Authorizing database assets in the asset center will automatically enable metadata tasks. In the asset list on the asset management page, the Metadata Task column displays the metadata task status.
Prerequisites
DSC has been allowed to access the database assets. For details, see Allowing or Disallowing Access to Cloud Assets.
Data Sources That Support Metadata Task Creation
Metadata tasks can be created for the following data sources: MySQL, TDSQL, PostgreSQL, Dameng, Kingbase, GaussDB, DWS, Hive, and MRS_HIVE.
Creating a Metadata Scanning Task
- Log in to the DSC console.
- Click
in the upper left corner and select a region or project. - In the navigation pane on the left, choose .
- Click the Metadata Tasks tab and click Create in the upper left corner. On the Create Collection Task page that is displayed, configure data source. For details about the parameters, see Table 1.
- Click Next. The Configure subtasks page is displayed.
Enable or disable the following metadata scanning configuration items:
Scan user tables, Scan system tables (such as information_schema), Scan column constraints (including primary key uniqueness), Scan views (whether there are views), Scan permissions, and Extract sample data (which may contain sensitive information)
- Click Next. On the Configure Task Information page, configure task information. For details about the parameters, see Table 2.
Table 2 Parameters description Parameter
Description
Task Details
- Task: You can customize the name of a collection task. This parameter is mandatory. The value can contain only letters, digits, underscores (_), and hyphens (-), and cannot exceed 255 characters.
- 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.
- Start time: If you select As scheduled, click
to set the start time.
- Click Next. On the configuration confirmation page that is displayed, confirm the parameters.
- Click Finish. A new metadata collection task is created.
Related Operations
- Running a metadata task: In the Operation column of a metadata task, click Run.
- Editing a metadata task: In the Operation column of a metadata task, click Edit.
- Deleting a metadata task: In the Operation column of a metadata task, click Delete.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot