--查看当前有哪些用户正在使用数据
SELECT osuser, a.username,cpu_time/executions/1000000||'s', sql_fulltext,machine
from v$session a, v$sqlarea b
where a.sql_address =b.address order by cpu_time/executions desc;
本文提供了一个SQL查询示例,用于查看当前系统中活跃的用户及其使用的资源情况,包括用户名、CPU时间、执行次数等信息。
1481

被折叠的 条评论
为什么被折叠?



