doc-exports/docs/dws/dev/dws_04_0845.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

6.3 KiB

PGXC_WORKLOAD_TRANSACTION

PGXC_WORKLOAD_TRANSACTION provides transaction information about workload cgroups on all CNs. Only the system administrator or the preset role gs_role_read_all_stats can access this view. This view is valid only when the real-time resource monitoring function is enabled, that is, when enable_resource_track is on.

Table 1 PGXC_WORKLOAD_TRANSACTION columns

Name

Type

Description

node_name

name

Node name

workload

name

Workload Cgroup name

commit_counter

bigint

Number of the commit times

rollback_counter

bigint

Number of rollbacks

resp_min

bigint

Minimum response time (unit: μs)

resp_max

bigint

Maximum response time (unit: μs)

resp_avg

bigint

Average response time (unit: μs)

resp_total

bigint

Total response time (unit: μs)