GS_WLM_OPERATOR_HISTORY
GS_WLM_OPERATOR_HISTORY displays the records of operators in jobs that have been executed by the current user on the current CN.
This view is used to query data from the GaussDB(DWS). Data in the GaussDB(DWS) is cleared periodically. If the GUC parameter enable_resource_record is set to on, records in the view will be dumped to the system catalog GS_WLM_OPERATOR_INFO every three minutes and deleted from the view. If enable_resource_record is set to off, the records will be deleted from the view after the retention period expires. The recorded data is the same as that described in Table 1.
Name |
Type |
Description |
---|---|---|
nodename |
text |
Name of the CN where the statement is executed |
queryid |
bigint |
Internal query_id used for statement execution |
pid |
bigint |
Thread ID of the backend |
plan_node_id |
integer |
plan_node_id of the execution plan of a query |
plan_node_name |
text |
Name of the operator corresponding to plan_node_id |
start_time |
timestamp with time zone |
Time when an operator starts to process the first data record |
duration |
bigint |
Total execution time of an operator. The unit is ms. |
query_dop |
integer |
Degree of parallelism (DOP) of the current operator |
estimated_rows |
bigint |
Number of rows estimated by the optimizer |
tuple_processed |
bigint |
Number of elements returned by the current operator |
min_peak_memory |
integer |
Minimum peak memory used by the current operator on all DNs. The unit is MB. |
max_peak_memory |
integer |
Maximum peak memory used by the current operator on all DNs. The unit is MB. |
average_peak_memory |
integer |
Average peak memory used by the current operator on all DNs. The unit is MB. |
memory_skew_percent |
integer |
Memory usage skew of the current operator among DNs |
min_spill_size |
integer |
Minimum spilled data among all DNs when a spill occurs. The unit is MB. Default value: 0. |
max_spill_size |
integer |
Maximum spilled data among all DNs when a spill occurs. The unit is MB. Default value: 0. |
average_spill_size |
integer |
Average spilled data among all DNs when a spill occurs. The unit is MB. Default value: 0. |
spill_skew_percent |
integer |
DN spill skew when a spill occurs |
min_cpu_time |
bigint |
Minimum execution time of the operator on all DNs. The unit is ms. |
max_cpu_time |
bigint |
Maximum execution time of the operator on all DNs. The unit is ms. |
total_cpu_time |
bigint |
Total execution time of the operator on all DNs. The unit is ms. |
cpu_skew_percent |
integer |
Skew of the execution time among DNs. |
warning |
text |
Warning. The following warnings are displayed:
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.