Key Notes for SAP on Oracle

Make sure you read these key SAP notes for SAP on Oracle (you need SAP Service Marketplace access):


Hot News


SAP Note   Description
1915485Wrong results on Oracle Index Organized Table (IOTs)
1847870Oracle 11g: Advanced Compression - Known issues and solution
1654734Extended Support contract required for 10.2.0.5 PSU and SBP
163693611g Wrong results with star_transformation_enabled = true
1621425Wrong results with Temp Table Transformation
1620527 Veritas Filesystem: Block corruption with large LUNs
1616131 Oracle 11g: ORA-600/corruption possible during shutdown RAC
1589777Missing owner in menu "System -> Status"
1581715Wrong Results after ALTER TABLE ADD column + Index-only Join
1547676Wrong results from CARTESIAN product w. Star transformation
1514200Possible dataloss after long to lob conversion
1471817ASSM LOB segment corrupt after manual allocate extent
1413928Index corruption/wrong results after rebuild index ONLINE
1375124Possible wrong values if group by and views
1368640Oracle 10g: Array Update can corrupt a row
1355935DBMS_STATS calculated wrong distinct keys with patch 7434973
1351737Oracle 10.2.0.4: Table Prefetching causes Wrong Results
1339724Oracle 10.2 Extended Support free until July 31, 2011
1336810Wrong Result When Using DBMS_REDEFINITION in RAC environment
941369Upgrade of notes 738979 and 753876 to higher releases
1257511Oracle 10.2.0.4 - Wrong Results Unless Ansi Outer Join Used
1248584Oracle 10.2.0.4 - Wrong results possible from predicate push
1246629Discontinuing "Customer Care Support" for Oracle 10.1
1012607SQL/runtime error when writing/activating DataStore
1244076    kkp* Merge Fix for Oracle 10.2.0.4
1174491    J2EE: Data corruption with Oracle JDBC lower than 10.2.0.4 and JVM 5.0
1144178Invalid Float Values
977319Incorrect values in Oracle 10.2 (II)
1136063Oracle Direct Path Load leads to block corruptions in ASSM
1135589IOT Corruptions a. Upgrade from COMPATIBLE  <= 9.2 to >= 10.1
1126517ORA-1445 or incorrect values with 10.2
1107700Execution of SQL Statements in Wrong Schema
1040300Wrong values with Star Transformation Hint 9.2.0.8 /10.2.0.2
1003198J2EE: Incorrect data with Oracle10g JDBC lower than 10.2.0.4
1021844Oracle 9.2 Extended Support free until July 31, 2008
1028068Required Oracle options for the DBA Cockpit
1039393DATAPUMP creates corruptions in tables with LONG
1013476ORA-600 kcbzpbuf_1 during array insert causes corruption
980805ORA-600 kdtigetrow-2 w/ array insert leads to corruptions
985118Wrong values when you execute parallel queries
1021454Oracle Segment Shrinking may cause LOB corrupt data


Top Notes for Oracle 11g


SAP NoteDescription
971645 6.40 Patch Collection Hom./Het.System Copy Java
9716466.40 Patch Collection Hom./Het.System Copy ABAP
1478350 Oracle 11g Support on UNIX: 7.0/7.01-Based SAP Systems
1478060 Oracle 11g Support on Windows: SAP NW 7.-Based Systems
1478351 Oracle 11g Support on UNIX: 6.40-Based SAP Systems
1478059 Oracle 11g Support on Windows: 6.40-Based SAP Systems
1499877 Oracle 11.2 for R/3 Enterprise 4.7 Ext. Set 1.10
1431800 Oracle 11.2.0: Central Technical Note
1398634 Oracle database 11g: Integration in SAP environment
1431798 Oracle 11.2.0: Database Parameter Settings
1431796 Oracle 11.2.0: Troubleshooting the Software Installation
1431797 Oracle 11.2.0: Troubleshooting the Database Upgrade
1431799 Oracle 11.2.0: Current Patch Set
1431793 Oracle 11.2.0: Upgrade Scripts
1430669 BR*Tools support for Oracle 11g                                                                     


Top Notes for Oracle 10g


SAP NoteDescription
839187 Oracle 10.2.0: Applying patch set/patches/patch collection
720886 Oracle Database 10g: Integration into the SAP environment
940794 Releasing Oracle 10.2 versions for older SAP versions
527843 Oracle RAC support in the SAP environment
841728 Oracle Database 10g: Software installation problems 10.2.0
871096 Oracle Database 10g: Patch sets/patches for 10.2.0
834917 Oracle Database 10g: New database role SAPCONN
819829 Oracle Database 10g: Instant Client 10.x on Unix
998004 Update the Oracle Instant Client on Windows
830576 Parameter recommendations for Oracle 10g
819655 Add. info.: Upgrade to SAP NW 2004s ABAP ORACLE


Top Notes for BR*Tools

SAP NoteDescription
1125923Support for Oracle database flashback in BR*Tools
1279682Support for Oracle data encryption in BR*Tools
1259767Management of online redo log files using BRSPACE
1050329BR*Tools fails with ORA-01455 when database exceeds 16 TB
1033126BR*Tools support for Oracle 10g RAC
1033125  Managing database statistics with BRSPACE
1016173Verifying database and archive log files using RMAN
1016172Sorting table records during reorganization
1003028Enhanced support for system copy in BR*Tools
976435Support for Oracle Data Pump in BRSPACE
968507Considerable enhancements to backups using BR*Tools 7.00
936665BR*Tools support for MDM database
914174Minor functional enhancements in BR*Tools
912969BR*Tools 7.00 fails due to license problems
900905Creating tablespaces with UNIFORM SIZE using BRSPACE
892296Enhancements in statistics collection in BRCONNECT 7.00/7.10
892294Extended support of non-ABAP database in BRCONNECT 7.00
874912Displaying extended database disk volume space in BRSPACE
865366Changes in relation to collecting statistics for partitions
865365Placeholder support in BRCONNECT parameters
849485Reconstruction of the NOLOGGING indexes after recovery
849484New CRITICAL_TABLESPACE check condition in BRCONNECT
849483Corrections for BR*Tools Version 7.00


Top Notes for Oracle Database Interface


SAP NoteDescription
1047369 Faster DB accesses for R3szchk using Oracle DBSL
978710 Transferring UP TO n ROWS with FIRST_ROWS(n) hint
902042  DBSL: Hint und Profil-Parameter für "substitute literals"
832893 Oracle release check in DbSl
808505 Secondary connection to Oracle DB w/ different character set
797792 R/3 Reconnect after various Oracle error codes


Miscellaneous Notes


SAP NoteDescription
1575609Future HPUX support for SAP on Oracle databases
1174136Oracle: End of Support Dates
1179765AIX: End of Support Dates
1174175HP-UX: End of Support Dates
1174174Solaris: End of Support Dates
1174176Tru64: End of Support Dates
1177282Windows: End of Support for SAP Releases

Note 1054852 - Recommendations for migrations to MS SQL Server

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:
    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
              As of SQL Server 2008 R2 the import of unsorted exports to SQL Server is released without restriction.
    2. Clustering and time of primary key creation
              The standard OS/DB Migration tools create a clustered index on the primary key prior to loading data into the table.  This ensures that data is stored in a "sorted" format in SQL Server tables.  All tables in SAP systems such as ECC 6.0 are created this way.  Tables in BW systems may not have a clustered index on the primary key.

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
              The standard SAP OS/DB Migration tools create all secondary indexes within one R3Load Package.  This is true of both split (DTP package will build secondary indexes) and non-split tables.  Therefore each index is created sequentially: secondary index 1 is built, then secondary index 2 etc.  If a large table contains too many indexes, the import time will be much shorter than the creation of all the indexes.  In such cases the creation of some or all secondary indexes can be done manually via T-SQL commands.  Multiple secondary indexes on the same table can be built simultaneously.  SQL Server can create indexes fully online meaning index creation can continue in the background during uptime phase of the migration.
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
              It is not possible to completely deactivate all transaction logging on SQL Server however it is possible to minimize logging during migrations as described in Note 1241751 - SQL Server minimal logging extensions
    5. Information regarding sorting and Unicode conversion
              The Unicode conversion process requires certain database tables to be exported sorted.  Tables such as RFBLG and other cluster tables are examples of such tables. R3Load will automatically export tables that require sorted export in the correct mode even if the default export setting has be set to "unsorted"
    6. Information regarding BW migration and sorting
              BW migrations should always be exported unsorted. The reason for this is that the large fact tables either do not have any primary key at all (for example, the F Fact tables on MS SQL Server or the E Fact tables on ORACLE) or their primary key is not clustered (for example, the E Fact tables on MS SQL Server).  Due to a missing primary key, you must subsequently sort the database manually using many resources (CPU, I/O, tempdb).  If the index is not clustered according to the primary key (which is always the case for ORACLE), the entire table must be read along the index. This involves an enormously high I/O effort in comparison with an unsorted export.
    7. Information regarding BW migration and partitioning
              Table partitioning information for BW systems is created by ABAP report SMIGR_CREATE_DDL.  It is recommended to import BW systems into SQL 2008 R2 (using the latest Service Pack level) or SQL 2012. Review Note 1593998 - SMIGR_CREATE_DDL for MSSQL and Note 1494789 - Enabling 1000+ partitions support on SQL Server.

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
              SAP have defaulted PAGE compression for all SAP ABAP systems (ECC, BW, CRM etc) for 100% of all tables & indexes without exception.  SAP OS/DB migration tools have been defaulted to PAGE compress all tables and indexes.  All customers should use PAGE compression if the database release is SQL 2008 or higher.  Ensure that Note 1581700 is applied with SNOTE or included in support packs
    9. Information about splitting when exporting or importing
              When exporting from SQL Server with split tables use the R3Load and R3ta versions listed in: Note 1650246 - R3ta: new split method for MSSQL

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
              It is highly recommended to:
      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
              Review the OS/DB Migration FAQ at this Microsoft Blogsite http://blogs.msdn.com/b/saponsqlserver/

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


 
1319517 - Unicode Collection Note
 
1241751 - SQL Server minimal logging extensions
 
991014 - (Vardecimal) Compression for SQL Server 2005 SP 2
 
888210 - NW 7.**: System copy (supplementary note)
 
879941 - Configuration Parameters for SQL Server 2005
 
857081 - Unicode conversion: downtime estimate
 
777024 - BW3.0 and BW3.1 System copy (supplementary note)
 
771209 - NetWeaver 04: System copy (supplementary note)
 
765475 - Unicode Conversion: Troubleshooting
 
738858 - R3load for Unicode conversion
 
548016 - Conversion to Unicode
 
327494 - Configuration Parameters for SQL Server 2000

Note 1014782 - FAQ: MaxDB system copy

Summary
Symptom
This note deals with questions and answers about the MaxDB/liveCache system copy.
General and frequent questions about the system copy are answered although this note does not claim to be exhaustive.
    1. What is a homogeneous system copy?
    2. What are big endian and little endian? Which endian do I use?
    3. Where do I find information about the homogeneous system copy of a MaxDB database?
    4. What is a heterogeneous system copy?
    5. Which tool is used to perform a heterogeneous system copy?
    6. Where do I find information about the liveCache system copy?
    7. What do I have to consider after a homogeneous liveCache system copy?
    8. How do I perform a heterogeneous system copy of a content server?
    9. What do I have to consider for a heterogeneous system copy using R3load?
    10. What do I have to consider for the heterogeneous system copy of a BW system?
    11. Can I use the split mirror technology for a system copy?
    12. Where can I find more information about a system copy?
Other terms
System copy, heterogeneous system copy, homogeneous system copy, R3Load, loadercli, backup, recovery
Reason and Prerequisites
You use MaxDB /liveCache Version 7.5 or higher.

Further FAQ notes about MaxDB/live Cache are available available on SDN (SAP Developer Network):
https://wiki.sdn.sap.com/wiki/x/GkM
Solution
    1. What is a homogeneous system copy?

    For a system copy, the following must apply:

    a) The target system is a host that has the same behavior concerning byte swapping as the source host.

    b) The version of the target database is the same as or higher than the version of the source database. This requirement applies as of MaxDB Version 7.5.
    2. What are big endian and little endian? Which endian do I use?

    For more information, see Note 552464.
    3. Where do I find information about the homogeneous system copy of a MaxDB database?

    You can use backup and recovery to perform a homogeneous system copy of a MaxDB database instance.

    For more information about the procedure, see the installation documentation about the homogeneous system copy as well as Note 129352.
    4. What is a heterogeneous system copy?

    For a heterogeneous system copy, the following must apply:

    a) The processors in the two systems (target system and source system) do NOT use the same byte sorting (little endian -> big endian; big endian -> little endian).

    b) On the source host, a different database system is used than on the target host (for example,  Oracle -> MaxDB).

    c) A heterogeneous liveCache system copy may also occur if the conditions mentioned under a) and b) are not met.  Therefore, you must refer to Note 457425 in the liveCache environment.
    5. Which tool is used to perform a heterogeneous system copy?

    In general, you can use the tool R3load for the heterogeneous system copy of an OLTP or BW database.

    Exceptions are content server instances and liveCache instances.

    Since the content server is not included in the SAP Data Dictionary, you cannot use R3load to perform the system copy.  You can use the MaxDB tool loadercli for this system copy.

    For a heterogeneous system copy of a liveCache instance, you cannot copy the data structures of the LCA objects.  The liveCache data is stored in the APO system or the SCM system, and the liveCache is reinstalled on the target system.  Then the data is reloaded from the APO system or SCM system to the liveCache.
    6. Where do I find information about the liveCache system copy?

    If you want to perform a system copy for an SAP liveCache instance, see Notes 457425 and 632357.

    Note 886103 describes the system copy of an SAP SCM system as of Version SCM 4.0.
    Note 210564 describes the system copy of an SAP APO system.
    7. What do I have to consider after a homogeneous liveCache system copy?

    See Note 877203.

    The connection data to the liveCache is stored in the database table DBCON.  Since this table is also copied, you must ensure that the connection data is adjusted accordingly for the target system using transaction LC10.

    See also Note 1015489.
    8. How do I perform a heterogeneous system copy of a content server?

    You use the MaxDB tool loadercli to perform the heterogeneous system copy of a content server.  For information about how to proceed, see Note 962019.
    9. What do I have to consider for a heterogeneous system copy using R3load?

    a) Parameter settings in the target system with MaxDB:

    - Size of the data cache:
    Ensure that a sufficient size is configured for the data cache. The general rule for the productive SAP operation is that the configured data cache size amounts to 1% of the total size of the occupied data area.  For the period in which the data is loaded, the cache size must be increased in accordance with the memory that is available on the host.

    - Parameter MAXCPU:
    During loading in MaxDB, you must set the parameter MAXCPU to the number of processors in the database server.


    b) Data export
    For the export, the data must be unloaded in accordance with the key sequence.  For more information, see Note 954268.


    c) Export/import:
    With split tables, use the parallel export.  We recommend that the import is performed sequentially if the records were previously unloaded in the key sequence.

    d) Index creation
    Note that the large indexes must not be loaded in parallel.  This ensures that several server tasks can be used for the index creation. For more information about the MaxDB index structure, see FAQ Note 928037.

    e) Precompiler runtime version
    If you use the following precompiler runtime versions:
    7.4.03 build 44 or higher AND below 7.4.03 build 49
    or
    7.5.00 build 39 or higher AND below 7.5.00 build 44

    refer to Note 1043735.
    10. What do I have to consider for the heterogeneous system copy of a BW system?

    To load the data without impairing the system performance, you must sort the data in accordance with the key sequence when unloading using R3load.

    Also read the following notes:
    954268 Optimization of export: Unsorted unloading
    777024 BW3.0 and BW3.1 system copy (supplementary note)
    771209 NetWeaver 04: System copy (supplementary note)
    888210 NetWeaver 7.0/7.10: System copy (supplementary note)
    11. Can I use the split mirror technology for a system copy?

    For more information, see Note 371247.
    12. Where can I find more information about a system copy?

    For more information about the system copy, see the SAP Developer Network how-to at the following link:

    https://wiki.sdn.sap.com/wiki/x/LB4B
Header Data


Release Status:Released for Customer
Released on:28.08.2013  13:01:50
Master Language:German
Priority:Recommendations/additional info
Category:FAQ
Primary Component:BC-DB-SDB MaxDB
Secondary Components:BW-SYS-DB-SDB BW MaxDB
Affected Releases
Release-Independent
Related Notes


 
1043735 - Missing BLOB entries after export/transport
 
1015489 - Connection problems after system copy
 
1013441 - Upgrade required: Advantages for MaxDB on 64-bit platforms
 
954268 - Optimization of export: Unsorted unloading
 
888210 - NW 7.**: System copy (supplementary note)
 
886103 - System Landscape Copy for SAP SCM
 
777024 - BW3.0 and BW3.1 System copy (supplementary note)
 
771209 - NetWeaver 04: System copy (supplementary note)
 
632357 - Backing up liveCache data for SCM 4.0 or higher
 
552464 - What is Big Endian / Little Endian? What Endian do I have?
 
457425 - Homogeneous liveCache copy using backup/restore
 
371247 - MaxDB and "Split Mirror" techniques
 
129352 - Homogeneous system copy with MaxDB (SAP DB)