|
Long Live Green Screen -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Walden H. Leverich Sent: Wednesday, April 19, 2006 7:36 AM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] Slow Query Performance from the Web Can you post the SQL and the number of rows returned in the result set? Also, have you run SQL Performance Monitors on the job? One mistake I've seen lots of people make in Java is not to pre-size a collection when loading records into a collection. In one case simply adding an ensurecapacity(500) method call to an ArrayList changed response time from 20 seconds to sub-second. The more memory constrained the app server the more a problem like this will be noticed. -Walden
As an Amazon Associate we earn from qualifying purchases.
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.