GET 24/7 LIVE HELP NOW

Announcement

Announcement Module
Collapse
No announcement yet.

MysSQL using 2 or 4 CPUs

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MysSQL using 2 or 4 CPUs

    Hello Forum:

    I need to optimize my MySQL database to use more than one cpu.
    Currently it is only using one CPU. I would like to know if there is a command or parameter that I can add tot he my.cnf file for this to happen.

    This is the cpu's info:
    model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
    I would like to use 2 cpus on one server and 4 cpus on another server for mysql.

    Thanks.
    --Willie

  • #2
    MySQL uses several CPU's as default.
    BUT one query can only be executed in one thread.

    So if you have long running queries like reports or something that is very CPU bound they will unfortunately basically only load one CPU on the machine.

    On the other hand if you have a very CPU intensive query it usually is a sign that you could tune some indexes to speed it up.

    Comment

    Working...
    X