Updated on 2025-05-29 GMT+08:00

PGXC_OS_THREADS

PGXC_OS_THREADS displays thread status information under all normal nodes in the current cluster. This view can be viewed only by the monitor admin and sysadmin users. For details about the columns, see Table 1.

Table 1 PGXC_OS_THREADS columns

Name

Type

Description

node_name

text

Names of normal nodes in a cluster.

pid

bigint

IDs of running threads among normal node processes in the current cluster.

lwpid

integer

Lightweight thread ID corresponding to the PID

thread_name

text

Thread name corresponding to the PID

creation_time

timestamp with time zone

Thread creation time corresponding to the PID

dbid

oid

ID of the database to which a thread belongs.