Are you an LLM? You can read better optimized documentation at /en/docs/7.0.0-lite/sql_reference/session_memory.md for this page in Markdown format
SESSION_MEMORY
SESSION_MEMORY collects statistics about memory usage at the session level in the unit of MB, including all the memory allocated to openGauss and stream threads on DNs for jobs currently executed by users.
Table 1 SESSION_MEMORY columns
Name | Type | Description |
|---|
sessid | text | Thread start time and ID |
init_mem | integer | Memory allocated to the currently executed job before the job enters the executor |
used_mem | integer | Memory allocated to the currently executed job |
peak_mem | integer | Peak memory allocated to the currently executed job |