MySQL Forums
Forum List  »  General

MySQL Memory Usage to Caculate
Posted by: jongse park
Date: March 25, 2015 03:18AM

Hi,

When I caculate for Memory usage of mysql,
I usualy use this fomula;

SELECT ( @@key_buffer_size
+ @@query_cache_size
+ @@innodb_buffer_pool_size
+ @@innodb_additional_mem_pool_size
+ @@innodb_log_buffer_size
+ @@max_connections * ( @@read_buffer_size
+ @@read_rnd_buffer_size
+ @@sort_buffer_size
+ @@join_buffer_size
+ @@binlog_cache_size
+ @@thread_stack
+ @@tmp_table_size )
) / (1024 * 1024 * 1024) AS MAX_MEMORY_GB;

But, In this site http://www.mysqlcalculator.com/
tmp_table_size is included in global memory area.

Is tmp_table_size correct in global memory area or session memory area?

Options: ReplyQuote


Subject
Written By
Posted
MySQL Memory Usage to Caculate
March 25, 2015 03:18AM


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.