-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
4.0.0beta1
In ZBXNEXT-413, Timer process codes are modified. especially for tag based maintenance. Now I check them.
The following code is In the function db_get_query_events().
226 result = DBselect("select eventid,objectid,r_eventid"
227 " from problem"
228 " where source=%d"
229 " and object=%d"
230 " and " ZBX_SQL_MOD(eventid, %d) "=%d"
231 " order by eventid",
232 EVENT_SOURCE_TRIGGERS, EVENT_OBJECT_TRIGGER, CONFIG_TIMER_FORKS, process_num - 1);
233
234 while (NULL != (row = DBfetch(result)))
235
245 DBfree_result(result);
I think that it occurs bad performance for many problems remaing.