Focal Point
[SOLVED] AHTML format too slow

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/35810529

April 24, 2009, 02:38 PM
<Kev>
[SOLVED] AHTML format too slow
Hi,

I'm generating a report (having 10K rows) using AHTML that takes close to 8 mins, while generating the same report in other formats (Excel/HTML) takes less than 30 secs. Can any one explain why this happens, and solution(s) for it?

Thanks!

This message has been edited. Last edited by: Kerry,
April 24, 2009, 02:42 PM
GinnyJakes
Kev,

AHTML has to write all of the data to the displayed page. Try reducing the number of rows selected as a test and see if the performance improves.

Also could you please update your profile signature with your product suite, release, and platform? Thanks. It makes it easier to help you out if we have that information.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
April 24, 2009, 03:31 PM
<Kev>
Ginny,

I tried reducing it to 500 and 3K rows, and it takes less than 40 secs both times, so I guess with increase in number of records from that point on, it goes off exponential.
So what do I do now?

Thanks!
April 24, 2009, 03:42 PM
RickW
See this...

http://forums.informationbuild...?r=31110736#31110736


WebFOCUS 7.6.6/TomCat/Win2003,SQL Server 2005,Oracle
April 24, 2009, 04:04 PM
<Kev>
Thanks, Rick!
April 24, 2009, 04:37 PM
<Kev>
I tried to Active Cache option by setting CACHELINES to 1000 and LINES-PER-PAGE to 200 - but didn't help. Anything I might have missed?

Thanks
April 27, 2009, 09:47 AM
<Kev>
Hello,

As I mentioned earlier, I tried setting
CACHELINES to 1000
AND
LINES-PER-PAGE to 200
but it still takes forever to load.
Am I missing anything here?
FYI: Number of records are 10000.

Thanks!
April 27, 2009, 09:56 AM
Tom Flynn
Did you click on the link RickW provided? The answers/ Active reports "LIMITATIONS" are there..


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 27, 2009, 10:08 AM
<Kev>
Hi Tom,
Yes, I did, and in that post itself someone recommended trying Active Cache Option. So I looked in the Documentation, and it says:
"To create answer sets in excess of 5,000 records, the Active Cache option enables you to send only the first page of Active Report output to the browser and retrieve subsequent pages from a temporary cache on the WebFOCUS Reporting Server."
So I tried using it as in my post above, but to no avail. So my question is am I not using it right?

Thanks!
April 27, 2009, 10:15 AM
Tom Flynn
Have you set the WEBVIEWER??? Also, please review the TIP at the bottom of the page...

Active Reports Cache


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 27, 2009, 10:33 AM
<Kev>
Hi Tom,

Yes, I did. I've
SET LINES = 100
ON TABLE SET WEBVIEWER ON
ON TABLE SET CACHELINES 1000
Does this look alright?

Thanks!
April 27, 2009, 10:39 AM
Tom Flynn
Kev,

Yes, your code is correct.

Active reports has limitations. It is built as a stand-alone application. Here is documentation:

Using an HTML Active Report

If it is not functioning the way you feel it should, open a case with IBI.

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe