Updated on 2024-09-30 GMT+08:00

PGXC_USER_TRANSACTION

PGXC_USER_TRANSACTION provides transaction information about users on all CNs. It is accessible only to users with system administrator rights. This view is valid only if the real-time resource monitoring function is enabled, that is, if enable_resource_track is on.

Table 1 PGXC_USER_TRANSACTION columns

Name

Type

Description

node_name

name

Node name.

usename

name

Username.

commit_counter

bigint

Number of commits.

rollback_counter

bigint

Number of rollbacks.

resp_min

bigint

Minimum response time.

resp_max

bigint

Maximum response time.

resp_avg

bigint

Average response time.

resp_total

bigint

Total response time.