Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the maximum number of cores used by a single MySQL server in a production setting?

share|improve this question

migrated from Nov 11 '11 at 2:42

This question came from our site for professional and enthusiast programmers.

up vote 8 down vote accepted

The MySQL server can use any [1] number of cores. But remember that a single connection/query will only use one thread. So while MySQL supports many core the queries are processed on one core each.

  • [1] wrt. recent technology.
share|improve this answer

I recommend you MySQL 5.5 -- add this manual page and licence page and this benchmark together and you will see why. To clarify further: MySQL -- rather, the InnoDB storage engine -- will use all cores in the system but up until 5.4 it actually slowed down with a higher number of cores, Google fixed this and the first MySQL to contain it is 5.5.

This fix also can be found in the 1.0.4 plugin and newer which can be enabled in MySQL 5.1.38.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.