I usually tell people to use official MySQL builds from MySQL, or from their operating system distribution if they don’t want to do that. (This assumes that there is no compelling reason to use third-party builds such as Percona’s.) Sometimes, though, people want to create their own builds, or use a build that is “optimized” for whatever reason.
This is usually a bad idea. Most “optimized” builds really aren’t. One of the common problems I see is that a lot of them, including sometimes those shipped with popular Linux distributions, are stripped. That is, the binaries have no symbols. That means you can’t profile them with oprofile, you can’t analyze waits with PMP, you can’t use GDB, you can’t figure out core dumps, and so on. Well, actually you can do some of these things, but only with some effort.
And that’s why I tell people they generally should not try to “optimize” their server by custom compiling it. The top-tier users have reason to do so. Most users are better off putting their effort into measuring what’s happening, and a stripped build only makes that harder to do. Besides, it’s far too easy to subtly mess up a MySQL build and really end up with a problem.
Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.
Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.