GS_TOTAL_MEMORY_DETAIL
GS_TOTAL_MEMORY_DETAIL collects statistics about memory usage of the current database node in the unit of MB. If the GUC parameter enable_memory_limit is set to off, this view is unavailable.
Table 1 GS_TOTAL_MEMORY_DETAIL columns
| Name | Type | Description | 
|---|
| nodename | text | Node name | 
| memorytype | text | Memory type. The value must be one of the following: max_process_memory: memory occupied by the openGauss instanceprocess_used_memory: memory occupied by the openGauss processmax_dynamic_memory: maximum dynamic memorydynamic_used_memory: used dynamic memorydynamic_peak_memory: dynamic peak value of the memorydynamic_used_shrctx: maximum dynamic shared memory contextdynamic_peak_shrctx: dynamic peak value of the shared memory contextmax_shared_memory: maximum shared memoryshared_used_memory: used shared memorymax_cstore_memory: maximum memory allowed for the columncstore_used_memory: memory used in column storagemax_sctpcomm_memory: maximum memory allowed for the communication librarysctpcomm_used_memory: memory used by the communication librarysctpcomm_peak_memory: memory peak of the communication libraryother_used_memory: other used memory
 | 
| memorymbytes | integer | Size of allocated memory-typed memory | 
openGauss 2025-10-31 07:42:18