我有一个python脚本,它遍历目录中的日志文件,并使用oraclesqlloader将日志文件加载到oracle数据库中。脚本正常工作,甚至sqlloader。。在
但是在加载了大约20万条记录后,加载失败,但出现了这个异常。。在Record 11457: Rejected - Error on table USAGE_DATA.
ORA-12571: TNS:packet writer failure
SQL*Loader-926: OCI error while uldlfca:OCIDirPathColArrayLoadStream for table USAGE_DATA
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Specify SKIP=11000 when continuing the load.
SQL*Loader-925: Error while uldlgs: OCIStmtExecute (ptc_hp)
ORA-03114: not connected to ORACLE
SQL*Loader-925: Error while uldlgs: OCIStmtFetch (ptc_hp)
ORA-24338: statement handle not executed
我不知道为什么会这样。。我已经检查了与表的表空间相对应的数据文件,并将auto extend设置为true。还有什么原因?在
在“sqlldr”命令中,rows=1000,Direct=True,所以它每加载1000条记录就提交一次,我通过改变这个数字进行了测试,仍然得到相同的错误。在
^{pr2}$