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

PG_OS_THREADS

PG_OS_THREADS displays the status information about all the threads under the current node.

Table 1 PG_OS_THREADS columns

Name

Type

Description

node_name

text

Name of the node

pid

bigint

Thread number running under the current node process

lwpid

integer

Lightweight thread IDs corresponding to the PIDs

thread_name

text

Thread names corresponding to the PIDs

creation_time

timestamp with time zone

Creation time of the threads corresponding to the PIDs