When a Foglight database agent is enabled, monitored collections may lead to high CPU usage on the target database host. Disabling the agent typically results in CPU activity returning to normal levels.
This behavior is more noticeable on database instances with low or no workload. For example, SQL Performance Investigator (SQL PI) collections run every second (1000 ms) by default, which may appear resource-intensive on underutilized systems. On actively used instances, the impact is generally negligible.
Several conditions may contribute to increased CPU usage during Foglight monitoring:
Deadlock collection via Extended Events in SQL Server.
SQL PI environment sizing or antivirus exclusions are not correctly configured.
SQL PI get_active_waits
query on SQL Server instances.
Interrupted sessions due to firewall issues causing session leaks.
Intermittent connectivity issues to Oracle hosts.
Outdated database maintenance (e.g., missing index/statistics updates).
Underlying disk I/O performance issues.
Resource contention from memory pressure or competing applications.
SQL Server Error Log collection via DCOM (OS method).
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center