Catalog level #
The first level of the catalog explorer is the catalog level, which contains a number of panes of information about the currently selected catalog.
Catalog metadata #
View and edit metadata associated with your catalog, such as a description, associated tags, a list of user contacts, and the catalog’s owning role.
Click the pencil icon to edit catalog metadata. Catalog metadata can only be edited by the catalog’s owner. Metadata is otherwise read-only.
Click Show details to see an expanded view of the catalog’s metadata:
- Description displays the description of the catalog. if any.
- Tags lists the tags associated with the catalog. Apply tags to the catalog to enable attribute-based access control policies.
- Contacts displays users who can provide information and support for the catalog. You can add any user with a role that owns the catalog directly, or indirectly.
- Owner displays the owner of the catalog.
Schemas #
The Schemas pane displays a list of schemas found within the catalog.
Refresh the list of schemas, or search through the list by using the Refresh button on the left, or the Search schemas field on the right, respectively.
Click the name of a schema to open the overview page for that schema.
The Clusters table shows a list of clusters, and the following information about each one:
- Name shows the name of the cluster.
- Status displays the status.
- Catalogs lists the configured catalogs used in the cluster.
- Region displays the region of the cloud provider.
- Owner displays the role that owns the entity.
- Connection provides details to use to connect clients to the cluster.
Add a catalog to one or more clusters by using the Add to cluster button, selecting the clusters from the menu, and clicking Add clusters.
Schema discovery #
The Schema discovery pane lets you examine the metadata of the specified location. Schema discovery is for catalogs in object storage data sources only.
If you are running schema discovery for the first time, click Run schema discovery to analyze a root object in an object storage location and return the structure of any discovered tables. If you have previously performed schema discovery for the chosen catalog, click Run discovery.
For more details, see schema discovery.
Metrics #
The Metrics pane displays a visual analysis of important metrics about the catalog:
Use the Dates menu above the chart to view data for different time intervals.
Charts display the following metrics across all clusters:
- The Queries over time chart shows the absolute number of run, queued, and failed queries.
- The Top users chart shows the most active users by processed queries, by used CPU time, by data read, or by data written.
- The Top sources chart shows the most active client applications, such as the query editor, the Trino CLI, and others by processed queries, by used CPU time, by data read, or by data written.
- The Top tables chart shows the most active tables and views by processed queries, by data read, or by data written.
Query history #
The Query history pane shows a list of queries that accessed the catalog. Look for queries that occurred within a pre-defined date range using the Dates drop-down list.
Query history is limited to your role’s history unless your current role is
accountadmin
or your role has the View all query
history privilege.
Click Refresh to reload queries in the list.
The following columns are displayed:
- Status uses for successfully completed queries, and for failed queries.
- Query ID shows the unique identifier for each query; click the ID to open the Query details pane for the query.
- Cluster is the name of the cluster used to process the query.
- Query text displays the full or partial SQL text of the query.
- Email identifies the user who submitted the query.
- Role specifies the name of the role used by the user when submitting the query.
- Create date uses the browser timezone and shows the start date and time of the query processing.
- Elapsed time is the total duration for processing the query.
Audit log #
The Audit log pane displays an audit trail of administrative actions related to this catalog and its schemas, tables, views, and columns. Your current role must have the View audit log privilege in order to see audit log entries from all users.
The following columns are shown:
- Operation: The configuration change that was performed. Possible values include update, delete, suspend, and others depending on the object.
- Object: The type of object, such as catalog or schema, for which the configuration was changed.
- Object name: The name of the specific object.
- What changed: A description of the changed attributes including values.
- User: The user who performed the change.
- Time of change: The date and time the change was performed.
Privileges #
User accounts with permission to view privileges have access to the Privileges page. The Privileges page allows you to view privileges based on account role.
The following columns are displayed:
- Role specifies the name of the role.
- Privileges shows the privileges for the role and ownership rights.
Use the Add privileges button to add or remove access to a privilege:
-
Select a role from the menu.
-
By default, new privileges allow access rights, but you can click the deny switch to create a deny privilege.
-
Select the privileges to grant to the current role, and click the Add privileges button to save the privilege grants.
To revoke an existing privilege:
- Click the on a privilege tag.
- In the resulting dialog, click Yes, revoke privilege.
Is the information on this page helpful?
Yes
No
Is the information on this page helpful?
Yes
No