Index
For example: ORA-01659
#> oerr ora 1659
For example: IMP-00032
#> oerr imp 32
Ans: 當執行到這個步驟時,整個系統出現 hang 問題
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Ans: 在 OEM UI(Java)操作下無法刪除 datafile,但可以用指令方式來作
SQL> alter tablespace <tablespace-name> drop datafile '/opt/oracle/oradata/win/STDB03.dbf';
Ans: 解決步驟如下:
如果連 SQL/PLUS 都無法有效被執行時,如何能強制關閉資料庫
$sqlplus -prelim "/ as sysdba" SQL> shutdown abort
移除 User 所屬的物件
set heading off set pages 0 set feedback off set echo off spool ./drop_MYUSER.sql select 'drop table MYUSER.'||table_name||';' from dba_tables where owner='MYUSER'; spool off
移除 User
drop user USER CASCADE;
Ans: Add a option buffer=1000000 in the import command
#> imp system/oracle buffer=1000000 .....
If it's still not working, try to find out the proper value of the SQL_LENGTH with the following command:
In the source DB you need to run
SQL> select dbms_lob.getlength (dbms_metadata.get_ddl('TABLE','<table-name>','<owner-name>')) "SQL_LENGTH" from dual; SQL_LENGTH ---------- 71203
NOTE: the table name can be one of the tables failed on import.
Ans: Solution