select tablespace_name from dba_tablespaces;
select tablespace_name from user_tablespaces;
select * from all_users;
oracle 删除表空间(tablespace)及文件的方法
一、drop user xxxx cascade;
二、drop tablespace xxxx including contents and datafiles
1.首先看一下是不是已经使用了OMF
sql>show parameter db_create
查看参数db_create_file_dest,如果已经设置
则:drop tablespace tablespacename 就可以直接删除表空间以及相应的数据文件
2.如果没使用OMF,则:
drop tablespace tablespacename including contents and datafiles
版权声明:本文为Baple原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。