Monitor with AppInsight for SQL
Identify performance and troubleshoot issues for SQL databases and queries with AppInsight for SQL. This feature provides consolidated resource views into over 100 performance metrics across all SQL servers monitored by SAM. These metrics include read and write latency, index fragmentation, expensive queries (based on CPU time), SQL agent job status with logs, capacity, and resource consumption for CPU, memory, and drive space.
With AppInsight for SQL, you can monitor resource consumption, respond to alerts, and monitor expensive queries on a single page. Investigate issues and performance trends without hunting through numerous views into the SQL servers in your environment. AppInsight for SQL provides a level of detail and expert knowledge far beyond what a SQL template can provide, allowing you to monitor virtually every aspect of your SQL instances and databases. The feature polls and reports metrics without use of agents, directly accessing the SQL server using configured access permissions and credentials via SNMP and WMI.
To get started with AppInsight for SQL:
- Review AppInsight for SQL requirements and permissions.
- Add AppInsight for SQL to nodes, which can represent:
When applied to a Microsoft SQL instance, the AppInsight for SQL page replaces the default Node Details view. It monitors as an application using multiple component monitors the AppInsight for SQL template. To modify the template or use other templates, see Edit the AppInsight for SQL template.
The views are accessible through one of the following:
- SQL Server: provides all monitored SQL applications. Select My Dashboards > Applications > SQL Server, locate and access a node.
- AppInsight for SQL: in the All Applications widget provides all monitored SQL server nodes. Select My Dashboards > Applications > SAM Summary, locate the All Applications widget. Expand AppInsight for SQL and select a node to view.
The SQL Server Application Summary view provides widgets you can use to monitor overall data for all SQL servers including alerts, events, and consumed resources, including:
- All Applications view of all currently managed SQL servers as nodes, expandable to locate specific nodes
- Active Application Alerts for specific alerts affecting SQL servers
- Top Processes by CPU Load, Physical Memory, Virtual Memory and more to gauge applications consuming resources
- Top Monitored Processes by I/O Total Operations, Reads, and Writers for highest bandwidth consumption, reads, and write latency
Further expanding the All Applications on the SQL Server Application Summary displays a quick view into performance counters and status. Each counter and metric can be expanded to review data.
To display all data for an application node, select the application from the view to open the Details page for the AppInsight for SQL node. For example, MSSQLSERVER on lab-dem-sql-02.demo.lab in the Orion demo encountered a critical alert. To troubleshoot, access the SQL server through the All Applications widget.
This view consolidates all data for the selected SQL server, including:
- An AppStack view for troubleshooting, alerts, events, expensive queries, capacity usage, and other metrics.
- Queries to filter expensive queries.
- WPM transaction monitor results, if SolarWinds Web Performance Monitor is installed.
- Database performance data, if SolarWinds Database Performance Analyzer is installed. See also Use the DPA Integration Module with SAM.
To review database data in the AppInsight for SQL Details view, locate and select a database in the All Databases widget. The Database Details view lists all databases on the node, alerts, AppStack, and more.
To drill down to see performance counter details in the AppInsight for SQL Details view, click a performance counter in any widget.
To learn more about AppInsight for SQL, watch these videos:
- Deep Dive on using AppInsight Templates
- Introducing AppInsight for SQL Server
- SQL Server Performance: AppInsight for SQL
Did you know that when SAM alerts you about an application failure, you can use SolarWinds IPAM to quickly determine if a broken or missing DNS record is at fault? You can then use SAM to troubleshoot the service further.