× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>Hi all
>Are there some tips to improve JDBC jt400 performance connecting
>to an as400 database!

Whoa!  Deja, vu! :)

Without knowing much about your application, it is difficult to give you a
"silver bullet" to solve any JDBC performance issues you may have.

One of the easiest way to improve database performance with JDBC is to make
sure that your queries are as efficient as they can be.  For this, you
might want to use Operations Navigator's "Run SQL" function and then
explain your queries.  This will tell you if you need to build indices for
any of your queries, or identify which queries might need to be
re-implemented.

Another suggestion might have to do with the way you are getting
connections.  Creating JDBC connections takes a lot of time.  If you can,
use a single connection that is created once, or use a connection pool to
create connections.

Also, if you are executing a single statement many times that only has
different parameters each time, you might want to consider using a
PreparedStatement instead of a Statement object.  PreparedStatement allows
you to just plug in the different parameters for each execution, which
saves processing time.

Depending on system loads, you may need to do some tuning to the iSeries
server itself to make the performance of JDBC better.

If you can give some more information, the list might be able to help you
better.

>Thanks in Advance
You are quite welcome.

----------------------------------------------------------------------
Chris DeLashmutt
Senior R&D Analyst
LeasePlan USA
1165 Sanctuary Pkwy., Alpharetta, GA  30004
Phone: 678-202-8695
Fax: 678-566-8551
----------------------------------------------------------------------



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.