Question: What are the ways
to monitor network performance in Oracle? I want to monitor
network traffic shipments and network latency using AWR, STATSPACK
or the v$ views. What options does Oracle offer for network
monitoring?
Answer: Oracle only
see the network via SQL*Net (Oracle*Net), but Oracle does
provide some good network monitoring tools.
The SQL*Net message to client may
indicate a network-related issue that causes clients too
long to get data from the database server. Thus, it can be a
TCP issue, but it is not limited to that.
Common causes of a high SQL*Net
message to client might include TCP/IP bottlenecks or TNS
parameter issues:
- High network latency:
Check with
netstat to
ensure that your TCP/IP does not have bottlenecks.
If you
don't want to write your own OS monitoring scripts you can
download a full set of Oracle
OS monitoring scripts.
The
SQL*Net message to client
Oracle metric indicates
the server (foreground
process) is sending a message to the client. Network
bottlenecks are very common in distributed systems and those
with high network traffic. They are manifested as SQL*Net
wait events:
% Total
Event Waits Time (cs) Wt Time
--------------------------------- ------------ ------------ -------
SQL*Net more data to client 3,914,935 9,475,372 99.76
db file sequential read 1,367,659 6,129 .06
db file parallel write 7,582 5,001 .05
rdbms ipc reply 26 4,612 .05
db file scattered read 16,886 2,446 .03
Here is a network monitoring script:
col c1
heading 'end|time' format a10
col c2 heading 'wait|class' format a20
col c3 heading 'time|waited' format
999,999,999,999
break on c1 skip 2
select
trunc(end_interval_time) c1,
wait_class c2,
sum(time_waited) c3
from
dba_hist_service_wait_class
join
dba_hist_snapshot
USING(snap_id)
where
wait_class =
'Network'
group by
trunc(end_interval_time),
wait_class
order by
trunc(end_interval_time),
c3 desc;
end wait
time
time class
waited
---------- -------------------- ----------------
31-OCT-12 Network
126
01-NOV-12 Network
117
Also see my notes on monitoring Oracle
networks:
|
|
|
Oracle Training from Don Burleson
The best on site
"Oracle
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

|
|
|
|
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|