We are seeing high wait times during business hours on one of our databases. Looking at SolarWinds I am finding that the system stored procedure 'sys.sp_columns_managed' is being executed more than 300,000 times per hour (according to SolarWinds). Has anyone else ever experienced this? Does anyone know what can be done to stop this? Or, am I not seeing things correctly in SolarWinds?
Sql-server – seeing high execution counts for the system stored procedure sys.sp_columns_managed
sql server
Related Question
- SQL Server Backup Encryption – Common Questions Answered
- Sql-server – Aggresive indexes lead to lock times
- SQL Server Plan Cache – Missing Execution Plans for Stored Procedures
- Sql-server – do about high CXPACKET waits
- Sql-server – Can BCP Out cause resource contention
- SQL Server – Why ETL Query via SSIS is Slow but Fast in Local Stored Procedure
Best Answer
This script below shows you the execution count of the stored procedures that are currently in your plan cache.
That would be an starting point, if you could see the procedure there and from which database it is fired.
Then have a look who and what is using that particular database\calling that procedure.
here you can find the code of the sys.sp_columns_managed stored procedure.