Oracle7 Server Tuning | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
This chapter introduces networking issues which affect tuning. Topics in this chapter include
It can be difficult to measure the amount of delay which the network adds to performance. There are three useful dynamic performance views in this regard: V$SESSION_EVENT, V$SESSION_WAIT, and V$SESSTAT.
In V$SESSION_EVENT, the AVERAGE_WAIT column indicates the amount of time that Oracle waits between messages. You can use this statistic as a yardstick to evaluate the effectiveness of the network.
V$SESSION_WAIT contains an EVENT column which lists the events for which active sessions are waiting. The "sqlnet message from client" wait event indicates that the shared or foreground process is waiting on a message from a client. If this wait event has occurred, the DBA can check to see whether the message has been sent by the user or received by Oracle.
You can investigate hangups by looking at V$SESSION_WAIT to see what it is that sessions are waiting for. If a client has sent a message, you can determine whether Oracle is responding to it, or is still waiting for it.
In V$SESSTAT you can see the number of bytes that have been received from the client, the number of bytes sent to the client, and the number of calls the client has made.
See Also: Programmer's Guide to the Oracle Precompilers for more information on array interfaces.
See Also: Understanding SQL*Net
See Also: Understanding SQL*Net
Optimal SDU size depends on the normal packet size. Use a sniffer to find out the frame size, or set tracing on to its highest level to check the number of packets sent and received, and to see if they are fragmented. Tune your system to limit the amount of fragmentation.
Use Oracle Network Manager to configure a change to the default SDU size on both the client and the server; SDU size should generally be the same on both.
See Also: Understanding SQL*Net
![]() ![]() Prev Next |
![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |