Submit a ticketCall us

Quickly Address Software Vulnerabilities
Patch Manager is an intuitive patch management software which extends the capabilities of WSUS and SCCM to not only patch Windows® servers and workstations, and Microsoft® applications, but also other 3rd-party applications which are commonly exploited by hackers. Learn more about our patch management solution.


Home > Success Center > Database Performance Analyzer (DPA) > (inserted by DPA) in SQL text

(inserted by DPA) in SQL text

Table of contents

Updated September 14, 2016


DPA has some items in the SQL text that we collect where it will insert a comment such as the following:

/* (inserted by DPA)
Procedure: [dbo].sp_someProcedure
Character Range: 4906 to 6649 
Waiting on statement:

This sometimes gets mistaken as a procedure DPA is running but, this isn't want this means. This article is to explain why you will see this in the DPA and what it is doing. 


DPA for SQL server


This is not being run by DPA. DPA is trying to give you a hint on where this is run from. 
DPA shows the SQL running and the wait time for SQL statements. If DPA sees stored procedures for example, these have many statements. If for example you had one that had an Insert, an Update, and a select, DPA will show the wait time for each as separate SQL hash values. It also will try to map the statement to the stored procedure. Usually if we grab the name of the stored procedure it will show in the comment block.


Last modified
10:14, 20 Sep 2016