Can someone help me in following questoin
A reporting script is run from the command line that takes about 45 minutes to run against the production database. Towards the end of run of the script, the database becomes heavily loaded and starts to affect other applications using that databaes.
How to approch debugging that script?
I dont have the script, i just need to know what would be the best way to debug