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

PERF_QUERY

Provides the name, tree structure, and percentage of the stack information collected on the current node, as described in Table 1. The monadmin permission is required.

Before using this view to query stack information, you need to execute the gs_perf_start function to collect flame graph data.

Table 1 PERF_QUERY columns

Name

Type

Description

backtrace

text

Text of the stack information tree structure.

overhead

double precision

Percentage of the time occupied by the current stack information in the entire stack collection process.