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] Remote join performance

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Remote join performance
 Login/Join
 
Virtuoso
posted
I'm struggling with a join that performs awfully slow.

I have a table file that uses an inner join...unique to another table. If performed on our production server or directly on the "WebFOCUS enviroment" it returns within 3s with 12 records. I can see it only pulling in those 12 records in the agents view in the diagnostics screen in the webconsole. So far so good.

However, if I execute the same query on my local development environment it takes minutes! It's pulling in 10's of thousands of records, at a rate of about 100/s.

If I remove the join, the query performs similar to executing it directly on the data-server (within 3s), like how I outlined in the good case. In this case also, it only pulls in 12 records instead of 50k or so.

I've been trying to hunt this down for a while already. I checked that the master-files are the same ones as used on the production environment and I saw from the agent statistics that it's really using the right table (or logical file, rather). So I think it's safe to assume the master-files aren't the problem.

What could be causing this difference in behaviour between both environments? What's causing WebFOCUS to pull in an entire table (that's what it looks like) instead of querying it properly? Any pointers to what I can look into?

This message has been edited. Last edited by: Kerry,


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 :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Virtuoso
posted Hide Post
Switch on tracing for this requeswt. It will tell you exactly what is being done sql-wise and this may shed some light on the difference in behaviour.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
What is the source of the two joined tables.

If WebFOCUS thinks they are from separate sources, then it will potentially retrieve all records from both, then join locally.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
From the same source... they should be, but maybe one of the masters is from a different location and pointing to the data-server via my dev-environment. That's something to look into, thanks!


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 :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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] Remote join performance

Copyright © 1996-2020 Information Builders