I created a report which has 100000 records to fetch. And I have also implemented matrix in my report. My report is taking more than 1 hour to display.can anyone help me in performance tuning.
Thanks, Vikrant Sabari
WebFOCUS 7.6 Windows, All Outputs
September 25, 2013, 04:44 AM
MichaelBalle
For performance tuning we need the code ;-)
WebFOCUS 7.6, 7.7 Windows, All Output formats
September 25, 2013, 05:05 AM
Tony A
As you state that your report is taking a long time to display, and before you start posting code, let's check some basics.
So your user machine is windows based
What bit CPU is it 32 or 64
What memory do you have installed?
What free memory do you have at the time of running the report
What is the target output (Excel, PDF, HTML etc.)
If MS Office output then what version are you on?
All of these things might give some underlying problem on the machine onto which you are trying to display your report.
Only once you have confirmed that your user machine and target application is able to handle that many records should you begin to begin to post code.
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
September 25, 2013, 05:25 AM
Wep5622
Is a report containing 100k records really useful to people? How do you know which of those 100k records you need to look at?
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
September 25, 2013, 06:22 AM
Dave
We found when dealing with large needed outputs ( 250K + *1) the filling / sorting etc. of HOLD files takes a lot of time.
Using Binairy ( default ) instead of FORMAT FOCUS or XFOCUS made a big difference.
You might want to add 'timers' in your code to find out exact where the most time is used.
*1 Yes, Wep5622, it's an address-list, and we really need all those records to print addresses on a mailing ;-)
Greets, Dave
_____________________ WF: 8.0.0.9 > going 8.2.0.5
September 25, 2013, 08:24 AM
TexasStingray
Dave is spot on. Try to avoid creating focus hold files. When I worked for IBI I had a customer that was creating a HOLD FORMAT FOCUS file and it would run a couple of hours and their window for when the job must finish by kept getting close and closer. They used FOCUS format thinking thats what they had to. When we went with the default format it finished in a few minutes. She was total shocked. She started looking at all of her other programs to see what else she could speed up.This message has been edited. Last edited by: TexasStingray,