June 18, 2013

Post: Ultimate MySQL variable and status reference list

MySQL manual, especially the option …Com_replaceblogpercona.commanual Com_replace_selectblogpercona.commanual Com_…delayed_insert_limitblogpercona.commanual Delayed_insert_threadsblogpercona.commanual delayed_insert_…writtenblogpercona.commanual innodb_purge_batch_sizeblogpercona.commanual innodb_…

Post: Fighting MySQL Replication Lag

… the loop, controlling maximum amount of values per batch in multiple row insert statement or Fetching data you’re planning to update… scan in MySQL 5.0 (even if there are no spam posts) which will load slave significantly. You can replace it with… rows examined than modified. The next common mistake is using INSERT … SELECT – which is in similar to what I just described…

Post: Side load may massively impact your MySQL Performance

… test system. It is worth to note MySQL actually uses midpoint insertion for its buffer pool replacement policy . Unfortunately by default it is…. However when you’re doing mysqldump (or running some complex batch job query) you are likely going to have multiple accesses… in default configuration MySQL has buffer pool which can be easily washed away by large table scans or heavy batch jobs. If…

Post: Innodb performance gotcha w Larger queries.

replacing single value UPDATE with multiple value REPLACE (though I also saw the same problem with INSERT…10 in the batch performance improved, especially for network tests, however going to batches of …lock_type != LOCK_NONE && trx->mysql_query_str) { /* Scan the MySQL query string; check if SELECT…

Post: Heikki Tuuri Innodb answers - Part I

batch jobs killing server performance overtaking buffer pool. Though full table scan is only one of replacement…: ha_innodb.cc in 5.1: static MYSQL_SYSVAR_ULONG(thread_concurrency, srv_thread_concurrency…re performing INSERT with multiple values? We build up INSERTS on our clients and insert values 50…

Post: How innodb_open_files affects performance

… be open or closed. Furthermore besides MySQL table_cache Innodb maintains its own (… writes ? I tried again very simple test inserting the row in each of 100K …47:44 InnoDB: Starting an apply batch of log records to the database…… such as surprised slow downs for replacing open files in the list. I…