SqlLoader中的逗号,已使用的行不起作用

问题描述 投票:2回答:1

我正在使用SqlLoader加载巨大的文件,为此我需要更改提交点。

我使用过的行数= 1000,但执行时未反映出来。我试过下面的命令来做到这一点:

>sqlldr user/pass@db control=myctl.ctl log=mylog.log rows=1000 

上面的命令没有为我更改提交点。我需要修改任何Oracle环境文件来更改提交点吗?

oracle sql-loader
1个回答
1
投票

还有要考虑的bindsize。加起来以确保获得所需的行值。例如

C:\temp>sqlldr control=emp.ctl userid=/@db18_pdb1

SQL*Loader: Release 18.0.0.0.0 - Production on Mon Oct 7 16:00:54 2019
Version 18.6.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

Path used:      Conventional
Commit point reached - logical record count 250
Commit point reached - logical record count 500
Commit point reached - logical record count 750
Commit point reached - logical record count 1000
....


C:\temp>sqlldr control=emp.ctl userid=/@db18_pdb1 rows=1000 bindsize=8000000

SQL*Loader: Release 18.0.0.0.0 - Production on Mon Oct 7 16:01:19 2019
Version 18.6.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates.  All rights reserved.

Path used:      Conventional
specified value for readsize(1048576) less than bindsize(8000000)
Commit point reached - logical record count 1000
Commit point reached - logical record count 2000
Commit point reached - logical record count 3000
Commit point reached - logical record count 4000
© www.soinside.com 2019 - 2024. All rights reserved.