PGXC_MEMORY_DEBUG_INFO
PGXC_MEMORY_DEBUG_INFO displays memory error information for each node in the current cluster when executing jobs, making it easy to locate memory error issues. When an error message "memory is temporarily unavailable" is prompted during statement execution, this view can be used to query memory error information for all nodes, which is the same as the memory error information displayed in the log. This view is supported only by clusters of version 8.3.0 or later.
This view only displays the most recent cluster information for errors, and repeated error information will be overwritten. If the same query requests memory multiple times and errors occur, the information will not be updated.
Column |
Type |
Description |
---|---|---|
node_name |
text |
Instance name, including CNs and DNs. |
query_id |
bigint |
ID of the query that is currently requesting memory. |
memory_info |
text |
Current instance's memory usage, including:
|
summary |
text |
The total estimated memory consumption and actual memory consumption of jobs on the instance. |
abnormal_query |
text |
Thread ID and query ID with abnormal memory usage, including two cases:
|
abnormal_memory |
text |
Memory block with the highest usage, including the maximum shared memory context usage and the maximum common memory context usage. |
top_thread |
text |
Information on the top three threads with the highest memory usage: context name: memory block currently in use. contextlevel: context level. sessType: type of the top-level context node. totalsize[274,13,260]MB: total memory, released memory, and used memory size of the current memory context, in MB. |
create_time |
timestamp with time zone |
Time when the memory shortage error occurred. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.