找回密码
 注册

Oracle数据库查询SQL的执行速度 查询执行速度慢的SQL

[复制链接]

Oracle数据库查询SQL的执行速度 查询执行速度慢的SQL

[复制链接]
admin

121

主题

7

回帖

685

积分

管理员

积分
685
2025-06-19 | 显示全部楼层 |阅读模式
select sql _ id ,
           sql _ text ,
           executions 执行次数,
           round ( elapsed _ time /1000000,2) as 总执行秒数,
           round ( elapsed time /1000000/ executions ,2) as 平均执行秒数
from v $ sqlarea t
where executions >0
    and upper ( sql _ text ) like '% xxxxxx %"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

BPM文库 | 鲁ICP备2023002758号

GMT+8, 2025-7-1 18:54 , Processed in 0.061330 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复