Summary
Symptom
You want to perform a platform migration to or a Unicode conversion on Microsoft SQL Server using the R3load-based tools.
Other terms
Heterogeneous migration, R3load, R3loadmss, sorting, logging, clustered, nonclustered, Unicode, Unicode migration, Unicode conversion, performance, unsorted
Reason and Prerequisites
We strongly recommend that you only make the changes to the standard migration process that are mentioned in this note in collaboration with experienced certified OS/DB migration consultants.
Experience shows that incorrect or incomplete changes may have serious consequences (for example, missing primary keys usually lead to data inconsistencies).
Solution
The topics that are explained are as follows:
Modern powerful hardware with highly performing disk systems will generally not greatly benefit from deferring the creation of the clustered index until after the data has been loaded. While it is technically possible to do this it is suggested to engage Microsoft support resources or contact the hardware vendor to ensure that there is not an infrastructure bottleneck.
It may be worthwhile to globally increase the MAXDOP value (the default value is 1). Use the following TSQL commands to change the MAXDOP to 4 for the entire server:
sp_configure 'max degree of parallelism', 4;
reconfigure with override
Maximum Partitions per Table
SQL 2005, 2008, 2008 R2 = 1,000
SQL 2012, 2008 SP2+, 2008 R2 SP1+ = 15,000
It is not possible to give generalized guidance about how many table splits to create on source systems (Oracle, DB2, MaxDB etc). Export and import performance will vary dramatically based on the hardware resources, SAN storage IO capabilities and factors related to the table (data distribution, data types, size etc).
Customers have successfully exported systems with table splits ranging from 2 to over 80.
Parallel import of split tables is fully supported on SQL Server 2008 R2 and higher. Older SAP documentation might mention limitations or restrictions, but these restrictions are now obsolete.
If deadlocks are observed during import to SQL 2005 or 2008 (non-R2) then reduce the BCP_BATCH_SIZE.
You want to perform a platform migration to or a Unicode conversion on Microsoft SQL Server using the R3load-based tools.
Other terms
Heterogeneous migration, R3load, R3loadmss, sorting, logging, clustered, nonclustered, Unicode, Unicode migration, Unicode conversion, performance, unsorted
Reason and Prerequisites
We strongly recommend that you only make the changes to the standard migration process that are mentioned in this note in collaboration with experienced certified OS/DB migration consultants.
Experience shows that incorrect or incomplete changes may have serious consequences (for example, missing primary keys usually lead to data inconsistencies).
Solution
The topics that are explained are as follows:
- 1. Import of Unsorted exports
- 2. Primary key handling in relation to clustering and time of creation
- 3. Improving secondary index creation performance
- 4. Deactivation of logging on SQL Server
- 5. Information regarding sorting and Unicode conversion
- 6. Information regarding BW migration and sorting
- 7. Information regarding BW migration and partitioning
- 8. Information about SQL Server compression
- 9. Information about splitting when exporting or importing
- 10. General Guidance
- 11. Further information
- 1. Unsorted Exports
- 2. Clustering and time of primary key creation
Modern powerful hardware with highly performing disk systems will generally not greatly benefit from deferring the creation of the clustered index until after the data has been loaded. While it is technically possible to do this it is suggested to engage Microsoft support resources or contact the hardware vendor to ensure that there is not an infrastructure bottleneck.
- 3. Improving secondary index creation performance
It may be worthwhile to globally increase the MAXDOP value (the default value is 1). Use the following TSQL commands to change the MAXDOP to 4 for the entire server:
sp_configure 'max degree of parallelism', 4;
reconfigure with override
- 4. Deactivation of logging on SQL Server
- 5. Information regarding sorting and Unicode conversion
- 6. Information regarding BW migration and sorting
- 7. Information regarding BW migration and partitioning
Maximum Partitions per Table
SQL 2005, 2008, 2008 R2 = 1,000
SQL 2012, 2008 SP2+, 2008 R2 SP1+ = 15,000
- 8. Information about SQL Server compression
- 9. Information about splitting when exporting or importing
It is not possible to give generalized guidance about how many table splits to create on source systems (Oracle, DB2, MaxDB etc). Export and import performance will vary dramatically based on the hardware resources, SAN storage IO capabilities and factors related to the table (data distribution, data types, size etc).
Customers have successfully exported systems with table splits ranging from 2 to over 80.
Parallel import of split tables is fully supported on SQL Server 2008 R2 and higher. Older SAP documentation might mention limitations or restrictions, but these restrictions are now obsolete.
If deadlocks are observed during import to SQL 2005 or 2008 (non-R2) then reduce the BCP_BATCH_SIZE.
- 10. General Guidance
- a) Use the latest R3Load.exe, dbmsslib.dll and r3ldctl.exe
- b) Use the latest SAP Software Provisioning Manager (SWPM)
- c) Use the latest patched Kernel DVD
- d) Use the latest SQL Server release available
- e) Use the latest SQL Server Service Pack
- f)
Apply any OSS Notes required for SQL Server in the source system (even
if it is running UNIX/Oracle or DB2). This ensures there are no
problems on the target system. SQL Server specific code in OSS Notes
will not be executed in the source system
- g) Review
Note 888210 or 1738258 and carefully check SAP systems that have very
old support packs as notes required to support compression or other SQL
Server features may need to be applied with SNOTE
- 11. Further information
Header Data
Release Status: | Released for Customer |
Released on: | 15.08.2013 14:12:56 |
Master Language: | English |
Priority: | Recommendations/additional info |
Category: | Performance |
Primary Component: | BC-DB-MSS Microsoft SQL Server |
Secondary Components: | BW-SYS-DB-MSS BW Microsoft SQL Server |
Affected Releases
Release-Independent
Related Notes
No comments:
Post a Comment