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.
Is there a way to use a "database hint" in WebFOCUS, without having to use SQL pass through? I want to pass an Oracle Hint to force Oracle to use a specific Index.This message has been edited. Last edited by: Kerry,
I would suggest putting in a New Feature Request for setting hints.There may already be one, but the more that request it, the better change there is to get it created.
Many thanks to those WF Professionals who put in the NFR.
Kudos to IB for the implementation.
Stuck my nose in the latest Adapter Administration manual and was happy to see support for placing Oracle Hints within the TABLE command:
SQL SQLORA SET HINT /* +hint_text */
Works like a charm.
Great way to end the year. :-)
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
If you need query hints in Oracle, you may be trying to solve the wrong problem.
If you're using the rule-based optimizer, that's your real problem. There are very few benefits to this (officially obsolete) approach.
If you're using the cost-based optimizer and you're running into performance problems, that probably means that your table statistics are not up-to-date and you need to tune the database for that.
The problem with query hints is that with a growing table and changing contents, an optimization that was good initially can become a performance problem over time. You're hard-coding (parts of) the query plan, preventing the cost-based optimizer from making smarter choices based on the data in the tables.
There are probably some corner-cases where the database is making the wrong plan choice regardless, no matter how you tune it. That's when you have no choice other than to add some query hints, but that should be rare in this day and age.
Admittedly, the cost-based optimizer is a fairly fresh feature in Oracle, but 11g does have it.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Yep, we didn't consider adding an Oracle hint lightly.
Checking with internal and external Oracle experts, and with testing, we felt we had a situation were it was needed. (Anyone...feel free to PM for details, as otherwise, I think they'd be off topic.)