hi Everyone,
i have this query which is suppose to provide the nodes which has percentage utilization above 75% for the last month, this query is run on a monthly basis, it was working previously but now the query has started to time out for some reason.
SELECT DISTINCT ( InterfaceID) AS Nuddles,NodeID
FROM Orion.NPM.Interfaces
WHERE Alias LIKE '%ISP%' AND ( Interfaces.Traffic.DateTime BETWEEN '2022-03-01' AND '2022-04-01' )
AND ( (Interfaces.Traffic.OutPercentUtil >75 )OR (Interfaces.Traffic.InPercentUtil >75 ))