Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Stop Query if it does not match with Condtions & Control the result count

$
0
0

Dear All,

I have requirement in my Environment, I have to stop the Queries which compromises these conditions

1. If Query is running more than specified threshold (if it running more than 2 mins).

2. If Query is fetching huge data (rows more than 1000 for example)

Please note we have done enough study on resource governor, it works on compile time, we need to control the queries during run time. Also resource governor does not restrict the resources if they are free.

Answers are appreciated.



Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>