Oracle10201 RAC升級到10204後匯出資料時報EXP-00056錯誤

來源:互聯網
上載者:User

Oracle 10201 rac升級到10204後,做匯出操作,報如下錯誤

EXP-00056: ORACLE error 3212 encountered
ORA-03212: Temporary Segment cannot be created in locally-managed tablespace
EXP-00000: Export terminated unsuccessfully

從錯誤的內容可以看出來,不能使用暫存資料表空間,開始以為是暫存資料表空間不夠導致,如是先檢查暫存資料表空間的剩餘空間

select TABLESPACE_NAME, BYTES_USED/1024/1024 used_MB,BYTES_FREE/1024/1024 free_MB from V$TEMP_SPACE_HEADER;

發現暫存資料表空間空間夠用,既然是空間夠用,那應該就是許可權的問題了,如是檢查一下該使用者的暫存資料表空間是什麼,執行以下sql

select username,TEMPORARY_TABLESPACE from dba_users;

發現該使用者的暫存資料表空間變成了system,問題已經很明顯了,修改該使用者的暫存資料表空間便可

alter user wang temporary  tablespace temp;

再執行匯出時,匯出成功!

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.