Updated on 2023-10-23 GMT+08:00

GS_TOTAL_NODEGROUP_MEMORY_DETAIL

GS_TOTAL_NODEGROUP_MEMORY_DETAIL returns the memory usage (in MB) of the current logical instance of the database. If enable_memory_limit is set to off, this function cannot be used.

Table 1 GS_TOTAL_NODEGROUP_MEMORY_DETAIL columns

Name

Type

Description

ngname

text

Logical instance name

memorytype

text

Memory type. The value must be one of the following:
  • ng_total_memory: total memory of the logical instance
  • ng_used_memory: memory usage of the logical instance
  • ng_estimate_memory: estimated memory usage of the logical instance
  • ng_foreignrp_memsize: total memory of the external resource pool of the logical instance
  • ng_foreignrp_usedsize: memory usage of the external resource pool of the logical instance
  • ng_foreignrp_peaksize: peak memory usage of the external resource pool of the logical instance
  • ng_foreignrp_mempct: percentage of the external resource pool of the logical instance to the total memory of the logical instance
  • ng_foreignrp_estmsize: estimated memory usage of the external resource pool of the logical instance

memorymbytes

integer

Size of allocated memory-typed memory