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, either via Discovery or assigning a template. The node may represent either:
When you add AppInsight for SQL to a node, an application (also called an "application monitor") based on the AppInsight for SQL template is created on the node. In the Orion Web Console, the default name for the application is "MSSQLSERVER" but can be customized. The Node Details view is replaced by the following views:
- SQL Server Application Summary view: Click My Dashboards > Applications > SQL Server to display a list of all SQL server instances monitored by AppInsight for SQL. From here, you can click an instance to open its Application Details view.
- AppInsight for SQL Application Details view: Click My Dashboards > Applications > SAM Summary. In the All Application widget, expand AppInsight for SQL, and then click an instance to display details on the Application Details 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
Expand rows in the All Applications widget to drill down into details about performance counters and status. Click a metric to learn more about it.
Click an instance to open its AppInsight for SQL Application Details view. The following example shows an MSSQLSERVER instance in the Orion demo with a critical alert:
The AppInsight for SQL Application Details view consolidates all data for the selected SQL server, including:
- An AppStack view for troubleshooting, alerts, events, expensive queries, capacity usage, and other metrics.
- A list of the top 10 expensive Queries by CPU time.
- 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 this view, 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 Application 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.