June 19, 2013

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

…. The SSB The SSB tests a database’s ability to optimize queries for a star schema. A star schema presents some unique challenge to the database optimizer. The SSB benchmark consists of four sets of queries. Each… built the keys with sort via ALTER TABLE ENABLE KEYS. my.cnf [mysqld] datadir=/mnt/mysql56/data basedir=/usr/local/mysql socket…

Post: Choosing a MySQL HA Solution - Post-Webinar Q&A

… nothing wrong with a virtual-machine approach, but for the optimal production deployment you want two identical physical boxes with at… can also use the slave_compressed_protocol option in /etc/my.cnf if bandwidth is a concern. If you’re thinking about… obvious disclaimer here in that the aforementioned statements reflect only my opinion and not any official Percona position, and I will…

Post: Percona Server 5.5.30-30.2 rerelease fixes non-restart issue

… and omitting the corresponding secondary keys from deferred key creation optimization. Bug fixed #1081016 (Alexey Kopytov). Percona Server for MySQL was…-dir option was set in the [client] section of the my.cnf. Bug fixed #1155859 (Sergei Glushchenko). Fixed the upstream bug #68845… fixed #1163262 (Alexey Kopytov). When mysqldump was used with –innodb-optimize-keys and –no-data options, all secondary key definitions would…

Post: Percona Server for MySQL 5.5.30-30.2 now available

… and omitting the corresponding secondary keys from deferred key creation optimization. Bug fixed #1081016 (Alexey Kopytov). Percona Server for MySQL was…-dir option was set in the [client] section of the my.cnf. Bug fixed #1155859 (Sergei Glushchenko). Fixed the upstream bug #68845… fixed #1163262 (Alexey Kopytov). When mysqldump was used with –innodb-optimize-keys and –no-data options, all secondary key definitions would…

Post: The ultimate tool for generating optimal my.cnf files for MySQL

… few “tuning primers” and “my.cnf generators” and “sample my.cnf files” online. The ultimate tool for generating an optimal my.cnf is not a tool. It… my.cnf only helps a lot when my.cnf has extremely bad parameters. The kind you’ll get from tuning primers and automated my.cnf optimization scripts…

Comment: The ultimate tool for generating optimal my.cnf files for MySQL

… regarding my.cnf tuning, only some trolling on how bad “automated scripts” are and how superior the writer is into tuning my.cnf (but… named “The ultimate tool for generating optimal my.cnf files for MySQL” ? ;-) The meaning of tuning my.cnf is not do to some magic (which… that a very bad my.cnf can bring performance down even if you have correct design, index and optimized queries. Innodb on the…

Comment: The ultimate tool for generating optimal my.cnf files for MySQL

I think there is a difference between “better than default my.cnf” and “optimal my.cnf” – It is indeed possible to automate things, often by… be better than default my.cnf in 99% cases. However it is not possible to get the most optimal config file automatically. This…. For example recovery time (smaller innodb_log_file_size than optimal), fast warmup after MySQL Restarts (so you need double buffering…

Post: When to use Hardware upgrade instead of Software Optimization

… is whenever it is better to use hardware upgrade or optimize software more. I already wrote about it, for example here…, Architecture optimized well enough ? Do not advice hardware upgrade as the first thing when you can triple performance by simple my.cnf change… exactly your goal with hardware upgrade ? Same as with software optimizations and changes you do should have a goal. You add…

Post: MySQL: what read_buffer_size value is optimal ?

The more I work with MySQL Performance Optimization and Optimization for other applications the better I understand I have to … you should set this variable to some high value. Sample my.cnf values on large memory sizes recommend 1M settings and MySQL…

Comment: Why MySQL could be slow with large tables ?

Eddie, this depends on 1. Your MY.CONF settings http://www.notesbit.com/index.php/web-mysql/mysql/mysql-tuning-optimizing-my-cnf-file/ 2. The type of table it is — is it MYISAM or INNODB? For InnoDB, you may also fix the INNODB specific settings.