Focal Point
WF8206 Business view performance issue.

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

February 28, 2020, 02:52 PM
Neelima
WF8206 Business view performance issue.
Hi,

we have developed reporting layer (Business view) for dashboard. we chose business view for faster access but we are having very poor performance.

Please let me know pointer where i can improve the report performance


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
February 28, 2020, 03:01 PM
BabakNYC
What is the source of your data? SQL Server, Oracle, et cetera.

Do you have joins in the business view? If so, run a request you consider inefficient with SQL Traces on to see how your joins are being generated.

Are you joining different data types? With or without a Business View, if you join two different database tables (eg. sequential to Oracle) you'll end up causing table scans that aren't very efficient.

Business Views don't necessarily give you faster access. They just encapsulate the Joins, Filters and organize your data in folders so report developers don't have to keep recreating them.

I would start with the SQL Trace.


WebFOCUS 8206, Unix, Windows
February 28, 2020, 03:31 PM
Neelima
Hi BabakNYC.

Thank you for your quick response.

we are using Oracle db. Yes, we have joins inside the business view and we are applying on same data type column.

When I run with SQL trace. define based field is not translated.

Will that be an issue?

thanks


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
February 28, 2020, 03:54 PM
BabakNYC
While WebFOCUS allows you to create DEFINE based joins, there are some considerations. Specifically, if the defined field can't be translated into the same SQL statement, then you are effectively turning optimization off and potentially creating multiple SELECTS and asking WebFOCUS to join the answer sets. So, you have to look at the joins that use a virtual field and decide if there's a better way to create the join.

There are a bunch of places in the doc that talks about Optimization and Join here:
https://infocenter.information...ource%2Ftopic363.htm Look for Optimization Settings

https://infocenter.information...%2Fsource%2Fjoin.htm

look for How to join from a virtual field.


WebFOCUS 8206, Unix, Windows