메뉴 여닫기
개인 메뉴 토글
로그인하지 않음
만약 지금 편집한다면 당신의 IP 주소가 공개될 수 있습니다.

디비링크 사용량 모니터링

DB CAFE
Dbcafe (토론 | 기여)님의 2024년 9월 30일 (월) 22:11 판 (새 문서: == 디비링크 네트워크 사용량 모니터링 == === 수신된 바이트 수 === <source lang=sql> -- total number of bytes received select s.value from v$sysstat s , v$statname n where n.name='bytes received via SQL*Net from dblink' and n.statistic#=s.statistic#; </source> === 송신한 바이트 수 === <source lang=sql> -- total number of bytes sent select s.value from v$sysstat s , v$statname n where n.name='bytes sent via SQL*Net to dblink'...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

디비링크 네트워크 사용량 모니터링

수신된 바이트 수

-- total number of bytes received
select s.value 
  from v$sysstat s
     , v$statname n 
 where n.name='bytes received via SQL*Net from dblink' 
   and n.statistic#=s.statistic#;

송신한 바이트 수

-- total number of bytes sent
select s.value 
  from v$sysstat s
     , v$statname n 
 where n.name='bytes sent via SQL*Net to dblink' 
   and n.statistic#=s.statistic#;

송/수신 정보

--SQL*Net bytes sent for a session.
select *
  from gv$sesstat
  join v$statname
    on gv$sesstat.statistic# = v$statname.statistic#
-- You probably also want to filter for a specific INST_ID and SID here.
 where lower(display_name) like '%sql*net%';
--SQL*Net bytes sent for the entire system.
select *
  from gv$sysstat
 where lower(name) like '%sql*net%'
 order by value desc;