Home

MySQL Users Conference 2005

I learned about replication, storage engines, tuning, and MySQL 5.* features.

Conference Presentation Files

Notes Overall Thoughts

We should work a migration to InnoDB into our overall plan. It is more stable, and has quicker responsiveness in high-load situations due to row level locking. There are also tools which make it easier to do hot backups and replication of data.

We should try replication again. More care can be taken to ensure that we don't write to the slave or get off track. We can be much more selective with replication as well. If we are willing to put more time into it, a dual-master configuration would probably serve us fairly well, allowing for easier failover and spread-out writes. This could be made possible by using offsets in the auto_increment fields to ensure that primary keys remained unique across the servers.

There is more we can do to tweak the behavior of the server. Both MyISAM and InnoDB tables have variables that affect their overal performance. There are still buffer and behavior settings in the server that we can pay attention to, and even the DBI has a cache-local or cache-server setting that could help us. The system could stand some tuning as well - many disks have write-cache which causes double-buffering and can trick MySQL into thinking a transaction is written when it is still in cache. Also, the removal of swap might be a good idea.

Also, we need to watch the 5.0 series develop. Their backup, clustering, and central logic (triggers and views) features could do alot for us.

An Unorganized List of "Hilights"