博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle SQL*Loader commit point tips
阅读量:4685 次
发布时间:2019-06-09

本文共 1246 字,大约阅读时间需要 4 分钟。

http://www.dba-oracle.com/t_sql_loader_commit_frequency.htm

 

-

Question:  Can I control the commit frequency when doing a large data load with SQL*Loader?  Is there a sqlldr parameter that controls commit points and limits for commits?  Is it possible to only commit at the end of a SQL*Loader job?

 

Answer:  Yes, there is the ROWS sqlldr parameter that controls the commit frequency.  For example, If you use the SQL*Loader parameter ROWS=1000, we asking sql*loader to commit after every thousand rows are loaded.  You may also be able to try ROWS=9999_high_values to get SQL*Loader to commit at the end of the job, but beware of potential undo log (rollback segment) issues, such as the  error.

 

As to the default commit frequency, we see this example by , indicating that the default for SQL*Loader is to commit frequently, in this example about every 28 rows:

$ sqlldr gnis/gnis@donna control=gnis log=gnis_michigan data=mi_deci.

SQL*Loader: Release 8.1.5.0.0 - Production on Wed Apr 5 13:35:53 2000
? Copyright 1999 Oracle Corporation. All rights reserved.
Commit point reached - logical record count 28
Commit point reached - logical record count 56
Commit point reached - logical record count 84

转载于:https://www.cnblogs.com/kakaisgood/p/8759967.html

你可能感兴趣的文章
分数的表示和运算
查看>>
jsp form表单提交,后台接收提交数据的三种方式
查看>>
SQL Server 2008 清空删除日志文件
查看>>
循环创建目录
查看>>
生成带logo的二维码
查看>>
不急着往前赶,先把一些经典的题重新做几遍
查看>>
[FZYZOJ 1249] 水果堆
查看>>
tomcat源码分析(三)一次http请求的旅行-从Socket说起
查看>>
基于Windows环境下的PHP开发环境搭建
查看>>
蓝桥--兰顿蚂蚁[模拟]
查看>>
字符串基本操作
查看>>
2-4 Sass的函数功能-颜色函数
查看>>
Spring学习第一天---Spring是什么
查看>>
Servlet容器理解(生命周期、servletContext作用域、servlet装载方式)
查看>>
vs2008 sp1补丁包 安装失败
查看>>
分页存储过程优化--同时返回数据总数
查看>>
关于APK签名的一些东西
查看>>
让IE6 IE7 IE8 IE9 IE10 IE11支持Bootstrap的解决方法
查看>>
innerHTML与innerText的区别
查看>>
git简单配置
查看>>