藍(lán)色網(wǎng)站素材搜索引擎推廣案例
從生產(chǎn)上面?zhèn)浞莩鰜?lái)了一個(gè)數(shù)據(jù)庫(kù),應(yīng)用在使用時(shí)顯示ORA-25153臨時(shí)表空間為空的報(bào)錯(cuò),原因一般是數(shù)據(jù)庫(kù)遷移時(shí),沒(méi)有遷移完整造成的
解決方法
1.創(chuàng)建新的臨時(shí)表空間temp2
create temporary tablespace temp2 tempfile '+DATA' size 100M autoextend on;
2.設(shè)置新的臨時(shí)表空間temp2為默認(rèn)臨時(shí)表空間
alter database default temporary tablespace temp2;
3.刪除原有不可用的臨時(shí)表空間
drop tablespace temp including contents and datafiles cascade constraints;
4.重新創(chuàng)建新的默認(rèn)表空間TMEP
create temporary tablespace TEMP tempfile '+DATA' SIZE 50M AUTOEXTEND ON;
5.重新設(shè)置默認(rèn)表空間為T(mén)MEP
alter database default temporary tablespace temp;
6.刪除第一次創(chuàng)建的不用的臨時(shí)表空間temp2
drop tablespace temp2 including contents and datafiles cascade constraints;