exp/imp工具虽然已经非常古老,但有些时候还是非常有用。
曾经遇到一个场景:某用户下的数据对象非常,表有8万多张,索引有9万多个。还有其他乱七八糟的东西,也即这个用户下的对象有几十万个。 用expdp导出整个schema,纯数据差不多十个小时左右全部导出,然而这些数据对象却十几个小时还没有结束。
迫不得已,只能更换思路,想试试先用expdp导出纯数据,再用exp导出数据对象。 结果exp导出数据对象这一步只花了不到2个小时。 这个速度还是可以接受的,最后针对这个schema,就只能采用这种方式进行迁移。
好了,回到今天的主题,IMP-00403告警。
[[email protected] software]$ imp userid=\"[email protected] as sysdba\" fromuser=test touser=test file=exp_test.dmp log=imp_test.log buffer=104857600 recordlength=65535 ignore=y rows=n indexes=y constraints=y statistics=none compile=y
Import: Release 12.2.0.1.0 - Production on Sun Aug 23 10:22:43 2020
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Pr