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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.