June 19, 2013

Post: Replication in MySQL 5.6: GTIDs benefits and limitations - Part 2

to change the replication topology when using GTID-based replication. That will show where GTIDs shine and where… can find part one here. Our goal will be to go from setup #1 to … can be read in the auto.cnf file in the datadir). So the… of course, but very poor in my opinion: look for the binlog file…

Post: Galera Flow Control in Percona XtraDB Cluster for MySQL

to Galera is existence of a replication feedback mechanism, unlike anything you find in standard async MySQL replication. It is my…therefore time-consuming to the application. How to tell if flow control is happening and where it is … Ops Bytes Flow Conflct time name P cnf # name cmt sta Up Dn Up Dn …

Post: How to start a Percona XtraDB Cluster

find any node running the cluster, in that case mysqld failed to start. To avoid this, when all nodes where down and you wanted to… nice feature, especially for people that didn’t want to modify my.cnf after starting the first node initializing the cluster or people… start –wsrep-cluster-address=”gcomm://” As there is no need to modify my.cnf, this is how I recommend to do it.

Post: Realtime stats to pay attention to in Percona XtraDB Cluster and Galera

… will not allow database operations. cnf This is wserep_cluster_conf_id — …performance issues where I noticed that the Ops and Bytes went to Zeros …were SENT from this node.  Handy to find the node slowing the others down… I had to decrease my table size from 250k to 2.5k to start seeing replication…

Post: Heikki Tuuri answers to Innodb questions, Part II

… in my.cnf, to prevent double buffering. Configure as much memory as possible to InnoDB’s buffer pool. For this, you need to find a way to tell Linux to keep a small OS… showed up in “show innodb status”. select * from table where id=5 show innodb status: Hash table size 10624987, used…

Post: Win a free ticket to RailsConf!

… as a consolation prize. Here’s the catch: you have to find at least one thing wrong with the following typical logrotate… password you have to create a # /root/.my.cnf configuration file with the following # content: # # [mysqladmin] # password = # user= root # # where” is the…

Post: Shard-Query EC2 images available

… will fail to start on a micro instance, simply decrease the values in the /etc/my.cnf file if you really want to try…/run_worker to contain the following: #!/bin/bash while [ 1 ] do ./worker >> /dev/null 2>&1 < /dev/null done; Where to find the images….287,581.295,11.042,63.366,14.573 InnoDB my.cnf [client] port=3306 socket=/tmp/mysql-inno.sock [mysqld] socket…

Post: Why you should ignore MySQL's key cache hit ratio

…will find lots of advice on “tuning by ratio,” including phrases such as “The ratio of key_reads to… very slow relative to other parts of the computer. And here’s where I return to what I called …is a shame. When you are new to MySQL, trying to configure my.cnf, and you have heard guidance that seems …

Post: What to tune in MySQL Server after installation

… people fail to provide any reasonable answer to this question, and how many servers are where in … not going to grow dramatically do not oversize innodb_buffer_pool_size you might find better … contains bunch of sample my.cnf files which may be great templates to use. Typically they would …

Post: How Percona does a MySQL Performance Audit

… from /etc/my.cnf. I’ve seen a lot of cases where there’s a /var/lib/mysql and an /etc/my.cnf, and the server is installed in /customsoftware/mysql with a different my.cnf file. The way to find this out is to look at…