Scaling MySQL writes through partitioning
Philip Tellis (10.Mar.2010 at 15:45)
Talk at ConFoo.ca Web Techno Conference (English - US)
MySQL is fairly fast for most applications, but every now and then you might come across an application that needs fast writes at a very large scale. The problem with this is that if your inserts are not ordered according to your primary key, then once you cross a limit known as the innodb_buffer_pool_size (for InnoDB tables), write performance starts to degrade because you're now hitting disk a lot. This limit is dependent on the amount of RAM you have, and that in turn is limited by how much money you can throw at the problem. At some point it makes sense to close your pocket and start thinking of a way to hack around the problem.
Faced with a similar problem, we figured out a way to hack it with MySQL 5's partitioning to scale writes to a consistently high rate.
In this talk, I'll cover all the steps we went through to get to this solution in the hopes that either the solution itself or the thought processes behind it will help others solve their own scaling problems.
Quicklink: https://joind.in/1308
By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.
If the claim is approved you will be able to edit the information for this talk.
Are you sure?




24.Mar.2010 at 17:12 by Pierre-Luc Soucy
Nice presentation. I don't think I'll run into a situation similar to the speaker's (200M entries to log daily) anytime soon, but this was a nice introduction to MySQL partitioning nevertheless. Good info.