This topic describes how to view details of materialized views for a tenant.
Applicability
This content applies only to OCP Enterprise Edition. OCP Community Edition does not provide this feature.
Prerequisites
Ensure the current OCP user has the following permissions:
- Cluster Read-Only or Tenant Read-Only resource permission.
- Diagnostic Service Real-Time Diagnostics menu permission.
Procedure
Log in to OCP.
In the left navigation bar, click Diagnostic Service.
In the Cluster Details section, click the name of the cluster you want to view.
Go to the Materialized Views tab under Real-time Diagnostics to filter tenants.
On the List tab, you can view all auto-refresh materialized views under the selected tenant. The view information includes ID, Database, Name, View Definition, Construction Mode, Refresh Mode, Refresh Method, Refresh Interval, Current Latency (seconds), Next Refresh, Last Refresh Time, and Last Refresh Duration (seconds).
- You can filter views by Database.
- Click View in the View Definition column to view the view definition details.
On the Refresh Records tab, you can view the refresh records for materialized views under the selected tenant. The record information includes ID, Database, Name, Refresh Method, Refresh Duration (seconds), Start Time, End Time, and Result.
- You can filter by time range. By default, the system displays data from the last 3 hours. You can select a time range in the upper-right corner to return data within that period.
- You can filter refresh records using the View Only Timeout Records and View Base Table Content checkboxes. Selecting one of these checkboxes will display only refresh records that meet that condition in the list. When View Base Table Content is selected, the list below will additionally display information columns for Number of Rows Inserted into Base Table, Number of Rows Updated in Base Table, and Number of Rows Deleted from Base Table.
- You can filter refresh records by Database.
