[ZBX-11968] Improve trigger macro expansion performances Created: 2017 Mar 24  Updated: 2017 May 30  Resolved: 2017 Apr 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Andrea Biscuola (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: macro, performance, server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

After the introduction of ZBX-11829, some kind of trigger expression containing macros broke. For fixing it, ZBX-11951 introduce some expensive calls to substitute_simple_macros() for that.
There are potentially redundant calls in the code branch from DBmass_update_triggers() down to evaluate_expression() and this is (pretty sure) a performance hit.

That part of code should be re-worked for making performances better in this regard



 Comments   
Comment by Andrea Biscuola (Inactive) [ 2017 Apr 11 ]

Duplicate of ZBXNEXT-3741

Generated at Thu Mar 28 20:03:41 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.