Files
doc-exports/docs/dws/dev/dws_04_0844.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

14 KiB

PGXC_WORKLOAD_SQL_ELAPSE_TIME

PGXC_WORKLOAD_SQL_ELAPSE_TIME displays statistics on the response time of SQL statements in workload Cgroups on all CNs in a cluster, including the maximum, minimum, average, and total response time of SELECT, UPDATE, INSERT, and DELETE statements. The unit is microsecond. Only the system administrator or the preset role gs_role_read_all_stats can access this view.

Table 1 PGXC_WORKLOAD_SQL_ELAPSE_TIME columns

Column

Type

Description

node_name

Name

Node name.

workload

Name

Workload Cgroup name.

total_select_elapse

Bigint

Total response time of SELECT statements.

max_select_elapse

Bigint

Maximum response time of SELECT statements.

min_select_elapse

Bigint

Minimum response time of SELECT statements.

avg_select_elapse

Bigint

Average response time of SELECT statements.

total_update_elapse

Bigint

Total response time of UPDATE statements.

max_update_elapse

Bigint

Maximum response time of UPDATE statements.

min_update_elapse

Bigint

Minimum response time of UPDATE statements.

avg_update_elapse

Bigint

Average response time of UPDATE statements.

total_insert_elapse

Bigint

Total response time of INSERT statements.

max_insert_elapse

Bigint

Maximum response time of INSERT statements.

min_insert_elapse

Bigint

Minimum response time of INSERT statements.

avg_insert_elapse

Bigint

Average response time of INSERT statements.

total_delete_elapse

Bigint

Total response time of DELETE statements.

max_delete_elapse

Bigint

Maximum response time of DELETE statements.

min_delete_elapse

Bigint

Minimum response time of DELETE statements.

avg_delete_elapse

Bigint

Average response time of DELETE statements.