Ad Widget

Collapse

Heavy MySQL load...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #1

    Heavy MySQL load...

    The latest zabbix beta's seem to be hitting mysql a lot harder than the older versions.

    My server used to idle around 10%, then 20% and now 50% total CPU usage.

    I have optimised mysqld as much as I can, given it a fair amount of RAM (uses about 200MB). The data is about 800MB/10,000,000 rows.

    I might just upgrade the server, but I didnt think I would hit a performance wall so soon.

    Has anyone else had similar experiences with zabbix?
  • sauron
    Senior Member
    • Jan 2005
    • 215

    #2
    Originally posted by edeus
    The latest zabbix beta's seem to be hitting mysql a lot harder than the older versions.

    My server used to idle around 10%, then 20% and now 50% total CPU usage.

    I have optimised mysqld as much as I can, given it a fair amount of RAM (uses about 200MB). The data is about 800MB/10,000,000 rows.

    I might just upgrade the server, but I didnt think I would hit a performance wall so soon.

    Has anyone else had similar experiences with zabbix?
    Hmm... Now i'm used zabbix 1.1beta2
    My Zabbix Status:
    Code:
    Parameter	Value
    ZABBIX server is running	Yes
    Number of values stored	338710436
    Number of trends stored	9644358
    Number of alarms	24756
    Number of alerts	101831
    Number of triggers (enabled/disabled)	365(359/6)
    Number of items (active/trapper/not active/not supported)	2407(2251/82/1/155)
    Number of users	5
    Number of hosts (monitored/not monitored/templates)	100(85/15/2)
    Database size is 13.7 Gb. But i'm use SCSI disk for store this
    I'm use 512Mb example my.cnf for tune MySQL.

    Comment

    • KarmaPolice
      Member
      • Oct 2005
      • 95

      #3
      I'm guessing that you don't have most of the InnoDB stuff tuned (as i don't believe it is done so by default in the 512mb my.cnf file)... and since Zabbix uses InnoDB exclusively (from what i can see) you may want to look into those InnoDB parameters for MySQL...

      Comment

      • sauron
        Senior Member
        • Jan 2005
        • 215

        #4
        InnoDB tune include but commented.

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Originally posted by edeus
          The latest zabbix beta's seem to be hitting mysql a lot harder than the older versions.
          This is not related to changes in the software. Recent versions of ZABBIX do not use DB heavier than previous betas/alphas.

          Pay attention to tuning of you database and(or) housekeeping parameters.
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          Working...