How to list active / open connections in Oracle?

后端 未结 9 790
孤街浪徒
孤街浪徒 2020-11-30 17:25

Is there any hidden table, system variable or something to show active connections in a given moment?

9条回答
  •  既然无缘
    2020-11-30 18:19

    select
      username,
      osuser,
      terminal,
      utl_inaddr.get_host_address(terminal) IP_ADDRESS
    from
      v$session
    where
      username is not null
    order by
      username,
      osuser;
    

提交回复
热议问题