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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
RDBMS settings
 Login/Join
 
<Kalyan>
posted
Hi,
Are there any setting in the reporting server to enable or disable RDBMS managed joins? I ask this question as I have a few sql's which are good when run outside of FOCUS .But when the same query is executed thro a fex like

SQL
SELECT * FROM TABLE WHERE CONDITION
END

IT TAKES A VERY LONG TIME TO BRING THE RESULT. And sometiems there si a warning RDBMS managed joins have been disabled.

Could anyone throw more light on this?
Thanks
Kalyan.
 
Report This Post
<WFUser>
posted
The syntax you are using will translate the SQL to FOCUS. To pass SQL directly to the RDBMS, do this:

SQL sqlengine
SELECT * FROM ....
;
TABLE FILE SQLOUT
PRINT *
END

The sqlengine will depend on the RDBMS. Use whatever is in the master file. SQLORA for Oracle or SQLMSS for SQL Server for example.

As to why WebFOCUS sometimes doesn't optimize JOINs, that could be for many different reasons. Depends on your request. That becomes irrelevent if you pass the SQL directly and run the report off of SQLOUT.
 
Report This Post
Guru
posted Hide Post
Also, if you are using EDA:
SQL ENGINE EDA SET OPTIMIZATION FOCUS

should disable RDBMS-managed joins. Usually you want to enable them with
SQL ENGINE EDA SET OPTIMIZATION SQL, instead, though.
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders