Hi Experts,
I had one concern and need you guys to help here
Env: VS,sql,SSIS,SSRS,SSAS 2014
The caller is SSIS and calls is a stored procedure that loops in Database and calls the different dependent Child Stored procedures like 200 of them(everything is sequential to follow the dependencies).like mentioned.. there 4 to 5 processes (threaded jobs) will run in parallel. Now the question, I am seeing so much lag time to call the store procedures
Example: 1 stored proc will execute in 30 sec.. to start itself it takes 3 min and then completes in 30 sec. So for each child stored procedure, it waits 30 sec to 3 min to kick start the execution. So total 200 Stored procedures avg execution time is 6 min to 10 min... but because of lag time.. its takes 20 to 25 min of time.
- I have identified the cached plan are wiping out and recreating because of AUTO_CREATE_STATISTICS/ AUTO_UPDATE_STATISTICS .->is this the cause for the lagtime?
- Memory pressure is almost 65 to 70% and we have 300 GB of RAM assigned to sqlserver
- No Significant wait starts observed for memory /CPU Bottle necks
- we have the best Disks similar to SSD.
why i am seeing significant lag times.. and how to reduce the same. Please redirect me to right path.
Thanks
v-aninam