use*_*930 3 oracle space tablespace
我需要检查表空间使用的空间,但我没有dba privs.有没有办法做到这一点?
不幸的是没有明确的权限,dba_free_space或者dba_segments你被卡住你的用户默认表空间的观点:
SELECT
  ts.tablespace_name,
  TO_CHAR(SUM(NVL(fs.bytes,0))/1024/1024, '99,999,990.99') AS MB_FREE
FROM
  user_free_space fs,
  user_tablespaces ts,
  user_users us
WHERE
  fs.tablespace_name(+)   = ts.tablespace_name
AND ts.tablespace_name(+) = us.default_tablespace
GROUP BY
  ts.tablespace_name;
如果您需要检查没有用户的表空间大小作为其默认表空间,那么您将无法返回到DBA.
使用系统表空间作为默认值进行测试:

使用app表空间作为默认表空间进行测试:

此架构没有对dba视图的查询:  
select * from dba_free_space;
ORA-00942: table or view does not exist
00942. 00000 -  "table or view does not exist"
*Cause:    
*Action:
Error at Line: 13 Column: 15