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  iWay Software Product Forum on Focal Point    MySQL JDBC Connector Performance Issues

Read-Only Read-Only Topic
Go
Search
Notify
Tools
MySQL JDBC Connector Performance Issues
 Login/Join
 
Gold member
posted
I am trying to troubleshoot an issue pulling data from a MySQL Table and writing out to a flat file. We are using the MySQL-JDBC Adaptor with the mysql 5.1.27 connector, Data Migrator 7.6.8 on a RedHat Linux Server. The data flow is meerly mapping all fields from table A and writing out to a flatfile...no transforms just a straight SELECT ALL COLUMNS FROM Table A. Table A has only 9000 rows of data and is located on the same physical machine as DMC. Takes about 4 minutes to return 9000 rows. That said......same flow running in DMC on my PC going through ODBC to the same MySQL table takes approx 4 seconds. Is there some additional parameter that needs to be adjusted in DMC with regard to the JDBC adaptor to improve the performance? Unfortuantely I can't use the MySQL ODBC on the server as the server is running Linux and I need to use JDBC for this connection there.


WebFOCUS 7.6.8
WebFOCUS Client and Server running on RedHat Linux, Developer Studio on Windows XP
All output formats
 
Posts: 52 | Registered: May 13, 2009Report This Post
Expert
posted Hide Post
Hi Bcook278,

I don't know about any additional parameters, but what you might want to do is turn on tracing, and compare the runs so that you can see what actually happening, and this may help you gain some insight.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
hi Bcook278,

When talking about possible additional parameters you might try setting some value to default fetch size. The smaller fetch size is the more network trips to database server will be done and it affects performance...

By setting value to defaultFetchSize - the driver will call setFetchSize(n) with this value on all newly-created Statements.

Also you might try to define cursors as server cursors with parameter: useCursorFetch=true.
Some additional reading about using client cursors vs server cursors with MySQL:
http://wiki.gxtechnical.com/co...ursors+-+using+MySQL

For example - connection string with additional parameters:
jdbc:mysql://server/dbname?useCursorFetch=true&|defaultFetchSize=1000

So give a try and configure your MySQL adapter with those additional parameters.

Regards,
Rivo


iSM 6.0
iDM 7.6.5 - 7702
WF 7.6.4 - 7702

All output formats
 
Posts: 23 | Location: Tallinn, Estonia | Registered: July 31, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    MySQL JDBC Connector Performance Issues

Copyright © 1996-2020 Information Builders