Oracle 视图 V$LATCH_CHILDREN 官方解释,作用,如何使用详细说明
Oracle视图V$LATCH_CHILDREN是一个动态视图,可以用来查看各类Latch子进程的信息,其中包括执行中的子进程、等待状态的子进程以及正在分配资源的子进程。在系统资源出现负载不均衡时,可以从V$LATCH_CHILDREN视图中把握进程状况。
使用V$LATCH_CHILDREN视图的办法如下:
(1)查看进程的pid
查看当前系统中的所有pid,可以执行:
SELECT sid,pid FROM v$latch_children;
(2)查看进程的执行进度
查看某个进程的执行进度,可以执行:
SELECT sid,pid,percent_complete FROM v$latch_children WHERE pid= pid;
其中 pid指的是进程的pid。
(3)查看进程是否被阻塞
查看某个进程是否被阻塞,可以执行:
SELECT sid,pid,blocking_pid FROM v$latch_children WHERE pid= pid;
其中 pid指的是进程的pid。 若blocking_pid为0,说明该进程没有被阻塞。
官方英文解释V$LATCH_CHILDREN displays statistics about child latches.
This view includes all columns of V$LATCH plus the CHILD# column. Note that child latches have the same parent if their LATCH# columns match each other.
Number of times the latch was requested in willing-to-wait mode and the requester had to wait
Number of times a willing-to-wait latch request resulted in a session sleeping while waiting for the latch
This column has been deprecated and is present only for compatibility with previous releases of Oracle. No data is accumulated for this column; it will always have a value of zero.
This column has been deprecated and is present only for compatibility with previous releases of Oracle. No data is accumulated for this column; it will always have a value of zero.
Willing-to-wait latch requests which missed the first try but succeeded while spinning
These columns have been deprecated and are present only for compatibility with previous releases of Oracle. No data is accumulated for these columns; they will always have a value of zero. As a substitute for these columns you can query the appropriate rows of the V$EVENT_HISTOGRAM view where the EVENT column has a value of latch free or latch:%.
0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 V$LATCH_CHILDREN 官方解释,作用,如何使用详细说明
相关文章
- 利用Oracle大数据进行安全的备份存储(oracle大数据备份)
- Oracle 视图 ALL_JSON_DATAGUIDES 官方解释,作用,如何使用详细说明
- Oracle 视图 ALL_STORED_SETTINGS 官方解释,作用,如何使用详细说明
- Oracle 视图 USER_ADVISOR_FDG_BREAKDOWN 官方解释,作用,如何使用详细说明
- Oracle 视图 V$ASM_OPERATION 官方解释,作用,如何使用详细说明
- Oracle 视图 V$MAP_FILE_IO_STACK 官方解释,作用,如何使用详细说明
- Oracle 等待事件 Redo Writer Remote Sync Notify 官方解释,作用,如何使用及优化方法
- 使用Oracle函数轻松调用(oracle函数怎么调用)
- 深入理解Oracle中字段空值的判断(oracle字段空判断)
- Oracle:免费使用的好处(oracle免费吗)
- Oracle数据库表的总数?(oracle多少张表)
- 数据库如何使用Oracle数据库快速引用(怎么引用oracle)
- 深入浅出:Oracle中查看进程数的方法(oracle查看进程数)
- Oracle 数据库开拓新机遇,欢迎加入我们! (oracle数据库招聘)
- dir创建Oracle目录:步骤与指南(oracle.mk)
- 怎么办?Oracle数据库无法登录?(oracle数据库进不去)
- Oracle兼容性尝试新机遇,追求理想状态(oracle兼容性怎么样)
- Oracle公司探索创新的商业经营模式(oracle公司经营方式)
- 使用CMD开启Oracle轻松操作指南(cmd开始oracle)
- 在Ad域环境中使用Oracle数据库(ad域 oracle)
- 危险的可能性Oracle使用的风险(oracle使用风险)
- Oracle中的低数组使用细则(oracle低基数列)
- 优化查询Oracle中利用并行提高效率(oracle中查询加并行)
- Oracle之子的查询之旅(oracle之子查询)
- Oracle两列的值不能重复(oracle两列不可相同)
- 有效使用Oracle下载安装及注册码配置(oracle下载注册码)
- Oracle下载要求先行注册(oracle下载必须注册)
- Oracle精彩豁然开朗拥抱IT未来之路(oracle treat)
- 使用Oracle SQool构建数据库结构的最佳实践(oracle sqool)