Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] RDBMS-managed join disabled - in Report Painter but not InfoAssist

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] RDBMS-managed join disabled - in Report Painter but not InfoAssist
 Login/Join
 
Member
posted
Hello Everyone,

I am running into an issue where a Report Painter is trying a "focus-managed join" which causes a performance issue. The exact same kind of report, however, runs totally fine in InfoAssist. Note that we are using a small fact table without a primary key. Below is the SQL trace first for Report Painter then InfoAssist.

Any ideas would be helpful.
---
Using Report Painter:

FOC2510 - FOCUS-MANAGED JOIN SELECTED FOR FOLLOWING REASON(S):
FOC2505 - A SEGMENT IN THE STRUCTURE IS NON-KEYED: STAR_FACT_INPATIENT_CENSUS
_DAILY
FOC2517 - FST. OR LST. WHERE SORT FIELDS DO NOT COVER KEY
FOC2590 - AGGREGATION NOT DONE FOR THE FOLLOWING REASON:
FOC2592 - RDBMS-MANAGED JOIN HAS BEEN DISABLED
SELECT
T1."DATE_KEY",
T1."PATIENT_COUNT",
T1."ALC_COUNT"
FROM
GRH_DMRT.STAR.FACT_INPATIENT_CENSUS_DAILY T1;
FOC2641 - IF/WHERE TESTS ON UNIQUE SEGMENT COMMON_DIM_DATE WHERE NOT PASSED T
O SQL
SELECT
T4."DATE_KEY",
T4."FULL_DATE",
T4."FISCAL_YEAR_NAME"
FROM
GRH_DMRT.COMMON.DIM_DATE T4
WHERE
(T4."DATE_KEY" = ?)
ORDER BY
T4."DATE_KEY";
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0

Using InfoAssist:


AGGREGATION DONE ...
SELECT
T4."FISCAL_YEAR_MONTH",
SUM(T1."ALC_COUNT"),
SUM(T1."PATIENT_COUNT")
FROM
GRH_DMRT.STAR.FACT_INPATIENT_CENSUS_DAILY T1,
GRH_DMRT.COMMON.DIM_DATE T4
WHERE
(T4."DATE_KEY" = T1."DATE_KEY") AND
(T4."FULL_DATE" BETWEEN '20140101' AND '20141231')
GROUP BY
T4."FISCAL_YEAR_MONTH"
ORDER BY
T4."FISCAL_YEAR_MONTH";
0 NUMBER OF RECORDS IN TABLE= 0 LINES= 0

This message has been edited. Last edited by: Josh Morel,




WebFOCUS 8004
Windows Server 2008 R2 Standard 64-bit
All Outputs
 
Posts: 14 | Registered: December 21, 2012Report This Post
Expert
posted Hide Post
Is it possible that the two reports point to different versions of the metadata (in different app folders)? There are declarations in an ACX file that *might* cause this to occur.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Josh,

Can you post the focus code created in both scenarios, the another possibility is that they are not being created in the same way.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report This Post
Member
posted Hide Post
Hi, by inspecting the focus code I found out that I had a compute without a by field in the Report Painter report. This caused the issue.

Thanks all!




WebFOCUS 8004
Windows Server 2008 R2 Standard 64-bit
All Outputs
 
Posts: 14 | Registered: December 21, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] RDBMS-managed join disabled - in Report Painter but not InfoAssist

Copyright © 1996-2020 Information Builders