Ad Widget

Collapse

Zabbix database maintenance advice

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jhdore
    Junior Member
    • Oct 2019
    • 4

    #1

    Zabbix database maintenance advice

    Hi all,

    I've had Zabbix running for a couple of years, and the database is about 23GB in size (based on observations of the mysqldump file). It takes a while to back up when I'm doing upgrades - are there any features I can use to shrink the size of the database, such as throwing data older than x years, or whatnot? I can't find any docs that might indicate how to do database maintenance on the zabbix server itself.

    Is 23GB of data in the db a problem?

    We're using MariaDB (MySQL) as the db, on Ubuntu 18.04 LTS, and currently at Zabbix version 5.0.21 installed from the repositories.

    Cheers,
    James
    Last edited by jhdore; 04-03-2022, 13:37. Reason: Added more info on versions
  • Answer selected by jhdore at 08-03-2022, 12:40.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    23G... tiny one.. I have ~1T..:P

    But to reduce... how long you keep your data? You can try to reduce history storage times. Set shorter period in housekeeper (also "Override item history period") and let it do the job...

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      23G... tiny one.. I have ~1T..:P

      But to reduce... how long you keep your data? You can try to reduce history storage times. Set shorter period in housekeeper (also "Override item history period") and let it do the job...

      Comment

      • jhdore
        Junior Member
        • Oct 2019
        • 4

        #3
        Ah, that guided me to the correct area in the platform, and I found the data retention settings, thanks! Good to know I have a small one too

        Comment

        Working...