Creating a Metadata Collection Task
After a metadata task is created, the task creates a connection with the default database to obtain the metadata of the instance. This topic describes how to create a metadata collection task.
Prerequisites
Access to cloud assets has been authorized. For details, see Allowing or Disallowing Access to Cloud Assets.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region or project.
- In the navigation tree on the left, click . Choose .
- In the navigation pane on the left, choose Asset Management > Metadata Task.
- 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. Available options are MySQL, TDSQL, PostgreSQL, DMDBMS, Kingbase, OpenGuass, DWS, Hive, and MRS_HIVE.
Database Instance
Select a database instance from the drop-down list box.
Add Configuration
Click to add a configuration item.
- Click Next. The configure subtasks page is displayed.
- Choose or to enable or disable Scan user tables.
- Choose or to enable or disable Scan systems tables, including information_schema.
- Choose or to enable or disable Scan column constraints to check whether the constraints contain primary keys or whether there are unique constraints.
- Choose or to enable or disable Scan views to check whether metadata contains views.
- Choose or to enable or disable Scan column comments.
- Click or to enable or disable Scan permissions.
- 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.
- Click Next. On the configuration confirmation page that is displayed, confirm the parameters.
- Click Finish. A new metadata collection task is created.
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