June 19, 2013

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

… an optimal my.cnf is not a tool. It’s a human with many years of experience, deep knowledge of MySQL and the… on my.cnf. It is not the be-all and end-all of performance. Tuning your server settings has far less impact on performancemy.cnf files I see only need minor tweaks, which give only so-so performance improvements. Tuning my.cnf only helps a lot when my.cnf has…

Post: Profiling MySQL Memory Usage With Valgrind Massif

… instance include –default-file=/etc/my.cnf (if this is where your my.cnf file is located) in order …->84.91% (349,404,796B) 0x7A3CB0: my_malloc (in /usr/local/percona/mysql-5.5.28/usr/sbin/mysqld) |…you’ll likely find that the default options will perform well in most scenario’s. For the technically…

Post: What's required to tune MySQL?

… huge wins. If MySQL is actually badly configured, you can hurt its performance significantly. Correcting these mistakes can correspondingly improve performance. But such… more than simply looking at your my.cnf file. It’s sometimes possible to look at the my.cnf file and see something wrong…

Post: Getting MySQL Core file on Linux

… files. First you need “core-file” option to my.cnf which will instruct MySQL to dump core on crash. This alone will unlikely… could not really get core dumped to /var/lib/mysql (datadir) on my system (Ubuntu). You might be lucky and it might… if you expect to do any MySQL profiling or dealing with crashes. It does not slow MySQL performance yet it is very helpful…

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

… tests were performed on Percona’s R900 machine. The scripts and results are on Benchmark Wiki and the relevant my.cnf settings were… to not to penalize further TPS. MySQL 5.6.2 Results Now let’s test MySQL 5.6.2. It is important… I am sure that next MySQL 5.6 versions will contain a fixed and much better performing implementation, which I am looking…

Post: thread_concurrency doesn't do what you expect

my.cnf file by default. One example is Debian and its variants. Furthermore the default my.cnf files of MySQL like my-large.cnf, my-innodb-heavy-4G.cnf… in some workloads limiting the value can give use some performance benefits. As we always say, set up benchmark tests to… of MySQL tuning howtos that explain how to tune the variable to get better performance. If you have the variable in your my.cnf

Post: Infinite Replication Loop

… the server-id in my.cnf. You change the server-id interactively, this is an action you should never perform on a slave… event with the wrong server-id are performed on the two slaves (mysql 3 and mysql 4) and the new events (with server… returned by SHOW MASTER STATUS on mysql 4 (this position will increase every time writes are performed on the active master, so…

Post: Shard-Query EC2 images available

… bit instances. MySQL will fail to start on a micro instance, simply decrease the values in the /etc/my.cnf file if you…,63.366,14.573 InnoDB my.cnf [client] port=3306 socket=/tmp/mysql-inno.sock [mysqld] socket=/tmp/mysql-inno.sock default-storage-engine… way you can verify the numbers in my next blog post. I will compare performance of various cluster sizes on both storage…

Post: Percona XtraDB Cluster - installation and setup webinar follow up Q&A

….bootstrap=true’. Q: Can you quickly show the my.cnf settings again? A: Sure, see this post …split. Q: How does latency and bandwidth affect performance? Is it practical to buildthe cluster over … on asynchronous replication, galera and built-in mysql replication are independent from each other. Q: …