SQL*Net Round Trip Tracing tips

简介:

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 could cause network performance issues.   Many 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 many 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.

The SQL*Net more data to client  wait 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 conducted.  Tips on how to initiate SQL*Net traces from both the client and server side are available HERE.


本文转自海天一鸥博客园博客,原文链接http://www.cnblogs.com/sgsoft/archive/2010/12/15/1907356.html,如需转载请自行联系原作者

相关文章
|
7月前
|
SQL 关系型数据库 MySQL
【SQL异常】启动MySQL时发生系统错误的解决方法(net start mysql 发生系统错误 5。 拒绝访问)
【SQL异常】启动MySQL时发生系统错误的解决方法(net start mysql 发生系统错误 5。 拒绝访问)
150 1
SQL数值计算函数之round(X,D)
round(X,D):将数值X按照D指定的向小数点前后截断,D取值范围为[-30,30]间的整数。
104 0
SQL数值计算函数之round(X,D)
|
SQL Oracle 关系型数据库
Oracle 等待事件研究:SQL*Net break/reset to client
SQL*Net break/reset to client事件是一个容易被误解的事件,这个事件看起来和网络有关,但实际上大多数情况下这个事件与网络无关。
400 0
Oracle 等待事件研究:SQL*Net break/reset to client
|
SQL Windows
TIA Portal STEP 7 Professional V15 - WinCC Advanced V15需SP1。请在此PC中启用NET 3.5 SP1。在运行SQL server时需要此版本。
TIA Portal STEP 7 Professional V15 - WinCC Advanced V15需SP1。请在此PC中启用NET 3.5 SP1。在运行SQL server时需要此版本。
1252 0
TIA Portal STEP 7 Professional V15 - WinCC Advanced V15需SP1。请在此PC中启用NET 3.5 SP1。在运行SQL server时需要此版本。
|
SQL 算法 Go
DBPack SQL Tracing 功能及数据加密功能详解
在 v0.1.0 版本我们发布了分布式事务功能,支持各种编程语言协调分布式事务。 在 v0.2.0 版本我们发布了读写分离功能,用户在开启读写分离功能的情况下,使用分布式事务协调功能不再需要做复杂的集成,DBPack 提供了一站式的解决方案。 在 v0.3.0 版本,我们加入 SQL Tracing 的功能,使用该功能可以收集到一个完整的分布式事务链路,查看事务的执行情况。我们还加入了数据加密功能,通过该功能保护用户的重要数据资产。
118 0
DBPack SQL Tracing 功能及数据加密功能详解
|
SQL 关系型数据库 MySQL
SQL语句小tips(持续更新)
统计非法数据 判断people_id是否是32为字母组成的,统计不满足要求的数据 SELECT COUNT(IF(BINARY people_id NOT REGEXP '^[0-9a-z]{32}',TRUE,NULL)) AS people_id_illegality_cnt FROM ...
1054 0
|
SQL 关系型数据库 Oracle
20180126模拟SQL*Net message from dblink
[20180126]模拟SQL*Net message from dblink.txt SCOTT@book> @ &r/ver1 PORT_STRING                    VERSION        BANNER -----------...
1004 0
|
SQL 数据库 网络安全
0124奇怪的SQL*Net message from dblink
[20180124]奇怪的SQL*Net message from dblink.txt --//生产系统出现大量的SQL*Net message from dblink事件,自己分析看看.
2147 0