One common job for a DBA is working with a Development Team member on a batch loading process that is taking more time than expected.
Often once you start probing into what has already been done to performance tune the load process, it seems you often learn that very little has, in fact, been done to improve efficiency and speed.
Since there are so many things that can be done to improve this process, it really is outside the scope of this article to cover them all. Hopefully this will serve as a guide to get you started in the process.
Let’s outline best practices for loading data into MySQL very quickly. While this is not a comprehensive list of loading methods and configuration, it is a good starting point.
MySQL Configuration
Assuming you are loading into InnoDB tables (and you should probably be doing so), you will want to ensure that MySQL is properly …
[Read more]