现在数据库中的用户经常会被lock掉
unlock后过会还会lock掉
然后我把导出的数据进行导入会出现下面的错误,请问要怎么解决谢谢
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_Database returns one entry for each database that is managed by Oracle
Enterprise Manager. View entries are created using the databases that are known
to the Enterprise Manager Management Repository. Note: A Real Application
Cluster is presented...
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_DatabaseInstance contains one entry for each Oracle Instance that is
centrally managed.  A Real Application Cluster has one entry for each of the
instances that manipulate it.  Instances of Oracle_DatabaseInstance are created
using the database ...
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'An Oracle_DatabaseSystem represents the existence of an Oracle database
environment as a manageable entity.  Instances of Oracle_DatabaseSystem are
used to navigate to the software characteristics of the database environment
that are modeled within the...
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'The AssociatedDBSystem association identifies the database system that was used
to create the database.This association links an Oracle Database with
thedatabase system elements that are related.'
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'The InstanceAvailableToDB association relates an Oracle database and its
instances.'
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_DBInstanceStatistics contains statistics for a database instance.  These
are retrieved from the Oracle Managment Repository that is managing the
database upon request from a managment client.'
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_DatabaseStatistics provides current information about the statistics for
a database.  Database statistics pertain to the database and have the same
value regardless of the database instance that is used.'
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_CurrentDBInstanceStats is an association that relates a Oracle database
instance to its current statistical information.'
IMP-00032: SQL 语句超过缓冲区长度
IMP-00008: 导出文件中出现无法识别的语句:  
'Oracle_CurrentDBStatistics is an association that relates a Oracle database to
its current statistical information.'
即将启用约束条件...
成功终止导入, 但出现警告。

解决方案 »

  1.   

    已经完成 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集中的导入
    . 正在将 SP 的对象导入到 ORA367CN
    IMP-00017: 由于 ORACLE 错误 2304, 以下语句失败:
     "CREATE TYPE "ACC_DD" TIMESTAMP '2009-06-05:15:07:01' OID 'A3FC216992F842E"
     "9BDBE9F84ECB7A020'                                                         "
     "                                                                           "
     "                 as object(acc varchar2(500))"
    IMP-00003: 遇到 ORACLE 错误 2304
    ORA-02304: 无效的对象标识符文字
    IMP-00017: 由于 ORACLE 错误 2304, 以下语句失败:
     "CREATE TYPE "ACC_TABLE" TIMESTAMP '2009-06-05:15:07:01' OID '0EB735987B1241"
     "14A260DA17369F6617'                                                        "
     "                                                                           "
     "                  as table of acc_dd"
    IMP-00003: 遇到 ORACLE 错误 2304
    ORA-02304: 无效的对象标识符文字
      

  2.   

    imp再加个buffer=10000000还不行的话,你把exp和imp的详细语句贴出来。以及exp和imp的版本号。
      

  3.   

    加了 buffer=81920 就没有了
    IMP-00032: SQL 语句超过缓冲区长度 
    IMP-00008: 导出文件中出现无法识别的语句:  
    'Oracle_Database returns one entry for each database that is managed by Oracle 
    Enterprise Manager. View entries are created using the databases that are known 
    to the Enterprise Manager Management Repository. Note: A Real Application 
    Cluster is presented... 
    IMP-00032: SQL 语句超过缓冲区长度 
    IMP-00008: 导出文件中出现无法识别的语句:  
      

  4.   

    是的,导入就没错了
    现在就是再观察一下换个用户会不会再有
    lock掉 unlock后过会还会lock掉 的问题
      

  5.   

    这个可能是该用户属性文件的设置问题。看看该user的属性文件中的设置。
    还有每次被锁前有什么特定操作吗?比如密码连续输错。
      

  6.   

    怎么加buffer啊?能说下具体操作步骤吗?谢谢
      

  7.   

    imp 用户名/密码 file=要导入的文件路径 full=y ignore=y statistics=none 
      

  8.   

    imp 用户名/密码 file=要导入的文件路径 full=y ignore=y statistics=none buffer=100000000
    完整版
      

  9.   

    连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options经由常规路径由 EXPORT:V10.02.01 创建的导出文件
    已经完成 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集中的导入
    导出客户机使用 US7ASCII 字符集 (可能的字符集转换)
    . 正在将 PDE805 的对象导入到 PDE805
    . . 正在导入表                 "F_APPLY_STEPS"导入了          44 行
    . . 正在导入表         "F_APPLY_STEPS_HISTORY"导入了         127 行
    . . 正在导入表                  "S_METACOLUMN"导入了         343 行
    IMP-00032: SQL 语句超过缓冲区长度
    IMP-00008: 导出文件中出现无法识别的语句:
    '????'
    IMP-00032: SQL 语句超过缓冲区长度
    IMP-00008: 导出文件中出现无法识别的语句:
    '????'
    . . 正在导入表                        "Y_JDMX"导入了           0 行
    即将启用约束条件...
    成功终止导入, 但出现警告。
      

  10.   

    把 buffer=****改大,或者去掉,换成 ignore=y,都可以解决上述问题。
      

  11.   

    IMP-00041: 警告: 创建的对象带有编译警告
     "CREATE FORCE VIEW "OA"."V_LARGE_TABLE"                              ("ROW_I"
     "D") AS "
     "select row_id"
     "from ("
     "select rowid row_id,row_number() over (partition by flh||dh order by rowid "
     ") rn"
     "from srk"
     ")"
     "where rn <> 1"
    IMP-00032: SQL 语句超过缓冲区长度
    IMP-00008: 导出文件中出现无法识别的语句:
    'An Oracle_DatabaseSystem represents the existence of an Oracle database
    environment as a manageable entity.  Instances of Oracle_DatabaseSystem are
    used to navigate to the software characteristics of the database environment
    that are modeled within the...
    成功终止导入, 但出现警告。今天我也出现这个问题了,还没有解决啊