[ZBXNEXT-3669] Trigger expression evaluation optimization Created: 2017 Jan 27  Updated: 2017 Feb 01  Resolved: 2017 Feb 01

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 3.0.7
Fix Version/s: 3.0.8, 3.2.4, 3.4.0alpha1

Type: Change Request Priority: Major
Reporter: Andris Zeila Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: optimization
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

When evaluating trigger expressions Zabbix server:

  1. extracts functions used in trigger expressions
  2. calculates function values
  3. replaces functions with calculated values in trigger expressions

Zabbix functions are unique across the triggers, so even if the item, function and parameters are the same, the function is still calculated once per every trigger it is used in. However if the trigger timestamp matches the function value will be the same and it can be calculated once for all triggers.



 Comments   
Comment by Andris Zeila [ 2017 Jan 27 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-3669

Comment by Alexander Vladishev [ 2017 Jan 31 ]

Successfully tested! Have a look at my changes in r65409 and r65410.

wiper Thanks!

Comment by Andris Zeila [ 2017 Feb 01 ]

Released in:

  • pre-3.0.8rc1 r65419
  • pre-3.2.4rc1 r65435
  • pre-3.3.0 r65438
Generated at Thu Mar 28 11:02:53 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.