奇葩的SQL*Net more data from client等待,导致批处理巨慢
<pre name="code" class="sql"><pre name="code" class="sql">UPDATE Business_Duebill
SET RelativeSerialNo1 = :1,
RelativeSerialNo2 = :2,
CustomerID = :3,
BusinessType = :4,
MFCustomerID = :5,
CustomerName = :6,
SubjectNo = :7,
BusinessSum = :8,
BusinessCurrency = :9,
ActualBusinessRate = :10,
Balance = :11,
NormalBalance = :12,
OverdueBalance = :13,
DullBalance = :14,
BadBalance = :15,
InterestBalance1 = :16,
InterestBalance2 = :17,
FineBalance1 = :18,
FineBalance2 = :19,
ActualMaturity = :20,
FinishDate = :21,
TABalance = :22,
TAInterestBalance = :23,
TATimes = :24,
LcaTimes = :25,
ExtendTimes = :26,
AdvanceFlag = :27,
PayBackAccount = :28,
PayInterestAccount = :29,
BailAccount = :30,
PutOutAccount = :31,
OperateOrgID = :32,
MfOrgID = :33,
UpdateDate = :34,
Classify4 = :35,
ReturnType = :36,
BailPercent = :37,
PaymentType = :38,
TermsFreq = :39,
BusinessStatus = :40,
OperateUserID = :41,
OverdueDate = :42,
BillType = :43,
RateFloat = :44,
RateFloatType = :45,
AdjustRateType = :46,
THIRDPARTYZIP2 = :47,
FinishType = :48
WHERE SerialNo = :49 出现了大量的SQL*Net more data from client p1 p2
1 24-5?? -14 01.14.34.059 1571 SQL*Net more data from client 1952673792 5 0 0 -1 0 0
2 24-5?? -14 01.14.33.058 1571 SQL*Net more data from client 1952673792 4 0 0 -1 0 0
3 24-5?? -14 01.14.32.058 361 enq: WF - contention 1464205318 70 0 0 -1 0 0
4 24-5?? -14 01.14.32.058 1571 SQL*Net more data from client 1952673792 1 0 0 -1 0 0
5 24-5?? -14 01.14.31.057 1571 SQL*Net more data from client 1952673792 1 0 0 -1 0 0
6 24-5?? -14 01.14.30.056 1571 SQL*Net more data from client 1952673792 4 0 0 -1 0 0
7 24-5?? -14 01.14.29.056 1571 SQL*Net more data from client 1952673792 3 0 0 -1 0 0
8 24-5?? -14 01.14.28.055 361 db file sequential read 2 164307 1 0 -1 0 0
9 24-5?? -14 01.14.28.055 1571 SQL*Net more data from client 1952673792 11 0 0 -1 0 0
10 24-5?? -14 01.14.27.055 1571 SQL*Net more data from client 1952673792 2 0 0 -1 0 0
11 24-5?? -14 01.14.26.054 1571 SQL*Net more data from client 1952673792 3 0 0 -1 0 0
12 24-5?? -14 01.14.25.049 1571 SQL*Net more data from client 1952673792 1 0 0 -1 0 0
13 24-5?? -14 01.14.24.049 1571 SQL*Net more data from client 1952673792 5 0 0 -1 0 0
14 24-5?? -14 01.14.23.048 1571 SQL*Net more data from client 1952673792 2 0 0 -1 0 0 当会话等待一个来自客户端的消息的到达时提交的SQL*Net more data from client(来自客户端的SQL*NET的消息)等待事件。一般而言,这意味着会话处于空闲状态。 在不与使用键盘的终端用户进行交互的批处理程序中,若在此事件上的等待事件过多,则表示在应用程序代码中或网络层存在低效率因素。 但是,该事件上的过高的等待事件并不降低数据库的性能,因此该事件清楚地指出可觉察到的数据库性能问题并不是真正的数据库问题。 P1 :Driver id: 服务器端和客户端连接使用的协议信息。 P2: #bytes: 服务器端接收到的来自客户端消息的字节数(通常是1,即使接收到的数据包中包含多余1字节的内容). SQL*Net more data from client
A while ago, OEM report some alert messages to us: Wait class "Network" was consuming significant database time.
Wait event "SQL*Net more data from client" in wait class "Network"
was consuming significant database time.
We also see a 30ms slower to render our web pages. According to Oracle doc, SQL*Net more data from client
The server is performing another send to the client. The previous operation was also a send to the client. It is not of much help. The OEM gives a more clear indication: Investigate the cause for high “SQL*Net more data from client” waits in Module “JDBC Thin Client”. It is telling us that something is wrong with the JDBC drivers. Chris May find a good article here The cause of this event was a sequence of parse calls that passed excessively long SQL text strings through SQL*Net from the client to the server (instead of using stored procedure calls to accomplish the same thing). The long SQL text strings wouldn’t fit into a single SQL*Net packet, so the Oracle kernel spent a considerable amount of time awaiting second and subsequent SQL*Net packets during parse calls. Hibernate, the ORM tools used by our application, generates long SQLs. Instead of select * from table, it use select col_1, col_2 from table. After upgrading to latest JDBC driver, the problem fixed.
可以看到光wait就有将近13分钟,占CPU TIME的84%,而且平均等待事件达到177毫秒
奇葩的SQL*Net more data from client等待,导致批处理巨慢的更多相关文章
- SQL*Net more data to client
		
The server process is sending more data/messages to the client. The previous operation to the client ...
 - SQL*Net more data from client
		
SQL*Net more data from client The server is waiting on the client to send more data to its client sh ...
 - 一个session已经ACTIVE20多小时,等待事件SQL*Net more data from client
		
问题描述: 一个session已经ACTIVE20多小时,等待事件SQL*Net more data from client 有一人session,从昨天上午11点多登陆(v$session.logi ...
 - cosbench read异常解决办法。  Unable to verify integrity of data download. Client calculated content hash didn't match hash calculated by Amazon S3. The data may be corrupt.
		
问题:cosbench read测试failed 报错如下 Cosbench v0.4.2.c4 against Ceph (Hammer) / radosgw / HAproxy's HTTP en ...
 - sql System.Data.SqlClient.SqlError: 无法覆盖文件 'C:\Program Files\Microsoft SQL Server\MSSQL\data\itsm_Data.MDF'。数据库 'my1' 正在使用该文件的解决方案
		
对数据库备份进行还原时遇到“sql System.Data.SqlClient.SqlError: 无法覆盖文件 'C:\Program Files\Microsoft SQL Server\MSSQ ...
 - iReport 5.6.0 Error: net.sf.jasperreports.engine.JRException: Error executing SQL statement for : data 最优解决方案
		
问题描述 近期学习iReport(个人使用的是最新版本的 iReport-5.6.0,MySQL是 5.5.56版本),遇到一些问题,在安装完成后,创建了数据库,配置了MySQL数据库连接信息,新建报 ...
 - SQL to JSON Data Modeling with Hackolade
		
Review: SQL to JSON data modeling First, let’s review, the main way to represent relations in a rela ...
 - 【hbase】Unable to read additional data from client sessionid 0x15c92bd1fca0003, likely client has closed socket
		
启动hbase ,验证出错 Master is initializing 查看zk日志,发现Unable to read additional data from client sessionid 0 ...
 - Azure SQL 数据库仓库Data Warehouse (3) DWU
		
<Windows Azure Platform 系列文章目录> 在笔者的上一篇文章中:Azure SQL 数据库仓库Data Warehouse (2) 架构 介绍了SQL DW的工作节点 ...
 
随机推荐
- Bogo排序
			
我不知道这个能不能算排序...维基上有这个排序名称...但我感觉它纯碎在卖萌... 基本思路:随机打乱数组,然后看看数组有序了没,如果没?继续随机打乱继续看...直至有序. 神一般的低效.排几十个数不 ...
 - 为什么 HTTP 有时候比 HTTPS 好?
			
做为一家安全公司,我们在站点Stormpath上经常被开发者问到的是有关安全方面最优做法的问题.其中一个被经常问到的问题是: 我是否应当在站点上运行HTTPS? 很不幸,查遍整个因特网,你大多数情况下 ...
 - prototype对象的真正作用
			
参考阮一峰的文章:http://javascript.ruanyifeng.com/oop/encapsulation.html prototype对象的真正作用 在JavaScript语言中,每一个 ...
 - js判断上传文件大小
			
下面提供三款网页特效判断上传文件大小哦,这三种方法是现在限制文件上传大小比较好的方法,可以在客户上传文件时限制上传文件大小判断处理<!doctype html public "-//w ...
 - 单源最短路径(dijkstra算法)php实现
			
做一个医学项目,当中在病例评分时会用到单源最短路径的算法.单源最短路径的dijkstra算法的思路例如以下: 如果存在一条从i到j的最短路径(Vi.....Vk,Vj),Vk是Vj前面的一顶点.那么( ...
 - Nested Class Templates
			
Templates can be defined within classes or class templates, in which case they are referred to as ...
 - 局域网指定 IP 地址后无法上网的问题
			
子网掩码.默认网关.DNS 与局域网设置有关,建议指定前先 运行 cmd -> ipconfig /all 查看一下自动获取的信息. 另外留意指定IP 后需打开高级设置 -> WINS,勾 ...
 - Java程序性能分析工具Java VisualVM(Visual GC)—程序员必备利器
			
VisualVM 是一款免费的\集成了多个JDK 命令行工具的可视化工具,它能为您提供强大的分析能力,对 Java 应用程序做性能分析和调优.这些功能包括生成和分析海量数据.跟踪内存泄漏.监控垃圾回收 ...
 - ARM Cortex-M
			
振荡周期.时钟周期.机器周期.指令周期 一个机器周期包含12个振荡周期或6个时钟周期 指令的执行时间称作指令周期(单.双.四周期) (1)振荡周期 振荡周期指为单片机提供定时信号的振荡源的 ...
 - RHEL6.3进入单用户模式并重置root密码
			
单用户模式类似于windows下的安全模式,允许root账号不输入密码直接启动并登录系统进行系统维护. 单用户模式只允许root账号登录,不允许其它用户使用ssh协议进行远程连接. 重启系统时按Ent ...