The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mysql use all cores

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

Tags:
  1. nisamudeen97

    nisamudeen97 Active Member

    Joined:
    Jul 7, 2010
    Messages:
    38
    Likes Received:
    4
    Trophy Points:
    8
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page