This topic describes how to create a crawler to collect metadata from an AnalyticDB for MySQL V3.0 data source. You can view the collected metadata on the Data Map page.

Prerequisites

An AnalyticDB for MySQL instance is associated with your workspace as a compute engine instance. For more information, see Create and manage workspaces.

Procedure

  1. Go to the Data Discovery page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. After you select the region in which the workspace that you want to manage resides, find the workspace and click Data Analytics in the Actions column.
    4. On the DataStudio page, click the More icon icon in the upper-left corner and choose All Products > Data governance > DataMap.
    5. In the top navigation bar, click Data Discovery.
  2. In the left-side navigation pane, click AnalyticDB for MySQL 3.0.
  3. On the AnalyticDB for MySQL 3.0Metadata Crawler page, click Create Crawler.
  4. In the Create Crawler dialog box, set the parameters in each step.
    1. In the Basic Information step, set the parameters as required.
      Basic Information step
      ParameterDescription
      Crawler NameRequired. The name of the crawler. You must set a unique name.
      Crawler DescriptionThe description of the crawler.
      WorkspaceThe workspace of the data source from which you want to collect metadata.
      Data Source TypeThe type of the data source from which you want to collect metadata. The default value is AnalyticDB for MySQL 3.0 and cannot be changed.
    2. Click Next.
    3. In the Select Collection Object step, select a data source from the Data Source drop-down list.
      If no data source is available, click Create to go to the Data Source page and add an AnalyticDB for MySQL V3.0 data source. For more information, see Add an AnalyticDB for MySQL 3.0 data source.
    4. Click Start Testing next to Test Crawler Connectivity.
    5. If the message The connectivity test is successful appears, click Next.
    6. In the Configure Execution Plan step, configure an execution plan.
      Valid values of the Execution Plan parameter are On-demand Execution, Monthly, Weekly, Daily, and Hourly.
    7. Click Next.
    8. In the Confirm Information step, check the information that you specified and click Confirm.
  5. On the AnalyticDB for MySQL 3.0Metadata Crawler page, find the created crawler and click Run in the Actions column.