The present application discloses a method, device and medium for calculating performance indicators in a
network management system, which relates to the field of
network management. In order to reduce resource usage when calculating indicators, the present application automatically calls the custom function corresponding to the indicator to obtain the calculation result of the performance indicator by calling the custom function and the grammatical
parsing tree through the query command after receiving the query request. By using
database function calculation, the
database CPU resources can be fully utilized and the consumption of
application server CPU resources can be reduced. There is no need to perform complex indicator calculation logic at the
network management application layer, which greatly simplifies the performance indicator calculation process in the network
management system. In the
scenario of large data volume, there is no need to increase the
application server CPU resources, which effectively solves the problem of computing efficiency
bottleneck.