How big is the result set that is being passed back to Websphere from the iSeries? If it is a large result set and it is ALL being passed back that could be a potential problem. What Java tooling are you using (i.e. Struts, JSF, Tapestry??), sometimes you have to watch how long those frameworks hold on to result sets. Are you using an ORM solution in your Java (i.e. Hibernate)? There are many ways to optimize such tools (i.e. lazy loading, caching, etc.) HTH, Aaron Bartell -----Original Message----- From: web400-bounces+albartell=gmail.com@xxxxxxxxxxxx [mailto:web400-bounces+albartell=gmail.com@xxxxxxxxxxxx] On Behalf Of Corissa Andrascik Sent: Tuesday, April 18, 2006 5:23 PM To: web400@xxxxxxxxxxxx Subject: [WEB400] Slow Query Performance from the Web Hi All, I'm new to this list - and I'm not sure this is the proper place to be asking this question - but I'd appreciate any direction you can give. We have a query that runs over a view that joins together several related physical files. We created indexes for each physical based on the Where clause in the query and when I run it through STRSQL on the 400 - the performance is good - about 8-9 seconds. When the same query is passed from the web - we're running websphere on Window 2003 boxes - it takes in the neighborhood of 1 minute 10 seconds. We are trying to figure out what can be done to optimize it from the web. I realize I'm probably not giving enough information here - I just have no clue where to start! If any of you have any ideas I'd be eternally grateful. Thanks -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.