Solved

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

Posted on 2012-03-14
4
398 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 48

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to Gracefuly recover in Racle stored procedure 1 34
Oracle Insert not working 10 32
oracle date format checking 7 26
Oracle 12c Default Isolation Level 17 41
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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 recover a database from a user managed backup

829 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