Analyzing View Performance
Analyze the performance of a view directly in the Data Builder with the Runtime Metrics tool. Receive detailed information about your view by creating runtime metrics, creating an Explain Plan directly or starting the View Analyzer to improve the performance of your view.
Context
The Runtime Metrics tool helps analyze the performance of your view by executing two benchmark queries on a view and measuring their runtime and consumed peak memory. Additionally, the lineage of the view is analyzed to determine the performance through important indications such as the number of sources, number of federated remote tables, and the number of local tables (file). You can review the metrics of your entire view or refine your metrics to look at only the metrics for remote statements.
Procedure
Results
|
Property |
Description |
|---|---|
|
Time |
Shows the date and time of the latest run and the previous run. |
|
Duration (Statement Type: Select 1000 Rows) |
The duration of the Select * From View Limit 1000 query run measured in seconds. |
|
Peak Memory (Statement type: Select 1000 Rows) |
Peak memory usage of the run of the query Select * From View Limit 1000. |
|
Select Count * From View |
A database query to get the number of records of a view. This is a query to retrieve runtime metrics to evaluate the performance of a view. |
|
Duration (Statement Type: Count All Rows) |
The duration of the Select Count * From View query run measured in seconds. |
|
Peak Memory (Statement Type: Count All Rows) |
Peak memory usage of the run of the query Select Count * From View. |
|
Number of Rows |
Shows the number of rows contained in the view. |
|
Overall Number of Sources |
Shows the number of sources contained in the view. |
|
Data Access |
Shows how you currently access your view.
|
|
Local Tables (File) |
Shows the number of number of local tables (file). |
|
Federated Remote Tables (with Limited Adapter Capabilities) |
Shows the number of federated remote tables (with limited adapter capabilities). |
|
Start Run |
Click Start Run to start runtime metrics run. |
|
Cancel Run |
Click Cancel Run to cancel the current runtime metrics run. |
|
Start View Analyzer |
Click Start View Analyzer to navigate to the View Analyzer feature in the Data Integration Monitor. You need DWC Data Integration (Runtime) privilege to open the View Analyzer. For more information see, Getting Started with View Analyzer. |
The metrics of the last two runs will be shown to help evaluate changes in the performance of your view.
|
Property |
Description |
|---|---|
|
Remote Tables |
Shows the names of the entities that a remote query accessed. A query can reference one or multiple entities, depending on the available features of the underlying connection type. The remote statement type can be identified by the icon on the left side beside the name.
There are three types of remote statements that do not have an icon:
|
|
Space |
Shows the name of the space that the remote table is in. |
|
Connection |
Shows the name of the connection the remote statement used. |
|
Statement Type |
Shows the statement type: Count all rows or Count 1000 rows. You can choose from the tabs above the table to view:
|
|
Start Time |
Shows the date and time the latest remote processing started. |
|
End Time |
Shows the date and time the latest remote processing ended. |
|
Duration |
Shows the duration of the latest run of the remote statement on the tenant database. |
|
Rows |
Shows the number of rows transferred from the remote system. |
|
Size (MiB) |
Shows the size of the data exchange on protocol level during execution of the remote statement. |
|
Open Remote Query Monitor |
Click Open Remote Query Monitor above the table to go directly to the Remote Queries Monitor. See Monitoring Remote Queries. |
|
Start Run |
Click Start Run to start runtime metrics run. |
|
Cancel Run |
Click Cancel Run to cancel the current runtime metrics run. |
|
Start View Analyzer |
Click Start View Analyzer to navigate to the View Analyzer feature in the Data Integration Monitor. You need DWC Data Integration (Runtime) privilege to open the View Analyzer. For more information see, Getting Started with View Analyzer. |
|
Property |
Description |
|---|---|
|
Entity Name |
Shows the names of the objects in the lineage graph. |
|
Space |
Shows the name of the space that the object is in. |
|
Statement Type |
Shows the name of the space that the object is in.
|
|
Duration |
Shows the duration of the latest run of the relevant object. |
|
Rows |
Shows the number of rows contained in the object. |
|
Peak Memory (MiB) |
Shows the peak memory usage of the run of the query. |
|
Start Run |
Click Start Run to start runtime metrics run. |
|
Cancel Run |
Click Cancel Run to cancel the current runtime metrics run. |
|
Start View Analyzer |
Click Start View Analyzer to navigate to the View Analyzer feature in the Data Integration Monitor. You need DWC Data Integration (Runtime) privilege to open the View Analyzer. For more information see, Getting Started with View Analyzer. |