将数据源与 Dataplex Catalog 集成

Dataplex 可以导入并保持最新状态 来自 Google Cloud 数据源的 Dataplex Catalog 元数据。

注入元数据后,Dataplex 会执行以下操作:

准备工作

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Google Cloud project.

  4. Enable the Dataplex API.

    Enable the API

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  6. Make sure that billing is enabled for your Google Cloud project.

  7. Enable the Dataplex API.

    Enable the API

集成 Cloud SQL

启用 Dataplex Catalog 集成后, Cloud SQL 实例 Dataplex Catalog 自动从 Cloud SQL 资源中检索元数据,包括 实例、数据库、表、列和视图。

Dataplex Catalog 只会从以下位置检索元数据: Cloud SQL 主实例,而不是读取副本。

如需了解详情,请参阅 使用 Dataplex Catalog 管理您的 Cloud SQL 资源

后续步骤