SQL * Net round trip tracing tips

Source: Internet
Author: User
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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.