oracle 查看用户所在的表空间

2024-10-19 06:19:15

1、数据字典中用户表:dba_users;通过数据字典查看有多少个用户:select username from dba_users;

oracle 查看用户所在的表空间

3、oracle 查看用户所在的表空间:select username,default_tablespace from dba_users order by username;如图所示;

oracle 查看用户所在的表空间

5、查看表空间的名字及大小:select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size from dba_tablespaces t, dba_data_files d where t.tablespace_name = d.tablespace_name group by t.tablespace_name;

oracle 查看用户所在的表空间
猜你喜欢