【发布时间】:2014-04-24 14:26:58
【问题描述】:
我们正在将 dts 包转换为 ssis。我注意到两者之间的默认值略有不同,我正在尝试找出最好的。
在 dts 中,创建转换数据任务时,这些是默认值,也是我们使用的
Fetch Buffer Size: 1
Insert Batch Size: 0
如果我在 BIDS 中迁移这个 dts,SSIS 数据流中的新值是
Rows per Batch: 1
Maximum Insert Commit Size: 0
运行包给了我这个警告(听起来肯定不好)
The Maximum insert commit size property of the OLE DB destination "component "transformation" (16)" is set to 0. This property setting can cause the running package to stop responding.
但是,如果我创建一个新的 SSIS 并添加一个数据流任务,这些是默认值
Rows per Batch: (blank)
Maximum Insert Commit Size: 2147483647
通常,源数据库的恢复模式是完整的,目标数据库的恢复模式是简单的。有时,任务会移动到几百万行。
那么,一般来说,推荐的设置是什么。如果我需要通过测试找出答案,我究竟应该查看什么来找出最佳设置是什么?
【问题讨论】:
标签: sql-server ssis bids dts dataflow