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     SAP BW join with SQL Server

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SAP BW join with SQL Server
 Login/Join
 
Member
posted
Hi,

I have a SAP BW request which joins with an SQL Server table. When I run this request on my Webfocus DEV environment which we setup to point to our production data, the request runs without a glitch and the execution time is acceptable at 30 minutes. But when we run the same report on the WebFocus production environment, the same report will run for many hours killing the SQL Server machine and when the job ends, it doesn't return any valid data.

I'm thinking it might be a parameter or a driver but I looked and I can't seem to find anything that would explain this difference in behaviour.

Is there anyone who has had this problem before or has an idea what I can try?

Thanks.


WebFOCUS 7.6.4
Windows
Output: Excel
 
Posts: 1 | Location: Montreal | Registered: February 01, 2008Report This Post
Expert
posted Hide Post
Dave,

You are doing a hetergeneous join (joining two different kinds of data sources together) and that is never recommended.

Your dev environment probably has a lot fewer rows in either source and that is why you were getting away with doing it there.

There are lots of posts on the forum about how to do what you want to do, but briefly, the recommended method is to extract the data from each data source separately, store the target in an indexed format focus hold file and then join them together yourself.

Essentially, that is what WebFOCUS is doing under the covers anyway which you would have discovered if you had traced your request. However, if you do what I suggested, you have more control over the process.

Trace commands:
SET TRACEOFF = ALL
SET TRACEON = SQLAGGR//CLIENT
SET TRACEON = STMTRACE//CLIENT
SET TRACEON = STMTRACE/2/CLIENT
SET TRACEUSER = ON
SET XRETRIEVAL=OFF  


The XRETRIEVAL command set to off just parses your request without getting any data. Check out your generated SQL from the way your program is now and you will see 2 select statements.


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
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report 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     SAP BW join with SQL Server

Copyright © 1996-2020 Information Builders