June 20, 2013

Post: MySQL 5.5 and MySQL 5.6 default variable values differences

SORT_BUFFER_SIZE | 2097152 | 262144 | | LC_MESSAGES_DIR | /mnt/nfs/dist/mysql-5.5.30-linux2.6-x86_ | /mnt/nfs/dist/mysqlsort_buffer_size was decreased to 256K from 2M. This change should help many small sorts for which allocation of 2M for sort buffer

Post: Review of MySQL 5.6 Defaults Changes

… to provide as MySQL is typically protected by Firewall to begin with. open_files_limit = 5000 strangely enough this is where the smart… is probably well too small to be useful but leaves impression it does not need to be configured. sort_buffer_size = 256K Good choice for very small sorts

Post: How much memory can MySQL use in the worst case?

buffer pool. (There’s also an innodb_additional_mem_pool_size but it’s typically set pretty smallsort_buffer_size to 128K — I can quite well connect and say “set @@sort_buffer_size := 1 * 1024 * 1024 * 1024;” and my sort_buffer_size is…memory too….(2.34 sec) mysql> select get_lock(@a, 1); …

Post: MySQL Server Memory Usage

MySQL Server so it uses too small amount of memory it will likey perform suboptimally. If you however configure it so it consumes toosorts, or need temporary tables as much as read_buffer_size, sort_buffer_size, read_rnd_buffer_size, tmp_table_size

Post: Multi Range Read (MRR) in MySQL 5.6 and MariaDB 5.5

sorting the secondary key tuples. If the buffer size is large enough only a single range lookup will be needed, however if the buffer size is smallbuffer_size, while MariaDB introduces a different variable to control the MRR buffer size mrr_buffer_size. Both buffer sizes default to 256K in MySQL

Comment: MySQL 5.5 and MySQL 5.6 default variable values differences

too big. In practice we tend to see query cache sizes that are far too big more than ones that are too small…query rates. sort_buffer_size is much improved over the past 2M but still a bit too big for…oracle.com/supportingmysql/entry/mysql_server_5_6_default . thread_cache_size is quite low, and …

Post: ALTER TABLE: Creating Index by Sort and Buffer Pool Size

…following in terms of data and index size: mysql> show table status like “sbtest” \G *************************** 1. row …6GB buffer pool which is large enough to fit complete table with index (but is a bit too small…any more. Creating Index by sort is great Creating index by sort can provide over 20x …

Post: How much overhead is caused by on disk temporary tables

mysql> set global key_buffer_size=8000000; Query OK, 0 rows affected (0.03 sec) mysql> set global max_heap_table_sizetoo many details for you to read through here is the summary: key_buffer_size is

Post: New SpecJAppServer results at MySQL and Sun.

sort_buffer_size = 32k – It is interested how much this was really investigated. Indeed this issmall sorts it is indeed better to have smaller sort buffer because allocating it will likely be faster. query_cache_size

Post: What to tune in MySQL Server after installation

MySQL DBAs or be involved with MySQL Performance in some way is to ask them what should be tuned in MySQLbuffer apply – if you have small data set and it is not going to grow dramatically do not oversize innodb_buffer_pool_sizeis no reason to increase sort_buffer_size