What to do if edb360 takes long to run
Every once in a while it comes to my attention that edb360 takes several hours to run. What can be done? My advice is to let it run for several hours if possible. In most environment it completes in less that 1 hour, but I have seen cases where it may take 5 or 6. The reason is simple: too many SQL statements to execute. And some of those queries are executed on top of large historical sets. The good news is that edb360, as it executes each script, it compresses the output and catalogues it inside the main output ZIP file. So, even if you have to stop edb360 after hours of execution, the output is useful. On top of that, the least relevant collection happens at the end, so within the first hour or so you most probably have the essence of your system. Then, if you find yourself in a situation where edb360 has been in execution for several hours and you decide to kill it, please still use the output ZIP file. Also, within that file there are a couple of logs that can help to determine where exactly it got “stuck” (meaning which query is taking longer in your system). Since we don’t know in advance if edb360 will take more than 1hr to run, the best time to start its execution is at the end of a normal work day, or during the weekend.
Just had my longest running edb360 for a problem client called Worldwide Express. As you advised, I ran late in the day, it’s a Friday. It eventually finished after 3+ hours. Hopefully the output may explain the long run time. I might share it with you, if you’d like?
Michael Fontana
October 17, 2014 at 7:59 pm
sure
Carlos Sierra
October 17, 2014 at 8:35 pm
I will reply privately with the location where it may be picked up, as it is rather large. This client apparently has turned on an option to automatically capture sql plan baselines, and there are over 6 million. I was wondering if that might have something to do with this?
Michael Fontana
October 20, 2014 at 9:44 am
[…] What to do if edb360 takes long to run […]
Some eDB360 Frequently Asked Questions | Carlos Sierra's Tools and Tips
January 7, 2015 at 2:56 pm