Updated on 2024-06-03 GMT+08:00

PARALLEL_DECODE_THREAD_INFO

PARALLEL_DECODE_THREAD_INFO displays information about threads that perform parallel decoding on the current node, as described in Table 1. This view needs to be queried on DNs. If it is queried on CNs, no information is returned.

Table 1 PARALLEL_DECODE_THREAD_INFO columns

Name

Type

Description

thread_id

bigint

Thread ID.

slot_name

text

Replication slot name.

thread_type

text

Thread type (sender, reader, or decoder).

seq_number

integer

Sequence number (starting from 1) of threads of the same type in the current replication slot.