Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mysql use all cores

Discussion in 'Workarounds and Optimization' started by nisamudeen97, Jun 25, 2016.

Tags:
  1. nisamudeen97

    nisamudeen97 Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    49
    Likes Received:
    5
    Trophy Points:
    58
    Location:
    Cochin
    cPanel Access Level:
    Root Administrator
    Hi,

    I am currently setting up a website that uses a mysql database having more than 4 crore rows of data. I am using one server for files and separate mysql server. Two servers are having 20 core, 64 gb ram. Meanwhile I could see while executing longest mysql queries my mysql server is using two cores maximum hence it is taking more than 38 seconds to execute my longest query. see the result below.


    # User@Host: dev_data @ localhost []
    # Query_time: 38.113460 Lock_time: 0.000514 Rows_sent: 10 Rows_examined: 48683733

    How can i configure my mysql server so that it uses all the 20 cores to handle the mysql ? How can I achieve this ? Mysql version using 5.6
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice