Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

I have more than 250 inacive connections all the time. Do they imopact the performance.

Posted on 2012-03-14
4
Medium Priority
?
423 Views
Last Modified: 2012-03-28
I have more than 250 inactive connections all the time . Do they imopact the performance.

if yes how to check memory or resources they are using and how can I avoid them.
0
Comment
Question by:dba1234
4 Comments
 
LVL 2

Accepted Solution

by:
prerakg earned 500 total points
ID: 37721399
Are you asking about the "established" "Time wait" and "closed" network connections. If yes then no closed or inactive connections last long for all the time. They must have been used recently by some applications and after the activity is over now they are in "time wait" or "closed" state.

They will eventually wipe off. I have not heared any where that too many closed or inactive connections affect performance.

Active connections can but not inactive.
0
 
LVL 29

Assisted Solution

by:MikeOM_DBA
MikeOM_DBA earned 500 total points
ID: 37721600
Are you using Weblogic? Oracle Application Server? Some other middle-tier?

Check your middle-tier configuration for minimum/maximum sessions, timeout settings, etc... and tweek accordingly.

PS: As prerakg mentioned, inactive connections will only use a minimum of memory.
0
 
LVL 16

Assisted Solution

by:Wasim Akram Shaik
Wasim Akram Shaik earned 500 total points
ID: 37721908
250 inactive connections all the time ??

Are they really inactive all the time???

did you check the last_call_et of these inactive sessions, when had they made a call successfully to database..

also check the process of the inactive sessions which you are saying.. aren't they doing consuming any i/o at operating system level, then only you can term them as inactive..

what is sql_hash_value of such sessions,might be sessions are waiting for some thing from database..

we need to check out these things first.. yes also as experts said, which application do you use...

also are all inactive sessions from the same user???
0
 
LVL 48

Assisted Solution

by:schwertner
schwertner earned 500 total points
ID: 37721979
Inactive connections often mean also 'dead" connections.

The server has a maksimum number of allowed connections and when the treshhold is reached it will avoid new connections. Connections also consume RAM. Not much, but if the number of them is high, the occupied RAM grows significantly.

Go to the file SQLNET.ORA and add this line:

SQLNET.EXPIRE_TIME = 30

Every 30 minutes the server will sent probes to all clients and kill the dead connections.

Of course the other suggestions above are also valuable.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question