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
1630
February 12, 2020 02:45AM
969
February 12, 2020 11:41AM
778
February 13, 2020 09:24AM
Re: High memory used by MySQL
783
February 13, 2020 11:49AM
785
February 14, 2020 09:05AM
712
February 14, 2020 11:06AM
793
March 02, 2020 04:12AM
660
March 02, 2020 04:17PM
536
March 02, 2020 08:35PM
602
March 02, 2020 08:36PM
760
March 03, 2020 06:12AM
610
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.