June 19, 2013

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

…the database optimizer. The …mysql socket=/var/lib/mysql/mysql.sock user=justin innodb_buffer_pool_size=64G innodb_log_file_sizebuffer_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

… more sense to configure MySQL as if it were using SSD storage or to just use an optimized HDD storage configuration? After…_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…

Post: Ultimate MySQL variable and status reference list

…amazing MySQL manual, especially the option and …idblogpercona.commanual interactive_timeoutblogpercona.commanual join_buffer_sizeblogpercona.commanual keep_files_….commanual optimizer_prune_levelblogpercona.commanual optimizer_search_depthblogpercona.commanual optimizer_switchblogpercona….

Post: MySQL 5.5 and MySQL 5.6 default variable values differences

…/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… sense in my opinion. MySQL 5.6 adds a lot more optimizer switches which you can play with: mysql [localhost] {msandbox} (test) > select…

Post: Review of MySQL 5.6 Defaults Changes

… summary of defaults changes in MySQL 5.6 compared to MySQL 5.5 In general there …deal with simple and complicated queries efficiently automatically. join_buffer_size = 256k The default is now double of …this as an optimal value or is it just looking to reduce number of different buffer sizes used. …

Post: Join Optimizations in MySQL 5.6 and MariaDB 5.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: 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.

MySQL versions did not bother naming variables with storage engines prefix. This is why we have key_buffer, not “myisam_key_buffer… bulk_insert_buffer_size – Used by MyISAM tables only to optimize bulk inserts (… these are MyISAM related. join_buffer_size Buffer used for joins without indexes and few …

Post: Shard-Query EC2 images available

join-buffer-size=16M key-buffer-sizeoptimizer-prune-level=0 partition=ON port=3306 read-buffer-size=512K read-rnd-buffer-size=1M skip-host-cache skip-name-resolve sort-buffer-size

Post: MySQL Indexing Best Practices: Webinar Questions Followup

optimizations by optimizer knowing index is UNIQUE the drawback is insert buffer … would note there are some MySQL optimizer restrictions in how well it…join the two tables? A: The question in this case is how MySQL will execute the join…which are accessed frequently. The size of this “working set” …