knows
select tablespace_name,file_name,bytes/1024/1024 file_size,autoextensible from dba_temp_files;

select status,enabled, name, bytes/1024/1024 file_size from v_$tempfile;

create temporary tablespace TEMP tempfile \'/opt/oracle/oradata/hcs2000/temp.dbf\' size 10M;

alter database tempfile \'/opt/oracle/oradata/hcs2000/temp.dbf\' resize 100m;


alter database tempfile  \'/opt/oracle/oradata/hcs2000/temp.dbf\' drop;



drop tablespace temp including contents and datafiles cascade constraints;


create temporary tablespace temp1 tempfile \'/opt/oracle/oradata/hcs2000/temp1.dbf\' size 100M;


alter database default temporary tablespace temp1;


SQL>  drop tablespace temp;
 drop tablespace temp
*
ERROR at line 1:
ORA-12906: cannot drop default temporary tablespace

分类:

技术点:

相关文章:

  • 2021-11-22
  • 2022-01-09
  • 2021-11-25
  • 2022-01-11
  • 2022-12-23
  • 2021-05-01
  • 2021-11-20
  • 2021-11-25
猜你喜欢
  • 2022-01-21
  • 2022-01-14
  • 2021-11-28
  • 2021-12-29
  • 2021-12-25
相关资源
相似解决方案