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.
My webfocus reports access SQL server database, In some of my repots I have to use a SQL server view which combined three other views and other two tables to generate reports. In my base tables, each table contains few millions repcords,I don't think this is a very good way to retrive information, but I really don't have any other better ideas to go. I am more concerned about the perfomance for the high volume and table,view join together,Is this possible I can use stored procedures to replace the views I used? or any other good ideas?
Sure you can call Stored Procedures, I do that very often...
Ex:
SQL SQLMSS SET SERVER PROD SET SQLENGINE = SQLMSS SQL SQLMSS EX Scenarios..GetProjectRDIndirectCostsOverall '&KEY'; TABLE FILE SQLOUT PRINT * ON TABLE HOLD AS RESULT END
In my experience, you will not get any significant performance improvements by using stored procedures. After all, if you look under the covers, the stored procedure is executing SQL calls against the same tables/views that you are already reporting against anyway.
That said, there will be occasional situations where it is more efficient to break up a single query into multiple calls. In this case you can use stored procedures and/or WebFOCUS logic to break up the calls and control the flow of the report.
As to which approach to take, it's a judgement call...
If there is even the slightest chance that your application may be ported/migrated to a different RDBMS (Oracle, DB2, MySQL, etc), then WebFOCUS is the obvious choice. Otherwise, it depends on your skill & comfort level. If you keep everything in WebFOCUS, your program logic is all in one place and your system should be easier to maintain & debug. However, if you are already comfortable working with stored procedures and you are under a tight deadline, then using stored procedures may work better for you.