Submit a ticketCall us

AnnouncementsWeb Help Desk Integrations eCourse

Looking to reduce response times? Sign up for our eCourse to learn how integrating Web Help Desk with Dameware Remote Support, Network Configuration Manager, Network Performance Monitor, and Server & Application Monitor can improve communication efficiencies.

Register here.

Home > Success Center > Database Performance Analyzer (DPA) > Turning off SQL Server trace flag 2861 in DPA

Turning off SQL Server trace flag 2861 in DPA

Table of contents

Updated September 21, 2017


When DPA connects to the monitored instance, it runs DBCC TRACEON (2861, -1) to turn on SQL Server trace flag 2861. DPA turns this flag on to get text for quick-running SQL statements. For more information, see this article. (Content provided by Thomas LaRock, available at, obtained on September 21, 2017.)


For a majority of DPA SQL Server customers, trace flag 2861 does not cause issues. But some users with busy systems (and/or running ORM implementations) will see a slight increase in memory consumption and likely procedure cache bloat. For those customers we recommended turning off 2861.


  • DPA, all versions    


To turn this flag off for a monitored database instance:

  1. Click Options > Administration tab > Advanced Options.
  2. Click the DB Instance Options tab and select the database instance.
  3. Select Support Options in the upper right corner.
  4. Change the value of the DBCC option to OFF.




Last modified