I'm hitting the exact same SQL Server DB from my machine. The WAS 6.1
server is not running on the same box. Using the System.out I'm
timestamping what's happening and the bottle neck appears to be when I'm
hitting the DB and retrieving the records and storing the objects in a
vector that is being sent back to the servlet and used on the page. This
particular table has 100 fields. If I only use 15 of these fields, it's
really quick on both my machine and the WAS server. If however, I have to
retrieve all the data (such as downloading to an excel spreadsheet the
entire file) it's quick on my machine, but dog slow on the WAS server.
Seems my while(rs.next()){ is taking ever so long when it has to retrieve
all the fields from the table. Could it be related to the size of the
fields?

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
709-576-8132
rpower@xxxxxxxxxx
http://www.stjohns.ca/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.