MySQL Forums
Forum List  »  Performance

Re: Does MySQL use multiple cores?
Posted by: Rick James
Date: September 29, 2011 07:05AM

For one query, MySQL won't use more than one CPU/core/hyperthread.

Multiple connections can use multiple cpu units. After about 8 cores, the interactions between the threads becomes a bottleneck and performance stops increasing. Percona's version of InnoDB stretches that considerably.

No, PARTITIONing does not lead to a single query using multiple cores. This seems like the first (and easiest) case that ought to be remedied.

Rumor has it that the InfoBright engine can use multiple cores. (It's a "column store" that is excellent at huge data warehousing tables with ad hoc queries.)

> I'm newbie in MySQL (I'm Oracle DBA)
How much overhead does it cost to figure out how to split up a query for spreading across cpus? And stitching the results back together?

If a query takes more than a few seconds, there is a pretty good chance that it can be redesigned to run much faster, even without throwing hardware (CPUs) at it.

Options: ReplyQuote


Subject
Views
Written By
Posted
2326
September 28, 2011 07:23AM
Re: Does MySQL use multiple cores?
3253
September 29, 2011 07:05AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.