GS_SESSION_MEMORY
GS_SESSION_MEMORY displays the memory usage at the session level, including all the memory allocated to GaussDB and Stream threads on DNs for jobs currently executed by users. If the GUC parameter enable_memory_limit is set to off, this view is unavailable.
Name |
Type |
Description |
---|---|---|
sessid |
text |
Thread start time and ID |
init_mem |
integer |
Memory allocated to the currently executed jobs before they enter the executor, in MB |
used_mem |
integer |
Memory allocated to the currently executed jobs, in MB |
peak_mem |
integer |
Peak memory allocated to the currently executed jobs, in MB |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot