Why was I seeing more than the active no. of connections in V$SESSION view? I am connected through SQL Developer and EM Express only but in V$SESSION its showing four connections with different SIDs. But after some more time it came to two connections. V$SESSION is dynamic View then why did it take that much time in update?
thanks
I think you use such a query
to display active sessions, and perhaps your database is of RAC(Real Application Clusters) type, and need to replace
v$session
withgv$session
which shows more than one instances withinst_id
column at the beginning of the select list.