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!

Poor MySql performance after cPanel installation - how modify MySql parms?

Discussion in 'Database Discussion' started by mvel001, Oct 15, 2011.

  1. mvel001

    mvel001 Member

    Sep 8, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Hello People

    I already have a shared hosting service with lot of accesses to database (some 20/30 per second). That hosting has MySql very well configured, because when listing processes, they never exceeds 2-3 seconds, never having more than 3-4 processes on queue, so all runs ok there. I use BLOB fields to show pictures, so tmp tables are necessary as I read in manual.

    But I heard I should move soon to VPS machine because shared services probably won´t support anymore this traffic.

    I installed a VPS - cPanel machine and made mirror-copy of my databases to it, then I set my scripts to work with these data to check if VPS really works so fine on it.

    To my surprise, on VPS machine appeared lot of "copying to tmp table", "sorting tmp table" and "login" commands on processes queue (some times until 60 - 80 entries), many of them lasting 30 - 40 seconds to excecute.

    No need to say performance became so bad I decided return to my old shared hosting until find a solution.

    My question is: where on cPanel can I modify MySql (or maybe PHP) parameters to increase database performance? I know there are several parameters like buffer-size, temp tables size and other that can be changed, for example in this link they are well explained. It is necessary edit linux or apache files to get this?


    thanks in advance
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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