Q & A

    版本為 13:32, 22 Feb 2025

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    Index

    Q: How to get help

    For example: ORA-01659

    #> oerr ora 1659
    

    For example: IMP-00032

    #> oerr imp 32
    

    Q: IMP-00032: SQL statement exceeded buffer length

    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.

    Q: ORA-01659: unable to allocate MINEXTENTS beyond 1in tablespace XXX

    Ans: Solution

    1. Extend the datafile in the tablespace
    2. Extend the datafile in the temporary tablespace
    3. Re-export the dump file from the source DB and enable the option compress=n.
    Powered by MindTouch Core