File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Oracle9i Connection pooling :confused: Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "Oracle9i Connection pooling :confused: " Watch "Oracle9i Connection pooling :confused: " New topic
Author

Oracle9i Connection pooling :confused:

Lipman Li
Ranch Hand

Joined: May 02, 2002
Posts: 122
pls see the DISPATCHERS initialize parameter setting below,
DISPATCHERS="(PROTOCOL=tcp)(DISPATCHERS=1)(POOL=on)(TICK=1) (CONNECTIONS=1000)(SESSIONS=4000)"
what's difference between the connection and session? this dispatcher handle 1000 connections, but how to handle 4000 sessions, does it mean user could create multiple sessions with one connection?
thanks
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 16624

Well with pooling all users share those resources. So if you have 1000 connections pooled, you can still have 4000 sessions, it is just that those 4000 sessions will be sharing 1000 connections.
Wether these numbers are good or bad is determined by your Application of them. Will those 4000 all be using connections at the same time, or can you determine the concurrent usage will be less. It is all a give and take and determining what works best for your application.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Oracle9i Connection pooling :confused:
 
Threads others viewed
Too many Connections Exception
Data access ny multiple dao
need help in connection performance...
One Global Remote Connection or Multiple Connections
db connection
IntelliJ Java IDE