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

pl_get_global_trace_info

Function for checking trace records of all nodes. For details about the column, see Table 1.

Table 1 pl_get_global_trace_info

Parameter

Type

Description

session_id

bigint

ID of the session to which the SQL statement belongs.

node

text

Name of the node to which the SQL statement belongs.

level

text

Level of the SQL statement.

database

text

Name of the database to which the SQL statement belongs.

func

oid

OID of the stored procedure to which the SQL statement belongs.

source

text

This SQL statement.

plan

text

Execution plan of this SQL statement.

time

text

Execution time of this SQL statement.

threshold

float8

Threshold of the SQL statement, in milliseconds.