Solved

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

Posted on 2012-03-14
4
389 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 125 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 125 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 125 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 47

Assisted Solution

by:schwertner
schwertner earned 125 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now