Article ID: 918362 - Last Review: May 8, 2007 - Revision: 1.9 The data import process may take a long time to be completed when you use the Microsoft OLE DB Provider for DB2 1.0 that is included with the SQL Server 2005 Feature Pack to perform bulk imports of IBM DB2 dataOn This PageSUMMARYWhen you use the Microsoft OLE DB Provider for DB2 1.0 that
is included with the Microsoft SQL Server 2005 Feature Pack to perform bulk
imports of IBM DB2 data, the data import process may take a long time to be
completed. This delay is most likely to occur when you use SQL Server
Integration Services (SSIS) or SQL Server Analysis Services (SSAS) to import
IBM DB2 tables that contain millions of rows of data. The bulk import data rate will vary depending on several factors. These factors include the following:
Note Because each environment is different, we cannot provide specific throughput rates when doing bulk imports of IBM DB2 data into SQL Server 2005. MORE INFORMATIONThe OLE DB Provider for DB2 1.0 has been updated to improve
the overall performance of the OLE DB Provider for DB2 when you perform bulk
imports of IBM DB2 data. The software update implements optimizations that
include the following changes. New Rowset Cache Size property addedThe Rowset Cache Size property is an optional OLE DB data source initialization property. This property instructs the OLE DB Provider for DB2 to prefetch rows of data from a IBM DB2 database. At the same time, the OLE DB Provider for DB2 is instructed to process and return rows to the data consumer when the IRowset::GetNextRows method is called. For example, the data consumer may be SSIS or SSAS. This feature may improve performance in bulk read-only operations on multiprocessor computers, based on SELECT or CALL statements that return single result sets. For example, a bulk read-only operation may involve using SSIS to perform a data flow task when the OLE DB source is IBM DB2.Note You should only use Rowset Cache Size property on multiprocessor systems. You should not use this new property when you use SQL Server queries that return small amounts of IBM DB2 data. In those scenarios, performance may be adversely affected. The data value for this property is a VT_I4 variant type. By default,. the data value for this property is 0. A setting of 0 indicates that this optional prefetch feature is disabled. When the feature is disabled, the OLE DB Provider for DB2 will not prefetch rows. A recommended data value for this property is between 2 and 30. We recommend an initial value of 30. When you set this property value, you instruct the OLE DB Provider for DB2 to prefetch up to the specified number of row batches. These row batches are stored in the rowset cache of the provider. The size of the row batches is automatically determined based on the value for the cRows parameter on the OLE DB IRowset::GetNextRows interface that the data consumer specifies. When you use SSIS, you can set the optional OLE DB data source initialization property to a starting value of 30. This value instructs the provider to prefetch up to 30 row batches. You can set this property in the following locations:
ConsiderationsYou should only implement the Rowset Cache Size property when the following conditions are true:
DB2 Decimal data conversion algorithm rewrittenThe DB2 Decimal to OLE DB Decimal data conversion algorithm was rewritten to make conversions of DB2 Decimal data types more efficient.Software update informationA supported feature that modifies the product's default behavior is now available from Microsoft, but it is only intended to modify the behavior that this article describes. Apply it only to systems that specifically require it. This feature may receive additional testing. Therefore, if the system is not severely affected by the lack of this feature, we recommend that you wait for the next OLE DB Provider for DB2 1.0 release that contains this feature.To obtain this feature immediately, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
File informationThe English version of this software update has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.32-bit (x86) versionCollapse this table
64-bit (x64) versionCollapse this table
64-bit (IA-64) versionCollapse this table
The third-party products that this article discusses are
manufactured by companies that are independent of Microsoft. Microsoft makes no
warranty, implied or otherwise, regarding the performance or reliability of
these products.
| Article Translations
|
Back to the top
