June 19, 2013

Post: MySQL and the SSB - Part 2 - MyISAM vs InnoDB low concurrency

…=/usr/local/mysql socket=/var/lib/mysql/mysql.sock user=justin innodb_buffer_pool_size=64G innodb_log_file_size=4G innodb_…buffer_size=32M innodb_buffer_pool_instances=16 metadata_locks_hash_instances=32 table_open_cache_instances=8 sort_buffer_size=128k read_rnd_buffer_size=8M join_buffer_size

Post: Virident vCache vs. FlashCache: Part 2

…7200 ­­–max­-requests=0 ­­–percentile=95 ­­\ –mysql­-user=root –mysql­-socket=/tmp/mysql.sock ­­–mysql­-table­-engine=innodb ­­\ –oltp­-read­-only=…= 16M binlog_cache_size = 16M max_heap_table_size = 64M sort_buffer_size = 4M join_buffer_size = 4M thread_cache_size = 1000 query_cache_size = 0 …

Post: Benchmarking Percona Server TokuDB vs InnoDB

…packet = 16M binlog_cache_size = 16M max_heap_table_size = 64M sort_buffer_size = 4M join_buffer_size = 4M thread_cache_size = 1000 query_cache_size = 0 query_cache…sort_file_size = 10G #myisam_max_extra_sort_file_size = 10G myisam_repair_threads = 1 myisam_recover socket=/var/lib/mysql/mysql.sock …

Post: How is join_buffer_size allocated?

… examining MySQL configuration, we quite often want to know how various buffer sizes are used. This matters because some buffers (sort_buffer_size for example… needed (key_buffer_size). There are many examples of this. What about join_buffer_size? I saw a my.cnf with a 128M join_buffer_size the other…

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.5

MySQL 5.6 which takes 0.16s less as compared to MySQL 5.5 While with join_buffer_size set to 6M and read_rnd_buffer_size set to 6M, the query time for MySQL 5… MySQL 5.5 MySQL 5.6 MySQL 5.6 w/ join_buffer_size=6M & read_rnd_buffer_size=6M MariaDB 5.5 MariaDB 5.5 w/ join_buffer_size=6M & mrr_buffer_size

Post: Ultimate MySQL variable and status reference list

… constantly referring to the amazing MySQL manual, especially the option and variable reference table. But…io_threadsblogpercona.commanual insert_idblogpercona.commanual interactive_timeoutblogpercona.commanual join_buffer_sizeblogpercona.commanual keep_files_on_createblogpercona.commanual Key_blocks…

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/mysql-5.6.10-linux-glibc2. | | MAX_ALLOWED_PACKET | 1048576 | 4194304 | | JOIN_BUFFER_SIZE… now allowing MySQL to handle larger queries. Makes sense as amount of memory available is much larger these days. join_buffer_size have been…

Post: Review of MySQL 5.6 Defaults Changes

… posted the great summary of defaults changes in MySQL 5.6 compared to MySQL 5.5 In general there are a lot… leaves impression it does not need to be configured. sort_buffer_size = 256K Good choice for very small sorts but more complicated… able to deal with simple and complicated queries efficiently automatically. join_buffer_size = 256k The default is now double of what it was…

Post: A case for MariaDB's Hash Joins

buffer_size=32M optimizer_switch=’join_cache_incremental=on’ optimizer_switch=’join_cache_hashed=on’ optimizer_switch=’join_cache_bka=on’ join_cache_level=4 join_buffer_size=32M join_buffer

Post: MySQL Server Variables - SQL layer or Storage Engine specific.

… first MySQL versions did not bother naming variables with storage engines prefix. This is why we have key_buffer, not “myisam_key_buffer… currently works with MyISAM tables these are MyISAM related. join_buffer_size Buffer used for joins without indexes and few other cases. It is used…