周末的时候导了一批数据,使用了direct=true,parallel=true两个参数,7亿+条记录,没有索引,耗时8个多小时,还算是比较理想的。
昨天调整了另一个导入数据的脚本,加了个direct=true的参数。早上回到公司查看日志悲剧了。报了个SQL*Loader-937的错误。
SQL*Loader-937: parallel load requested and name has enabled triggers or constraints
Cause: A request was made for a parallel direct load, but the object to be loaded has an enabled constraint (check, referential) and/or enabled triggers.
Action: Disable the offending enabled constraints and/or triggers and retry the parallel direct load.
原来对并行的直接路径导入有限制,表中不能有check,referential约束和触发器。
阅读(1028) | 评论(0) | 转发(0) |