× 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.



On Wed, 9 Jan 2002 19:41:25 -0500
 "Bharath V.S. Dhurjati" <bharath@pswebworks.com> wrote:
> How many calls to getConnection() are you making during
> the run? In other
> words, how many Connection objects are you using?

I am calling getConnection each time a new set of data is
retrieved.  But I am only using onen connection object.  I
did some debugging in the ConnectionPool object to make
sure.  That's how I knew when I made it static, that it
actually was reusing an existing connection instead of
making a new one each time.

> Is this under the first request to get the report or
> under multiple
> requests/multiple clients?

There is only one client at this time, my application being
called on my PC.

> What are you setting maxConnections while constructing
> the Connection pool?

10

>
> PS: If the DB is Access, not sure if connection pools
> help, since I am not
> sure if the same Access db can be concurrently accessed
> by multiple clients,
> with any degree of scaling.

I agree, but it seems this connection pool is also allowing
me to reusing connection objects instead of creating a new
one each time.




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-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.