My ITT Department is calling me telling me the one report I am running is using 100% of the whatever.....the report runs within 5 seconds but there is still something hanging out there that the ITT Dept. is seeing although the report has already ran on my side. Is there something I need to add or take away from my code so whatever is hanging out there is gone when the report finishes running?This message has been edited. Last edited by: Kerry,
FOCUS has always been notorious for a high CPU usage (especially when used against SQL) and will often send the CPU usage to 100% as it will "grab" what CPU is available. DB2, Oracle and MS SQL are no different either.
One suggestion I would make is to trap the SQL from your query and pass it to your Oracle DBA so that they can look at the efficiency of it and make some suggestions on how it could be improved, particularly from a retrieval path point of view (e.g. no tablespace scans). Then take their version of the SQL (providing it gives the same dataset of course!) and utilise it in SQL passthru.
If your company has an embargo on using SQL passthru then tell them from me not to be so short sighted when the improvement of run times is in question!!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
April 13, 2007, 08:33 AM
Tracie Jones
Thanks,
But there is no way my ITT team or DBA is going to do that...LOL.....I have access to TOAD, so I can give it a try, but its alot of code!