[MDEV-11430] Specify units for Memory_used and similar variables Created: 2016-11-30  Updated: 2016-11-30  Resolved: 2016-11-30

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: N/A
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None


 Description   

Found on stackoverflow:
http://stackoverflow.com/questions/40891532/is-memory-used-measured-in-bytes

In looking at the Maria DB documentation for Memory_used, I began wondering if it is somewhere documented that "all memory variables are measure in X" or something.

Is Memory_used measured in bytes? It would be of use to understand where that is mentioned in the documentation as well.

As the topic starter later found out, it is documented in MySQL Manual:
http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html

Values for buffer sizes, lengths, and stack sizes are given in bytes unless otherwise specified

I think in the KB it should be documented also, either as a common-note (but maybe somehow more visible than in MySQL manual), or explicitly for each variable.



 Comments   
Comment by Ian Gilfillan [ 2016-11-30 ]

It should be specified for each variable - a common note isn't that useful. I have documented Memory_used, if others are found without specifying how the size is measured, those can be opened separately.

Generated at Thu Feb 08 07:49:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.