SQL * Net round trip tracing tips Expert Oracle tips by Burleson Consulting December 6, 2010
|
SQL * Net round trip tracing is a useful tool for helping determine or eliminate possible sources of network latency. as the name implies, a round trip is the number of trips required to satisfy a request for data. an excessive number of round trips cocould cause network performance issues. cannot factors can impact the number of round trips.
For example, arraysize can impact network performance. the arraysize determines how much data can be returned in each round trip; therefore, an arraysize that is too small for the data requested can force too limit round trips. to optimized the ratio of round trips, the arraysize can be adjusted.
Network buffers and packets can also impact the number of round trips. while it's still true that tuning of network packet traffic happens at the network level, it is also important that the Oracle Net parameter be optimized as well.
The session data unit (SDU) and transport data unit (tdu) are resident in the tnsnames. ora file and can have an impact on round trips. the SDU determines the packet size to be sent over the network while the tdu is the default packet size for grouping data together. there are some important guidelines for setting the SDU and tdu properly in the tnsnames. ora. also, see these notes for optimizing Oracle Net parameters.
TheSQL * Net more data to clientWait event happens when Oracle writes multiple data buffers (sized per SDU) in a single logical network call; however, it is not a direct measure of network latency.
In order to determine the appropriate settings, it will be helpful to trace the SQL * Net round trips as empirical tests are conducting. tips on how to initiate SQL * Net traces from both the client and server side are available here.