May 22, 2012

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

bulk_insert_buffer_size – Used by MyISAM tables only to optimize bulk inserts (multiple value inserts). Really helps if you have really bulk inserts 100-1000+ values per single insert

Post: Ultimate MySQL variable and status reference list

…commanual bulk_insert_buffer_…innodb_buffer_pool_instancesblogpercona.commanual Innodb_buffer_pool_pages_datablogpercona.commanual Innodb_buffer_pool_pages_dirtyblogpercona.commanual Innodb_buffer_pool_pages_flushedblogpercona.commanual Innodb_buffer_pool_pages_freeblogpercona.commanual Innodb_buffer

Post: MySQL Server Memory Usage

buffers which are allocated at start and always where – these are key_buffer_size, innodb_buffer_pool_size, innodb_additional_memory_pool_size, innodb_log_buffer_size, query_cache_sizebulk inserts may allocate bulk_insert_buffer_size bytes of memory if done to MyISAM tables. myisam_sort_buffer_size

Comment: When is it a time to upgrade memory ?

…-storage-engine=InnoDB bulk_insert_buffer_size=8M # Innobd Tuning #innodb_force_recovery=2 innodb_thread_concurrency=2 innodb_file_per_table=1 innodb_doublewrite=0 # Set buffer pool size to… file size to about 25% of the buffer pool size innodb_log_group_home_dir = /mnt/log_mysql innodb_log_file_size=1G innodb_log_buffer_size=64M innodb_flush…

Post: Aligning IO on a hard disk RAID – the Benchmarks

size = 16M max_heap_table_size = 64M thread_cache_size = 32 query_cache_size = 0 tmp_table_size = 64M key_buffer_size = 8M bulk_insert_buffer_size = 8M myisam_sort_buffer_size

Post: Predicting how long data load would take

… indexes by sort which is very fast and Innodb can use insert buffer for them. Data Insert Order It is well known it is… may benefit from bulk_insert_tree_size increase myisam_sort_buffer_size or key_buffer_size increase. Innodb typically needs large innodb_buffer_pool_size and large innodb_log_file_size to perform…

Post: Using MyISAM in production

… rows in tens of thousands tables) Innodb was better choice mainly because of …decent myisam_sort_buffer_size and large myisam_max_sort_file_size otherwise recovery may…has to be one insert at the time. Happily inserts in MyISAM are …if you need to run some bulk operations. For example running full …

Post: MySQL Users Conference - Innodb

…- you have to specify compressed block size, this is the size to which you expect each page to… insert cases – in fact if the insert is single value insert or the number of values in the bulk…of interesting benchmarks stress testing other areas in Innodb than buffer-pool which had it locking relaxed …

Post: Heikki Tuuri answers to Innodb questions, Part II

… Mysql is the main one with “innodb_buffer_pool_size=20480M”) while the bulk of the rest (9 GB) is used for… – choosing innodb_buffer_pool_size Q36: There have been several MySQL bugs opened about multi-core scalability (concurrent queries, autoincrement, concurrent inserts, instrumentation, etc…

Post: How many partitions can you have ?

…unsigned NOT NULL, PRIMARY KEY (`id`), KEY(c) ) ENGINE=InnoDB PARTITION BY RANGE(id) ( PARTITION p100000 VALUES LESS….41 for my tests increasing buffer pool to 1G and log file size to 128M so all data… c=c+1 to my bulk inserts) the regression became even larger. 1 partition insert took 50 seconds to …