Ad Widget

Collapse

Let me configure histsyncer interval?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elrond
    Junior Member
    • Dec 2024
    • 1

    #1

    Let me configure histsyncer interval?

    The current history syncer interval is fixed at 1 sec.
    Most customization happens via the StartDBSyncers setting.
    This is probably fine for most installations.

    I have a quite small installation (< 10 hosts, only a few dozesns of real data points).
    Setting StartDBSyncers=1 was my first step at scaling down to reduce resource usage.
    I would like to increase the interval between Database Syncs to something like one minute.
    This would reduce the load on the database further by submitting "bigger" (well, not really) batches of data to the database in one transaction (and thus reduce partially written pages, etc).
    I am fully aware that in case of a crash / power failure I will loose that minute of data. That's acceptable in my scenario.

    But there is no setting to change this.
    Code:
    static int      config_histsyncer_frequency     = 1;
    I have found this support issue: https://support.zabbix.com/browse/ZBXNEXT-1742

    zabbix developers do not consider this to be likely to provide any significant benefits - closing this issue for now
    Maybe times have changed since then and resource usage is more important today?
  • peter598philip
    Junior Member
    • Jan 2025
    • 1

    #2
    Originally posted by Elrond
    The current history syncer interval is fixed at 1 sec.
    Most customization happens via the StartDBSyncers setting.
    This is probably fine for most installations.

    I have a quite small installation (< 10 hosts, only a few dozesns of real data points).
    Setting StartDBSyncers=1 was my first step at scaling down to reduce resource usage.
    I would like to increase the interval between Database Syncs to something like one minute.
    This would reduce the load on the database further by submitting "bigger" (well, not really) batches of data to the database in one transaction (and thus reduce partially written pages, etc).
    I am fully aware that in case of a crash / power failure I will loose that minute of data. That's acceptable in my scenario.

    But there is no setting to change this.
    Code:
    static int config_histsyncer_frequency = 1;
    I have found this support issue: https://support.zabbix.com/browse/ZBXNEXT-1742



    Maybe times have changed since then and resource usage is more important today?
    Hello,
    It's great that you're looking to optimize resource usage! Unfortunately, Zabbix doesn't currently offer a setting to change the history syncer interval. However, you can try reaching out to Zabbix support again or checking for any updates, as times and priorities may have changed. my lonestar login



    Best regards,
    Peter Philip

    Comment

    Working...