[MDEV-23601] memory_used on global_status is actual memory use from mariadb Created: 2020-08-27  Updated: 2020-11-02  Resolved: 2020-11-02

Status: Closed
Project: MariaDB Server
Component/s: Information Schema
Affects Version/s: 10.4.8
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: febriyant Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: MariaDB-server, memory, need_feedback, variable
Environment:

Centos 7


Issue Links:
Duplicate
is duplicated by MDEV-23603 memory_used on global_status is actua... Closed

 Description   

on this page memory_used explain this memory_used global or per-connection. any can explain more about this, this is actual mariadb consume memory or RAM ? because currently i working on make monitoring system like mysql enterprise monitor.



 Comments   
Comment by Daniel Black [ 2020-09-30 ]

memory_used per the document is a global and a session status variable.

In the session context, it is the memory allocated by the current thread.

In the global context, it is them memory allocated by all of the current threads.

Make sense?

Generated at Thu Feb 08 09:23:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.