select owner,table_name,duration from dba_tables where temporary='Y'; 查看临时表
select * from v$sort_usage; 查看临时表空间的使用情况
修改默认临时表空间
create temporary tablespace temp tempfile '/oracledb/app/oracle/oradata/sealdb/temp.dbf' size 100m autoextend on;
alter database default temporary tablespace temp;
drop tablespace temp02 including contents and datafiles;
alter user someone temporary tablespace temp;
select * from database_properties where property_name='DEFAULT_TEMP_TABLESPACE'; 查看系统默认临时个空间
select username,temporary_tablespace from dba_users where username='TEST'; 查看用户所用的临时个空间
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29798713/viewspace-1298496/
,如需转载,请注明出处,否则将追究法律责任。