Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Is there any tool or method to find the exact disk space/memory required for a query to execute in certain time

$
0
0

Hi,

We have SSIS Package, which in-turn executes some Stored procedures . 

This Package runs fine at certain time, say 30 minutes which is acceptable. But sometimes, it takes around 1.5 hr. There was no modification done to the package, and the amount of data handled by the package is also same.

I have a doubt that some other big process may be running in parallel when this package is getting executed.

All the Databases are on D drive in the server and currently there is 140 GB free space out of 1 TB.

Now, using sp_who2 I can check what are the big processes which are running in parallel when this package is getting executed and get their Disk I/O.   

Now having these information, is there any way to determine, amount of space/memory required to execute a particular query in 30 minutes.

Or to put a question in other way, I have a query and I know its acceptable execution time(30 min). Now is there any way to determine the criteria to get that execution time.

NOTE: The query is optimized and required indexes are created. It was running fine, until 1 week back. Suddenly the execution time has increased.

Can some one please help me in this. Please let me know if you need any further information on this.

Also whenever these jobs are running, sometimes job activity monitor and SSMS gets frozen. Any idea what does this indicate?

Thanks in advance,



Raksha



Viewing all articles
Browse latest Browse all 12963

Trending Articles



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