1

When I run the following in my mysql terminal

mysql> SHOW GLOBAL VARIABLES LIKE 'tmp_table_size';
+----------------+----------+
| Variable_name | Value |
+----------------+----------+
| tmp_table_size | 16777216 |
+----------------+----------+
1 row in set (0.01 sec)

This is probably very oblivious but is the value 16777216 in bytes? I just want to be sure and can't seem to find a definitive answer on the web.

Is this the same for all values? Such as query_cache_size & query_cache_limit

I need to know this to set up a Amazon RDS Param group.

asked Sep 2, 2015 at 12:39

1 Answer 1

2

Yes, it is bytes. You also can not set anything other like

set session tmp_table_size = 8k;

This is only possible in configuration files. But you can do something like

set session tmp_table_size = 8 * 1024;
answered Sep 2, 2015 at 13:42
1
  • @tomborn, thanks. BTW way I'm needed to know this to set up a Amazon RDS Param group. Commented Sep 2, 2015 at 13:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.