Re: High memory used by MySQL
Formula used ...
innodb_buffer_pool_size +
innodb_ft_total_cache_size + innodb_additional_mem_pool_size + innodb_log_buffer_size + query_cache_size + tmp_table_size + key_buffer_size + max_connections * ( thread_stack + max( max_allowed_packet, net_buffer_length ) + net_buffer_length + read_buffer_size + read_rnd_buffer_size + sort_buffer_size + join_buffer_size )
[corrected]
There's code under "Optimisation cheatsheet" at
https://www.artfulsoftware.com/infotree/mysqltips.php that produces most of the analysis I posted here.
The link to the MySQL mem use page didn't survive copy/paste, here it is:
https://dev.mysql.com/doc/refman/8.0/en/memory-use.html
Edited 2 time(s). Last edit at 02/14/2020 11:05AM by Peter Brawley.
Subject
Views
Written By
Posted
913
February 12, 2020 02:45AM
597
February 12, 2020 11:41AM
491
February 13, 2020 09:24AM
Re: High memory used by MySQL
495
February 13, 2020 11:49AM
472
February 14, 2020 09:05AM
414
February 14, 2020 11:06AM
417
March 02, 2020 04:12AM
397
March 02, 2020 04:17PM
334
March 02, 2020 08:35PM
375
March 02, 2020 08:36PM
416
March 03, 2020 06:12AM
357
March 03, 2020 11:51AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.