有人能告诉我Oracle数据库中的对象总数是多少? 从数字I开始意味着oracle对象的数量。
此致 HAMD
答案 0 :(得分:1)
select count(*),
owner
from dba_objects
group by owner;
select count(*), owner, object_type
from dba_objects
where owner= '?????????'
group by owner, object_type;
答案 1 :(得分:0)
版本:每个用户的对象数
SELECT a.username
,COUNT(b.object_name)
FROM sys.dba_users a
LEFT JOIN sys.dba_objects b ON a.username = b.owner
GROUP BY a.username
ORDER BY a.username;