Sessions - How to Tumble Ondish Sessions?

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
User avatar
MuLtAnI
Moderador
Moderador
Posts: 90
Joined: Tue, 01 Jun 2004 9:21 am
Location: Videira - SC
Contact:

Dae galera .... I wanted to know if anyone can help me with the following situation ....
I need to monitor the users of the users and if it reaches a certain amount of aciosity I overthrow ... can do this Based on the result of this select?

Select all

 
select v$session.sid, v$session.serial#, v$session.user#,  v$session.username, v$session.osuser, 
       v$session_wait.seconds_in_wait,v$session.status,  v$session_wait.state 
from 
   v$session, v$session_wait 
where 
   v$session.sid = v$session_wait.sid and 
   v$session.status in ('INACTIVE', 'KILLED') 

grateful

[] 's
User avatar
tfg
Rank: Analista Júnior
Rank: Analista Júnior
Posts: 83
Joined: Mon, 03 May 2004 3:38 pm
Location: Novo Hamburgo - RS

If I do not mistake, there is a native form of Oracle do this. (A parameter, or something like that .. -> without using "gambiarras", hehe)

I'll see if I find something ... hence I put it here.
User avatar
MuLtAnI
Moderador
Moderador
Posts: 90
Joined: Tue, 01 Jun 2004 9:21 am
Location: Videira - SC
Contact:

I imagined that there was such a control ... but I could not get anything about and ateh where I know the session controls are the V $ session tables ... if anyone can give me a light of how to manipulate any startup parameter or Something of the genre for me to inform conditions to overthrow the fiko grateful session ...

I'm researching TFG, if I find something I'll post here in the forum!


[] 's
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

You will get this using profiles ... Read on the subject!
See this link:
http://download-west.oracle.com/docs/cd ... tm#2052167

Select all

ALTER PROFILE default LIMIT IDLE_TIME  10;  --em minutos 
ALTER PROFILE engineer LIMIT IDLE_TIME UNLIMITED; 
No 8i works. I do not know if in previous versions they also work.
User avatar
MuLtAnI
Moderador
Moderador
Posts: 90
Joined: Tue, 01 Jun 2004 9:21 am
Location: Videira - SC
Contact:

valeu Glufke!
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest