Hi,
When using trigger functions such as min, max and avg, what unit for time has better performance (sec or #num)?
For instance, assuming I collect 'vm.memory.size[pused]' every minute, which of these two operations would put less load on the database/run faster?
1 - avg(//vm.memory.size[pused],15m) > 85
2 - avg(//vm.memory.size[pused],#15) > 85
I would assume the second option puts less load on the server because it just gets the last 15 values and no time comparison needs to be done, but I'm not sure. Anyway, I was just curious to see what puts less load on the Zabbix server specially when doing this for 1000+ servers.
Thank you
When using trigger functions such as min, max and avg, what unit for time has better performance (sec or #num)?
For instance, assuming I collect 'vm.memory.size[pused]' every minute, which of these two operations would put less load on the database/run faster?
1 - avg(//vm.memory.size[pused],15m) > 85
2 - avg(//vm.memory.size[pused],#15) > 85
I would assume the second option puts less load on the server because it just gets the last 15 values and no time comparison needs to be done, but I'm not sure. Anyway, I was just curious to see what puts less load on the Zabbix server specially when doing this for 1000+ servers.
Thank you
Comment