Skip to main content

SQL using resources

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  None of the details from that output mean much to me.  Are there any errors inside the MySQL error log itself?  That would typically be stored at /var/log/mysqld.log unless the location has been customized.

    1
  • AtlantisStargate

    Hi cPRex thank you for your reply.

    The logs don't seem to offer anything special, but still here is the log for this month (valid for 7 days);

    https://pastebin.com/sKrwbXAj

    since MariaDB is constantly using about 40% of my servers resources and the above trace is constant I'd expect the log to be more than 12MB in size (the log is since thegning of 2019).

    Anything else I can check? Just in case here is the output of the variables;

    https://pastebin.com/1TMYhjZP

    Thank you again!

    0
  • cPRex Jurassic Moderator

    That log does show that the "production" table has some type of issue, and is frequently being accessed.  If that isn't an InnoDB table you could try and run a repair on it.  If it is an InnoDB table, you may be better off restoring a backup, but the number of crashed table errors in that log isn't a good sign.

    0

Please sign in to leave a comment.