May 21, 2012

Post: How to Monitor MySQL with Percona's Nagios Plugins

fail. These things tend to happen at inconvenient times. The pmp-check-mysql-file-privs plugin checks whether MySQL owns every file and directory within its data directory. InnoDBsize

Post: Faster Point In Time Recovery with LVM2 Snaphots and Binary Logs

InnoDB, it is also important that your transaction logsmysql> show binary logs; +——————+———–+ | Log_name | File_size | +——————+———–+ … | mysql-bin.000022 | 336797725 | | mysql-bin.000023 | 107 | +——————+———–+ 23 rows in set (0.00 sec) mysql

Post: How to change innodb_log_file_size safely

… change MySQL’s innodb_log_file_size parameter (see How to calculate a good InnoDB log file size), you can’t just change the parameter in the my.cnf filefile… That really means that InnoDB hasn’t started, and MySQL is trying to access a table with the InnoDB storage engine, which is failing

Post: How long is recovery from 8G innodb_log_file

… of innodb_log_file_size > 4G. This test was done using Percona Server 5.5.7, but the same performance expected for InnoDB-plugin and MySQL… it. I took the same tpcc-mysql 1000W workload with 52GB and 144GB innodb_buffer_pool_size with data located on Virident tachIOn… like DRBD, as it basically means this is time for fail-over period, and your system will be down during this…

Post: Ultimate MySQL variable and status reference list

MySQL manual, especially …innodb_log_buffer_sizeblogpercona.commanual innodb_log_file_sizeblogpercona.commanual innodb_log_files_in_groupblogpercona.commanual innodb_log_group_home_dirblogpercona.commanual Innodb_log_waitsblogpercona.commanual Innodb_log_write_requestsblogpercona.commanual Innodb_log

Post: Multiple purge threads in Percona Server 5.1.56 and MySQL 5.6.2

size=16G innodb_log_file_size=1900M innodb_flush_log_at_trx_commit=2 innodb_doublewrite=1 innodb_flush_method=O_DIRECT innodb_max_dirty_pages_pct=80 innodb_file_format=barracuda innodb_file

Post: How Percona does a MySQL Performance Audit

…safe –defaults-file=/etc/my.cnf –pid-file=/var/run/mysqld/mysqld.pid –log-error=/var/log/mysqld.log mysql 3172 3137…absence of innodb_log_file_size. I won’t give you a full rundown over every option in the file. But …be running the query, and if the query fails, then you know from the error code …

Post: Shard-Query EC2 images available

innodb-io-capacity=1000 innodb-log-buffer-size=32M innodb-log-file-size=128M innodb-open-files=1000 innodb_fast_checksum innodb-purge-threads=1 innodb-read-ahead=linear innodb-read-ahead-threshold=8 innodb

Post: MySQL Crash Recovery

innodb_log_file_size and innodb_buffer_pool_size affect recovery time significantly as well as your workload. I should also mention if you have innodb_fileInnodb you also might with to use innodb-safe-binlog option in MySQL 4.1 so your Innodb log and binary log are synchronized. In MySQL

Post: What to tune in MySQL Server after installation

…tuned in MySQL Server straight after installation, assuming it was installed with default settings. I’m surprised how many people fail …much memory Innodb allocates for misc needs. innodb_log_file_size Very important for write intensive workloads especially for large data sets. Larger sizes offer …