Our system is running at a crawl due to SQL server being at 100%. Our IT group reported:
"The application server is working fine but the MS SQL database server is running at almost 100% consistently. The result from the MS SQL Activity Monitor shows that a query is taking up almost all the CPU cycle. The query is "delete from searchresult13 where locid in (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8, @P9, @P10, @P11, @P12, @P13, @P14, @P15, @P16)."
This isn't the first time this has come up. Is there any way to prevent SQL from bogging down on these queries? Or at least prevent them from running in the middle of the day?