Solved

v$session /high connections

Posted on 2014-01-20
4
389 Views
Last Modified: 2014-01-22
folks

our app is spawning high connections when we upload data thru a specific interface (webservice)

sometimes the sessions reach 1200 (as per the dba)

how can I trace the sessions and see what each session is trying to achieve, is this somethign covered in the v$sessions table

pardon, am no dba myself, trying to understand more
0
Comment
Question by:rutgermons
4 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39793840
you can start with this query:
 select a.sid, a.serial#, b.sql_text
    from v$session a, v$sqlarea b
   where a.sql_address=b.address
    and a.username='your_web_service_username'; 

Open in new window

hope this helps
0
 
LVL 8

Expert Comment

by:Surrano
ID: 39793920
another pace to look for is v$session_longops

select * from v$session_longops where time_remaining>0 and message not like '%RMAN%';

Open in new window

0
 
LVL 28

Expert Comment

by:Naveen Kumar
ID: 39796129
"specific interface (webservice) " --> may be try to understand what all capabilities does this webservice has to load the data because i am not able to understand how come this data uploading interface can flood the connections to the database.

As engage your dba as well to see if they can monitor the database closely when this data upload interface is being used and to find anything suspicious.

Thanks,
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 39798718
What language is the web service coded in?

I had problems in the past using .Net where connections were not properly closed and disposed.  .Net's garbage collection is 'supposed' to take care of this but...

For some reason Oracle would still see them as 'live' connections so neither the database nor .Net would ever see them as dead connections and clean them up.

Check the code and never rely on the 'system' to clean up unused objects.
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

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

776 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