Bo's Oracle Station

查看: 1155|回复: 0

2014-08-02-3.sql

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-8-6 08:33:20 | 显示全部楼层 |阅读模式
select  * from dba_profiles p where p.profile='PROFILE1' and p.resource_type='KERNEL';

select  * from v_$session s  where s.TERMINAL='pts/1';

select  * from resource_cost;

alter   resource cost CONNECT_TIME  1;

-- real  connect_time(mins) *1 +  real cpu_per_session*0 + .......=cost

select * from dba_users u where u.username='HR';
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-29 04:09 , Processed in 0.040964 second(s), 24 queries .

快速回复 返回顶部 返回列表