After several attempts to delete 10k + interfaces through the web interface I decided to manually delete the interfaces from the DB. Note: when selecting 200 interfaces to delete through the web page it would just timeout and only delete about 30 or so. After manually deleting I noticed that the maintenance plan did not delete entries from the “poller” table. I found the following sp_ which only deletes when joined with the “deleted interface” table.
DELETE FROM Pollers
WHERE (NetObject LIKE 'I%')
AND (SUBSTRING(NetObject, 3, 10) IN (SELECT InterfaceId FROM DeletedInterfaces))
When changing the query to join the interfaces table I am finding my manually deleted interfaces
select count(*) fROM Pollers
WHERE (NetObject LIKE 'I%')
AND (SUBSTRING(NetObject, 3, 10) not IN (SELECT InterfaceId FROM interfaces))
Questions:
1. Should I be concerned about the stale “poller” table data?
2. Is there any negative performance impact to the poller when having “stale” entries
3. What other tables should I look at deleting stale data when manually deleting interfaces
Thanks