Solved

v$session /high connections

Posted on 2014-01-20
4
385 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

Suggested Solutions

Title # Comments Views Activity
JDeveloper 12c for 32 bit 4 71
data lookup in Oracle - need suggestions 55 102
Oracle Pivot Question 8 45
su - oracle could not open session 6 50
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…
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

910 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

22 Experts available now in Live!

Get 1:1 Help Now