1. 查看用户和默认表空间的对应关系www.linuxidc.com@ORCLgt; select username,default_tablespace from dba_users;2. 查看表结
oracle 基础知识之查看用户,用户权限,用户表空间,用户默认表空间
[日期:2011-04-07] 来源:Linux社区 作者:leishifei [字体:]
@ORCL> select username,default_tablespace from dba_users;
@ORCL> select table_name from user_tables;
@ORCL> select table_name from all_tables;
@ORCL> select a.file_id "FileNo",a.tablespace_name "Tablespace_name",
2 a.bytes "Bytes",a.bytes-sum(nvl(b.bytes,0)) "Used",
3 sum(nvl(b.bytes,0)) "Free",
4 sum(nvl(b.bytes,0))/a.bytes*100 "%free"
5 from dba_data_files a, dba_free_space b
6 where a.file_id=b.file_id(+)
7 group by a.tablespace_name, a.file_id,a.bytes
8 order by a.tablespace_name;
@ORCL> select * from dba_sys_privs;
@ORCL> select * from dba_roles;
@ORCL> select * from role_sys_privs;
@ORCL> select * from role_tab_privs;
@ORCL> select * from system_privilege_map;
@ORCL> select * from table_privilege_map;

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号