1. 程式人生 > >ORA-25153:臨時表空間為空

ORA-25153:臨時表空間為空

SQL>sqlplus / as sysdbaSQL>desc v$tempfile; 臨時表空間記錄檔案SQL>select name from v$tempfile;重新建立臨時表空間代替之前的表空間:SQL>create tempormary tablespace temp1 tempfile 'c:\orcl\temp1.dbf' size 100M;將新建的表空間設定為資料庫的預設表空間:SQL>alter database default temporary tablespace temp1;驗證檢視臨時表空間:SQL>select tablespac_name,contents from dba_tablespaces;刪除之前的臨時表空間:SQL>drop tablespace temp_name including contents and datafiles;給使用者指定預設表空間:

SQL>alter user scott temporary tablespace temp1;

(筆者原創文章,轉載請註明出處:https://blog.csdn.net/LFCuiYs)謝謝!