Manage the metadata inventory
The metadata inventory lists collected metadata, allowing you to query data from different views. This topic describes how to manage the metadata inventory.
Permissions
Super administrators, system administrators, and users with a custom global role that includes the metadata inventory-View permission can manage the metadata inventory and view metadata details.
Limitations
Version 1.0 of PolarDB-X (formerly DRDS) data sources does not support collecting view information.
Manage the metadata inventory list
In the top navigation bar of the Dataphin homepage, choose Governance > Metadata.
In the left-side navigation pane, choose Metadata Management > Metadata Inventory to go to the Metadata Inventory page.
On the Metadata Inventory page, you can click the Data Table tab or the Dashboard tab to view metadata for different objects. Specifically, the Dashboard tab displays metadata for a specified application system. You can switch between different application systems in the upper-right corner of the page to view the corresponding data.
Data Table: You can view metadata from the All Metadata, data source, and source system views.
When you select All Metadata, the list displays the name, description, collection data source and data source code, source system, metadata type, latest version, collection task, and update frequency for each metadata asset.
When you select a specific data source, the list displays the name, Database/Schema/Workspace, data source type, data source, description, metadata type, and latest version. You can click View Details in the list header or next to the data source to view information about the corresponding collection task, including the data source name, data source code, collection task, update frequency, and source system.
When you select a specific source system, the list displays the name, collection data source and data source code, metadata type, latest version, collection task, and update frequency. You can click View Details in the list header or next to the source system to view its configuration information, including the source system name, system type, description, operations personnel, and system contact.
Dashboard: This tab is available only after dashboard metadata has been collected. You can view metadata from the All Dashboards and Workspace/Directory views.
(Optional) The directory tree on the left provides different filtering methods depending on the selected object.
Data Table object: You can switch between different views to browse metadata or use the search and filter options in the upper-right corner.
Data source view: Browse metadata by the source data source configured for collection. This view displays a directory tree of data source types and data sources. When you expand a data source type and select a directory, the list on the right automatically filters to show metadata belonging to that directory.
Source system view: Browse metadata by the source system to which the data belongs. When you select a source system, the list on the right automatically filters to show metadata belonging to that system.
Search and Filter: You can perform a fuzzy search by metadata name or description, quickly filter for Deleted Data, or filter by collection data source, DB/Schema, source system, metadata type, first collection time, or latest collection time. You can also filter from different views.
In the data source view, you can filter by DB/Schema and metadata type.
In the source system view, you can filter by collection data source, DB/Schema, and metadata type.
All Metadata: Click All Metadata to view all metadata assets.
Dashboard object: You can browse metadata from the All Dashboards or workspace view, or use the search and filter options in the upper-right corner.
Workspace view: Browse metadata by the source application system configured for collection. When you select a workspace, the list on the right automatically filters to show dashboards belonging to that workspace.
All Dashboards: Click All Dashboards to view all metadata for the specified application system.
Search and Filter: You can perform a fuzzy search by dashboard name or description, or filter by Workspace/Directory (this filter is available only when All Dashboards is selected) or source dataset.
You can perform the following operations on a target metadata object.
Actions
Description
View metadata
This operation is available only for data table asset objects. Click the name of a collection data source to switch to the data source view and navigate to that data source. Click the name of a source system to switch to the source system view and navigate to that source system.
View collection task
This operation is available only for data table asset objects. Click the name of a collection task to view its configuration. For dashboard objects, you can click the details icon next to the application system to quickly view the corresponding collection task.
View metadata details
Click the name of the metadata or the View icon in the Actions column to go to the metadata details page. For more information, see View metadata details.
View version details
This operation is available only when the asset object is a data table and version tracking is enabled for the data source table in Metadata > Metadata Change Log. Click the Version Management icon in the Actions column to go to the Version Management tab of the metadata details page, where you can view information across different versions. For more information, see Version management.
Delete
If you do not also delete the data from the source system, it will reappear after the next collection task runs.
View metadata details
Click the name of a metadata asset or the View icon in the Actions column to go to the Metadata Details page.
The Metadata Details page displays different information depending on the asset object.
Data table
This page displays basic information, table details, field details, partition details, and version management for the metadata.
Basic Information: This section displays the metadata name, data source type, application system type (for DataWorks only), application system name (for DataWorks only), data source and data source code, tenant mode (for OceanBase only), associated Schema/Database/MaxCompute project, metadata type, collection task, and first collection time.
View collection task: Click the name of a collection task to navigate to the collection task list page, where the corresponding task is automatically filtered.
First collection time: The time the metadata was first collected. For historical data, this is the collection time of the earliest version or the record's creation time. This value is retained in subsequent updates.
Table details: This section displays system attribute information for tables and views (including materialized views), which includes business attributes, technical attributes, and management attributes (for DataWorks only).
Business attributes: Includes the source system, DataWorks category (for DataWorks only), DataWorks tags (for DataWorks only), and DataWorks usage instructions (for DataWorks only).
Technical attributes: Includes description, whether it is a lakehouse table, lakehouse table format, storage type, storage usage, and more. The information collected varies by data source. For more information, see Metadata attributes.
When the data source is DataWorks, the technical attributes include the data source type, data source name, project name, database name/schema name, description, creation time, last DDL update time, last data change time, whether it is a partitioned table, storage usage, and lifecycle.
NoteFor Oracle tables, the storage usage is an estimate calculated from the number of rows and the average space used per row (in bytes). It does not include statistics for indexes, unused space, or fragmentation. Therefore, this value is lower than the actual disk space used.
If the data source table is a partitioned table, the row count is usually an estimate and is for reference only. Whether this count is updated depends on the metadata update mechanism of each data source system. For example, systems like MySQL and OceanBase may require you to manually run the
analyzecommand to update the count.Collecting the row count for the main table of a partitioned table is not currently supported.
For an OceanBase data source (Oracle tenant), you must run the
analyzecommand to collect row count information. The command is as follows:-- Replace the table name in braces ({}) with the name of your data table. analyze table {schema.tablename} COMPUTE STATISTICS;
Management attributes (for DataWorks only): Includes the associated DataWorks workspace and the DataWorks table owner.
DDL statement: When the metadata type is a view or materialized view, you can view the DDL statement used to create it in the data source and copy it with one click.
Field details: If the current table is a partitioned table, you can view partition information. The information displayed varies by data source. For more information, see Metadata attributes.
You can search by field name or description, and switch between different versions to view field details.
Partition details: Partition information can be collected only for some data source types. For details, see Metadata attributes.
For multi-level partitioning, partitions are displayed as combined results, with different partition levels separated by a forward slash (/).
NoteThe row count and storage usage information for partitions are for reference only.
Version management: This section shows the version history of the metadata. You can modify the number of viewable versions in Metadata > Metadata Change Log.
A new version is generated when a metadata change occurs in the source system, based on the collection policy of the collection task and a comparison between the newly collected data and the latest stored version. For details on how versions are generated for different data sources, see Metadata versions.
For example, if the data update policy is set to Add new metadata, update changed metadata and Ignore delete operations, a new version is not generated if the only change in the source system between two collections is data deletion.
You can search for a version by its name.
This list displays the version number, changes from the previous version, table description, and version creation time. You can also view a version comparison.
Changes from previous version: Shows the metadata changes from the previous version in the source system, based on the collection policy.
Version comparison: This feature allows you to compare historical versions by displaying their basic information, changed fields, and all fields. For more information, see Version comparison below.
Version comparison
On the Version Comparison page, you can switch between different versions to check for metadata updates.
Version Selection: Select a base version and a comparison version to view the metadata differences between them.
Base version: You can only select a version created earlier than the comparison version.
Comparison version: You can only select a version that was created later than the base version.
Basic information: This section displays the collection completion time, execution method, DDL statement (for views/materialized views), and the table attributes that trigger version generation. For information about table attributes, see Metadata versions.
For DataWorks assets, it displays the metadata type, field count, table description, whether it is a partitioned table, DataWorks category, DataWorks tags, DataWorks usage instructions, and DataWorks table owner.
Changed fields: This section displays the differences between the selected comparison version and the base version, including the sequence number of changed fields (not displayed for DataWorks assets), field name, data type, nullable (not displayed for DataWorks assets), default value (not displayed for DataWorks assets), description, and change type.
For example, if a field's description has been modified in the comparison version, the change type for that field is Update.
All fields: This section displays all field information for both the base version and the comparison version, including sequence number (not displayed for DataWorks assets), field name, data type, nullable (not displayed for DataWorks assets), default value (not displayed for DataWorks assets), and description.
Dashboard
This page displays basic information, attribute information, and chart information for the dashboard.
Basic Information: This section displays the dashboard name, application system type, application system, and collection task information.
View collection task: Click the name of a collection task to navigate to the collection task list page, where the corresponding task is automatically filtered.
View metadata: You can quickly search for and view the details of other metadata assets.
View Dashboard: Click View Dashboard to go to the dashboard details page in the Quick BI system for more information.
Attribute Information: This section displays the attribute information for the dashboard, including business attributes, management attributes, and technical attributes.
Business attributes: Displays the description of the dashboard.
Management attributes: Displays the BI workspace, directory, owner, last updated by, last update time, concurrent authorization policy, whether it is public, and public until time.
Is Public: A public report can be accessed directly via a link without logging in, whereas you must log in to the Quick BI system to access a non-public report.
Technical attributes: Displays the source dataset name, total number of charts, and third-party embedding status.
Chart Information: This section displays the most recently collected chart information, including the chart's sequence number, name, type, and details about its fields, including the field type and field name/data type.
You can search by chart name or filter by chart type, dimension, or measure.