Unix Technical Forum

Max. Connection & Connection Time out parameters

This is a discussion on Max. Connection & Connection Time out parameters within the Oracle Database forums, part of the Database Server Software category; --> Hi, This is a basic question regarding the connections while building a connection pool on oracle 8.1.7 database on ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 02:11 AM
saurangshu
 
Posts: n/a
Default Max. Connection & Connection Time out parameters

Hi,

This is a basic question regarding the connections while building a
connection pool on oracle 8.1.7 database on solaris 8.

1. Is there any parameter in oracle (init.ora or some where else) which
dictates the maximum no. of connections that ever can be opened from a
database so that the java based connection pool can impose a limit on
it's maximum pooled connection? If yes, then what is the parameter and
how it can be tuned?

2. How to determine a connection time out property so that the java
based connection pool manager can close the coonection before this time
period.

Thanks in advance for your time and patience.

Regards,

-- SP

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 02:11 AM
Sybrand Bakker
 
Posts: n/a
Default Re: Max. Connection & Connection Time out parameters

On 9 Feb 2006 12:19:44 -0800, "saurangshu" <saurangshu@gmail.com>
wrote:

>Hi,
>
>This is a basic question regarding the connections while building a
>connection pool on oracle 8.1.7 database on solaris 8.
>
>1. Is there any parameter in oracle (init.ora or some where else) which
>dictates the maximum no. of connections that ever can be opened from a
>database so that the java based connection pool can impose a limit on
>it's maximum pooled connection? If yes, then what is the parameter and
>how it can be tuned?
>
>2. How to determine a connection time out property so that the java
>based connection pool manager can close the coonection before this time
>period.
>
>Thanks in advance for your time and patience.
>
>Regards,
>
>-- SP


1 the processes parameter in init<sid>.ora. Can be tuned by editing
init<sid>.ora and bouncing the database. Remember semmns must reflect
the number of processes or you will run into ora-12500

2 not do it. If the java connection pool closes the connection, the
session will be left dangling at the oracle side, and the oracle
resources will eventually get exhausted. Many DBAs are on a constant
battle to close connections that have been left dangling by java
connection pools.
Oracle has, when running Multithreaded Server, it's own connection
pooling mechanism. Strangely enough no one uses it.


--
Sybrand Bakker, Senior Oracle DBA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com