导入优化,数据量过多时,需添加commit=y参数,避免回滚段溢出;
以下导入了将近1.5亿行数据,耗时380分钟:
[oracle@mdb ~]$ imp username/password file=/home/oracle/dmp/temp.dmp
feedback=10000 ignore=y buffer=40960000 rows=y indexes=n tables=T_TEMP commit=y
Import: Release 11.2.0.1.0 - Production on Sun Sep 24 14:43:11 2017
Copyright (c) 1982, 2009,
Oracle and/or its affiliates. All rights reserved.
参考 https://blog.youkuaiyun.com/guosyu/article/details/78215532