当前位置:网站首页>SQL Net message from client 事件产生的原因分析
SQL Net message from client 事件产生的原因分析
2022-04-22 22:59:00 【cqszpx】
查看数据库等待事件时,发现SQL* Net message from client 等待时间最长,其实这个是oracle空闲等待时间,只要网络没有问题,可以不用考略这个wait。
下面是参考文档:
1.对于一个session来说,每时每刻都在wait 的状态。
WAIT FOR IO / WAIT FOR CPU / WAIT FOR LATCH /WAIT FOR ...
这一点你可以Query v$session_wait,总有data.
2.对于Server process来说,但它处理完所有需要处理的东西之后,它就进入另一个WAIT, SQL* Net message from client ,等待着Cilent发来信息让它处理,而我们把这种wait叫做 ildel event,并不代表真正的loading
3.举一个例子,你在工作,比如说1:00-1:30在检查DB状态,1:30 - 2:00在读文档。但是,有时候你没什么事做,这时候老板问你在干吗,你就会说,我在等待任务呢,实际上是在休息, 就相当于你wait for " 任务from老板“,事实上是在休息,也就是没有loading.
4.当然也有其他情况,比如,你在座位上休息 (wait for "任务 from老板“ ) ,本来应该是idle的。但是过一会,你老板跑来,暴跳如雷:“我刚才想叫你出去买咖啡,怎么打了半天电话也没人接“,你一查,原来是分机没接好。这种情况下的 (wait for "任务 from老板“ ) 就不正常了。相 对应的Oracle里的就是网络不畅,Client想发信息给Server process,结果不成功,而Server process一直是wait for SQL*Net message from client .
5.结论, 只要网络没问题。SQL*Net message from client 这个wait不用管。

版权声明
本文为[cqszpx]所创,转载请带上原文链接,感谢
https://blog.csdn.net/cqszpx/article/details/124351120
边栏推荐
- Canal usage process, deployment and installation documents
- [HCTF 2018]admin之unicode欺骗
- L1-069 胎压监测 (15 分)
- Gentoo系统安装步骤详解
- 【论文代码复现】Translating Embeddings for Modeling Multi-relational Data中TransE代码实现+遇到的错误
- L1-066 猫是液体 (5 分)
- CVPR 2022:微笑识别也带性别歧视?浙大武大联合蚂蚁Adobe搞了个公平性提升框架
- public speaking
- Basic use and principle of Minio
- SystemVerilog 验证-测试平台编写指南学习笔记(1):数据类型
猜你喜欢
随机推荐
从proc查询uid
L1-072 刮刮彩票 (20 分)
Cron表达式
c#控制台应用添加Log4net日志(控制台和文件)
在线YAML转XML工具
English | day13,14 x sentence true research daily sentence (parallel and nested structure)
yolov1论文笔记摘抄
Dart:在循环中使用 Async 和 Await
MySQL configuration adjustment: case insensitive
Shell脚本命令结果保存到变量,保留换行符
L1-069 胎压监测 (15 分)
Flutter 一文搞定图片选择和图片上传
Numeric type and sequence type
Unity使用Newtonsoft.Json插件实现XML与JSON数据的互转
External interrupt ------------ stm32f407zet6
CVPR 2022: is smile recognition also sexist? Zhejiang University and Wuhan University jointly set up a fairness improvement framework
VI / VIM 编辑器基本操作
Dart: use async and await in the loop
News Express I mobtech passed the "special safety evaluation" of China Academy of information and communications
软件测试(1)









