The data catalog provides a unified interface to manage Hologres metadata. This topic describes how to create and manage data objects, such as tables and views, in the data catalog.
Go to the Hologres data catalog page
Go to the Workspaces page in the DataWorks console. In the top navigation bar, select a desired region. Find the desired workspace and choose in the Actions column.
Click the
icon in the navigation pane on the left. In the Data Catalog tree, click Hologres to open the Hologres data catalog management page.
Create a Hologres data catalog
On the Hologres data catalog management page, you can add existing Hologres instances to the data catalog as datasets.
Click the
icon to the right of the Hologres data catalog to open the Add Instance page.Add a Hologres instance in one of the following ways.
Using a DataWorks data source:
To add a Hologres data source created in the current workspace, find the data source on the DataWorks Data Source tab and click Add To Data Catalog in the Actions column.
You can also select multiple Hologres data sources on the DataWorks Data Source tab and click Batch Add below the list.
Using a Hologres instance:
To add a Hologres instance that you purchased in the Hologres console, find the instance on the Hologres-Instance tab and click Add in the Actions column.
You can also select multiple Hologres instances on the Hologres-Instance tab and click Batch Add below the list.
Manage a Hologres data catalog
You can add and manage data objects such as schemas, tables, and views in a Hologres data catalog.
Manage schemas
Manage tables
Managing External Tables
After you create a Hologres foreign table in a Hologres SQL node or the SQL window for Hologres in DataWorks, you can view its basic information by clicking the
icon on the left side of the Hologres data catalog and then clicking Foreign Tables. You can also click a specific table name to view details such as Fields and DDL.
Manage views
Manage materialized views
After you create a Hologres materialized view in a Hologres SQL node or the SQL window for Hologres in DataWorks, you can view its basic information by clicking the
icon on the left side of the Hologres data catalog and then clicking Materialized Views. You can also click a specific materialized view name to view more details, such as Fields and DDL.
Manage dynamic tables
After you create a Hologres dynamic table, you can click the
icon to the left of the Hologres data catalog, right-click the target dynamic table under Dynamic Tables, and then view or delete the dynamic table.
View and remove a Hologres data catalog
If you no longer need to use a Hologres data catalog, you can remove it from the catalog list.
View the data catalog.
After you add an instance to the Hologres data catalog, you can click the
icon on the left side of the catalog to view the instance.Hover the mouse pointer over the Hologres instance to view information such as the Instance Version and Instance Type.
You can detach a project.
If you no longer need to manage a Hologres data catalog, right-click the data catalog and select Detach Data Catalog.