查询用户占用的存储空间。 [甲骨文]

Query the storage occupied by a user. [ORACLE]

如何查询显示用户占用的 space,按设备和文件分组?

怎么样

select f.file_name
     , f.tablespace_name
     , s.owner
     , sum( s.bytes/ (1024*1024*1024)) GB
from dba_data_files f
   , dba_segments s
where f.tablespace_name = s.tablespace_name
group by f.file_name
       , f.tablespace_name
       , s.owner