Skip to main content

Information schema and diskspace used query

Comments

3 comments

  • SysSachin
    Are you getting any issues with the mysql load. You can go with the mysql governor if you are using the cloudlinux.
    0
  • cPanelMichael
    Hello, That process stems from the following option under the "SQL" tab in "WHM >> Tweak Settings": Use INFORMATION_SCHEMA to acquire MySQL disk usage Per it's description: Using INFORMATION_SCHEMA ensures that disk usage by MySQL tables is included in totals. However, enabling this option may cause a significant drop in performance as MySQL may become unresponsive until data collection is complete. Disabling this option causes the system to query the filesystem directly, potentially excluding disk space used by some database tables. Note: If you use a remote MySQL server, you must turn this setting On in order to calculate MySQL disk usage. You can disable this option, or modify the following root cron job using the "crontab -e" command if you prefer to keep it enabled and have the database disk space usage process ran at a specific time of the day: 30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
    Thank you.
    0
  • sahostking
    Are you getting any issues with the mysql load. You can go with the mysql governor if you are using the cloudlinux.

    We like to run things like this all during the night and not during the day. We have many servers with many databases on it so best to perform this. We planning optimization strategies currently. @cPanelMichael - Thanks man
    0

Please sign in to leave a comment.