PV_THREAD_MEMORY_CONTEXT
PV_THREAD_MEMORY_CONTEXT displays the memory usage of all threads based on the MemoryContext node. This view is equivalent to the PV_SESSION_MEMORY_DETAIL view when enable_thread_pool is set to off.
The memory context TempSmallContextGroup collects information about all memory contexts whose value in the totalsize column is less than 8192 bytes in the current thread, and the number of the collected memory contexts is recorded in the usedsize column. Therefore, the totalsize and freesize columns for TempSmallContextGroup in the view display the corresponding information about all the memory contexts whose value in the totalsize column is less than 8192 bytes in the current thread, and the usedsize column displays the number of these memory contexts.
Name |
Type |
Description |
---|---|---|
threadid |
text |
Thread start time and ID (string: timestamp.sessionid). |
tid |
bigint |
Thread ID. |
thrdtype |
text |
Thread type It can be any thread type in the system, such as wlmmonitor. |
contextname |
text |
Name of the memory context. |
level |
smallint |
Hierarchy of the memory context. |
parent |
text |
Name of the parent memory context. |
totalsize |
bigint |
Total size of the memory context, in bytes. |
freesize |
bigint |
Total size of released memory in the memory context, in bytes. |
usedsize |
bigint |
Size of used memory in the memory context, in bytes. For TempSmallContextGroup, this parameter specifies the number of collected memory contexts. |
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