21
7/26/2019 Oracle to SQL Migration FAQ -V5.3 http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 1/21 FAQ: OS/DB Migration to Microsoft SQL Server v5.3 April 205 S!""ar# You are currently running an SAP system on a Unix, Windows or Linux operating system and Oracle, Informix, D!, Sy"ase, #A$A or %axD data"ase and wis& to migrate your SAP system to %icrosoft S'L Ser(er) You may also wis& to con(ert your SAP system to Unicode during t&e migration to S'L Ser(er) Bac$gro!n% &nfor"ation SAP * %icrosoft &a(e extended t&e capa"ilities of t&e SAP OS+D migration tools and procedures to simplify t&e process of migrating SAP systems to S'L Ser(er) &is note contains t&e latest information regarding t&e tec&nical capa"ilities and features for OS+D %igrations w&ere t&e target data"ase is S'L Ser(er) Please re(iew t&e latest "logs at- &ttp-++"logs)msdn)com+"+sapons.lser(er+ Sol!tion &ere are a num"er of new en&ancements t&at will significantly speed up and simplify t&e process of migrating a SAP system to S'L Ser(er) In general all of t&ese features are a(aila"le for all systems "ased on WAS /)!0 and a"o(e 1suc& as SAP 2+3 4)5 6xtension Set 770 and &ig&er8) &e lin9 http://scn.sap.com/docs/DOC-8324 contains more information on t&e OS+D %igration process) Also re(iew note :!45:) ;ustomers s&ould target con(ersion t&roug&put of around 7<! per &our using all of t&e en&ancements contained in t&is document) '()OMM(*DA+&O*S . 'e,!ire% patc- levels for Migration +ools in%os 1 SQL Server You "!st use t&ese patc& le(els or &ig&er for t&e following components) It is generally recommended to use t&e most recent (ersion of t&ese components) SM SA&nst 1 '3S(+ = 5)7 latest SL oolset &ttps-++ser(ice)sap)com+sltoolset 1use SWP%8 5)0x latest SL oolset &ttps-++ser(ice)sap)com+sltoolset 1use 50SWP%8 /)40 $etwea(er 04 %aster S27 1compati"le wit& /)!0+2+3 4)5 systems8 4)/D 23S6UP 4/D S27 1for use on 4)/; < a(aila"le on re.uest from SAP8 '3LOAD 5)4+5)4! 540 latest release 5)3x Please use 5!7 6> latest release 5)7x Please use 5!7 6> latest release 5)0x Please use 5!7 6> latest release /)40 Patc& Le(el latest 4)/D Patc& Le(el latest DBSL 5)4+5)4! 540 latest release 5)3x Please use 5!7 6> latest release 5)7x Please use 5!7 6> latest release 5)0x Please use 5!7 6> latest release /)40 Patc& Le(el latest 4)/D Patc& Le(el latest M&4MO* ?a(a "ased %igration %onitor is downward compati"le 5)4x, 5)3x, 5)7x, 5)0x, /)40, 4)/; and lower) Use t&e most recent (ersion) o download %igmon c&ec9 OSS $ote 5:477: '3+A 23A a"le Splitter is only a(aila"le for 5)4x, 5)3x, 5)7x, 5)0x and /)40) Use t&e most recent (ersion) Use t&e latest 23A possi"le) 5)3x, 5)7x and 5)0x s&ould use t&e latest 5)!7@6> (ersions) 2e(iew $ote 7/0!4/ < 23ta- new split met&od for %SS'Land $ote 75:44B7 < 23ta- Split of p&ysical ;lusterta"les '3LD)+L loa%ercli 1 '3S&)67 Use t&e most recent (ersion) S#ste" )op# OSS *otes 1 | Page

Oracle to SQL Migration FAQ -V5.3

Embed Size (px)

Citation preview

Page 1: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 1/21

FAQ: OS/DB Migration to Microsoft SQL Server v5.3 April 205

S!""ar#You are currently running an SAP system on a Unix, Windows or Linux operating system and Oracle, Informix, D!,Sy"ase, #A$A or %axD data"ase and wis& to migrate your SAP system to %icrosoft S'L Ser(er)

You may also wis& to con(ert your SAP system to Unicode during t&e migration to S'L Ser(er)

Bac$gro!n% &nfor"ationSAP * %icrosoft &a(e extended t&e capa"ilities of t&e SAP OS+D migration tools and procedures to simplify t&eprocess of migrating SAP systems to S'L Ser(er) &is note contains t&e latest information regarding t&e tec&nicalcapa"ilities and features for OS+D %igrations w&ere t&e target data"ase is S'L Ser(er)Please re(iew t&e latest "logs at- &ttp-++"logs)msdn)com+"+sapons.lser(er+ 

Sol!tion&ere are a num"er of new en&ancements t&at will significantly speed up and simplify t&e process of migrating a SAPsystem to S'L Ser(er) In general all of t&ese features are a(aila"le for all systems "ased on WAS /)!0 and a"o(e1suc& as SAP 2+3 4)5 6xtension Set 770 and &ig&er8)

&e lin9 http://scn.sap.com/docs/DOC-8324 contains more information on t&e OS+D %igration process) Also

re(iew note :!45:)

;ustomers s&ould target con(ersion t&roug&put of around 7<! per &our using all of t&e en&ancements contained int&is document)

'()OMM(*DA+&O*S

. 'e,!ire% patc- levels for Migration +ools in%os 1 SQL ServerYou "!st use t&ese patc& le(els or &ig&er for t&e following components) It is generally recommended to use t&emost recent (ersion of t&ese components)

SM SA&nst 1 '3S(+= 5)7 latest SL oolset &ttps-++ser(ice)sap)com+sltoolset  1use SWP%8

5)0x latest SL oolset &ttps-++ser(ice)sap)com+sltoolset  1use 50SWP%8/)40 $etwea(er 04 %aster S27 1compati"le wit& /)!0+2+3 4)5 systems84)/D 23S6UP 4/D S27 1for use on 4)/; < a(aila"le on re.uest from SAP8'3LOAD5)4+5)4! 540 latest release5)3x Please use 5!7 6> latest release5)7x Please use 5!7 6> latest release5)0x Please use 5!7 6> latest release/)40 Patc& Le(el latest4)/D Patc& Le(el latestDBSL5)4+5)4! 540 latest release5)3x Please use 5!7 6> latest release

5)7x Please use 5!7 6> latest release5)0x Please use 5!7 6> latest release/)40 Patc& Le(el latest4)/D Patc& Le(el latest

M&4MO*?a(a "ased %igration %onitor is downward compati"le 5)4x, 5)3x, 5)7x, 5)0x, /)40, 4)/; and lower) Use t&e mostrecent (ersion) o download %igmon c&ec9 OSS $ote 5:477:

'3+A23A a"le Splitter is only a(aila"le for 5)4x, 5)3x, 5)7x, 5)0x and /)40) Use t&e most recent (ersion) Use t&elatest 23A possi"le) 5)3x, 5)7x and 5)0x s&ould use t&e latest 5)!7@6> (ersions) 2e(iew $ote 7/0!4/ < 23ta-new split met&od for %SS'Land $ote 75:44B7 < 23ta- Split of p&ysical ;lusterta"les

'3LD)+L loa%ercli 1 '3S&)67Use t&e most recent (ersion)

S#ste" )op# OSS *otes

1 | P a g e

Page 2: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 2/21

5)4x < 5)0x888210 - NW 7.: !"stem cop" #s$pp%ementa&" note'17382(8 - !"stem Cop" o) !"stems *ased on !+P NetWea,e& 7.1 and ghe&1781(8 - !"stem Cop" o) !"stems *ased on !+P NW 7.0 / 7.0 P 1-3/)40 $ote 5:4B37 and 557!0B 4)/D $ote 37/33

SA8BAS&S S!pport ac$2elease 4)/; 3 1S'L !008

2elease /)!0 5 1S'L !0082elease /)40 7 1S'L !0082elease 5)00 74 1S'L !00:+2!82elease 5)70+5)77 : 1S'L !00:+2!82elease 5)3x S'L !07! recommended see "elow2elease 5)40 S'L !07! recommended see "elow

SQL 202 Basis S!pport ac$s2e.uired minimum SAP $etwea(er Support Pac9age Stac9s 1SPSs8 for S'L Ser(er !07!SAP NETWEAVER 7.0 - SPS 26 (SAP BASIS 26, SAP BW 28)SAP EHP1 FOR SAP NETWEAVER 7.0 - SPS 11 (SAP BASIS 11, SAP BW 11)SAP EHP2 FOR SAP NETWEAVER 7.0 - SPS 11 (SAP BASIS 11, SAP BW 11)SAP EHP3 FOR SAP NETWEAVER 7.0 - SPS 03 (SAP BASIS 03, SAP BW 03)

SAP NETWEAVER 7.1 - SPS 14 (SAP BASIS SP14)SAP EHP1 FOR SAP NETWEAVER 7.1 EhP1 - SPS 10(SAP BASIS SP10, SAP BW SP10)SAP NETWEAVER 7.3 - SPS 07 (SAP BASIS 07, SAP BW 07)SAP EHP1 FOR SAP NETWEAVER 7.3 - SPS 03 (SAP BASIS 03, SAP BW 03)

See note 5BB0: for S'L !00, note 77!!40 for S'L !00:+2!, note 7/7:/! for S'L !07! and 7B///:7 forS'L !074

'e,!ire% "ini"!" SA *eteaver S!pport ac$age Stac$s 9SSs for SQL Server 20; 9SA ABA or SAABA<=A>A stac$s

SAP SOFTWARE SUPPORT PACKAGE STACK (SPS)requirements SUPPORT PACKAGE STACK (SPS) requirements forSAP BW 

SAP NETWEAVER 7.0 SPS 29 (SAP_BASIS SP 29)SPS 30 (SAP_BASIS SP 30, SAP BW SP 32) SAP!"#$ 20104%1

SAP EHP1 FOR SAPNETWEAVER 7.0

SPS 1% SPS 1% SAP !"#$ 20104%1

SAP EHP2 FOR SAPNETWEAVER 7.0

SPS 14 SPS 1% SAP !"#$ 20104%1

SAP EHP3 FOR SAPNETWEAVER 7.0

SPS 09

SAP NETWEAVER 7.1 SPS 17

SAP EHP1 FOR SAP

NETWEAVER 7.1SPS 12 SPS 13 SAP !"#$ 20104%1

SAP NETWEAVER 7.3 SPS 10 SPS 11 SAP !"#$ 20104%1

SAP EHP1 FOR SAPNETWEAVER 7.3

SPS 09 SPS 11 SAP !"#$ 20104%1

SAP NETWEAVER 7.4 SPS 04 SPS 06 SAP !"#$ 20104%1

If your system is running on an SPS lower t&an t&e one re.uired a"o(e, you &a(e to apply t&e minimum re.uired SPS"efore upgrading+migrating to S'L Ser(er !074)

in%os 1 SQL Server  As at April !07 Windows Ser(er !07! 2! and S'L !074 SP7 are recommended)

Windows Ser(er !07! 2! is recommended for all new proCects < Use t&e latest cumulati(e update and ser(icepac9 as documented in $ote 3045: Windows Ser(ice Pac9slog- Windows Server 2012 Generally Available for SAP NetWeaver – April 2013in%os Server 202 '2 is 4enerall# Availa?le for *eteaver Applications April 20;

2 | P a g e

Page 3: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 3/21

S'L Ser(er !07! or !074 6nterprise 6dition x/4 < download and install t&e latest ser(ice pac9 and ;U) 2eferto $ote /!B:: Ser(ice pac9s for %icrosoft S'L Ser(er) &is lin9 is useful to find t&e latest SP or ;U for S'LSer(er &ttp-++"logs)msdn)com+"+s.lreleaseser(ices+ 

Support is documented in note 7/7:/! S'L !074 ;U is re.uired

 After installation of Windows Ser(er !07! 2! it is recommended to apply all t&e latest patc&es)Please deploy Windows 2 :)7, Windows :)7, and Windows Ser(er !07! 2! update rollup- %arc& !074  and allpre(ious 2ollups

It is recommended to re(iew t&ese lin9s as well-2ecommended &otfixes and updates for Windows Ser(er !07! 2!<"ased failo(er clusters#yper<E- Update List for Windows Ser(er !07! 2!

For Windows Ser(er !07! 1non<2!8 please see t&ese lin9s-Please deploy Windows 2, Windows :, and Windows Ser(er !07! update rollup- %arc& !074 and all pre(ious2ollups2ecommended &otfixes and updates for Windows Ser(er !07!<"ased failo(er clusters#yper<E- Update List for Windows Ser(er !07!

Do not to use 3!"it (ersions of Windows or S'L) If your system is 4)/; "ased run 4)/; on /4 "it Windows !003and /4 "it S'L !00)

2. 6ar%are )onfig!rations2e(iew SAP $ote 7/7!!:3 < #ardware ;onfiguration Standards and Guidance) Follow t&e guidance in t&is note)Do not under specify memory) 3:4G is t&e minimum for new SAP ser(er deployments) ;ustomers wit& 7<3of 2A% are now mainstream)It is strongly recommended to utiliHe FusionIO cards 1or similar8 for larger OS+D %igrations)

'eco""en%e% 6ar%are )onfig!rations:

SAP Application or D Ser(er-

! Processor 6 (3 "etween 70<7: core per processor 3:4<5/:G 2A% 70G $etwor9 card) ;ost J73,000USD list price SAPS KB0,000 17: core configs8

D Ser(er-Use ! soc9et ser(er as a"o(e or 4 Processor 65 (! 7<4 2A% 70G $etwor9 card) ;ost J33,000</,000 listprice SAPS K73,000

Source www)dell)com 

3. nsorte% (@port An unsorted export is supported and may "e imported into a S'L Ser(er data"ase) A sorted export will ta9e muc&longer to export and is only marginally faster to import into S'L Ser(er) Unicode ;on(ersion customers mustexport certain cluster ta"les in sorted mode) &is is to allow 23LOAD to read an entire logical cluster record,

decompress t&e entire record 1w&ic& may "e spread o(er multiple data"ase records8 and con(ert it to Unicode)See $ote B4!/:, 7040/54 and 70//404)  &e content of OSS $ote 704:! &as "een updated

Our default recommendation is to export unsorted as in t&e maCority of cases t&e U$I>+Oracle or D! ser(er &asonly a fraction of t&e ;PU, IO and 2A% capacity of a modern Intel commodity ser(er) 6(en t&oug& t&ere is ano(er&ead in(ol(ed in inserting rows into t&e clustered index on S'L Ser(er, t&is o(er&ead is relati(ely small)

;. +a?le Splitting A ta"le split export is fully supported and may "e imported into a S'L Ser(er data"ase) a"le split pac9ages fort&e same ta"le may "e imported concurrently)a"le splitting is only supported for 23LOAD /)40 and &ig&er 123LOAD /)40 is "ac9wards compati"le wit& asis/)!0 releases suc& as 2+3 4)58) 2e(iew $ote B!74 &e limitations on S'L Ser(er ta"le splitting listed in some SAP documentation are out of date and s&ould "e

ignored);ustomers &a(e successfully split large ta"les into !0<:0 splits and ac&ie(ed good results on ta"les t&at &a(epoor import or export t&roug&put)&ere are some ta"les t&at we always recommend to split due to slow export or import performance-;D;LS, S033, S03, GLP;A, S>L, ;I, 26POS2;, AP'D, 26PO6>, I$D6>

3 | P a g e

Page 4: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 4/21

o run 23A manually use t&is command line)&3#' - *+$"&#+''+/'#'+TABE NAE.#& -5 TABE NAEh&.5" -"*+$"&#+''+/'#'+TABE NAE.WHR -#'5$ TABE NAENBER OF SPITS

Using t&is command in 6xcel a command line can "e "uilt

CONC+N+#3+ -) d:5e6po&t5aap5data5+9.st& -% +9W.%og -od:5e6po&t5aap5data5+9.W -ta%e +9;*9'

 After generating W#2 files wit& 23A t&e W#2 splitter must "e run to create split pac9ages) Always set t&ew&ereLimit parameter to 7, meaning 7 pac9age for eac& w&ere clause)

h$&$_5:##$&.'# -h$&$;:& /*+$"&#+''+/'#'+ -#&;:& /*+$"&#+''+/'#' -"<#<#;:& /*+$"&#+''+/'#' -h$&$:=:# 1

5. ac$age Splitting&e ?a(a "ased Pac9age Splitting tool is fully supported in all cases) It is recommended not to use t&e Perl "asedsplitter)

&is command will generate t&e PL files and t&e default S2 files 1wit&out t&e 6> files8&35/#5 >5 5":5$!'=$ > ;*+$"&#/:&$#"&?

$ote- 6xports to S'L Ser(er do not need 6xtent files and t&e w&ole 6xtent file 1)6>8 file generation process can"e s9ipped to sa(e time) Instead it is recommended to use t&e following script to determine t&e largest ta"les int&e Oracle data"ase-

""5 #'5$:5$.##$# 5:!$ 100 '$ 200"5 T'5$ "&='# '40"5 O!$& "&='# '10"5 B "&='# 999,999,999$5$# "!$& @O!$&@, $=$!#_!'=$ @T'5$@, ?#$10241024 @B@ &"=/'_$=$!# h$&$ ?#$ 10010241024 '!/ $=$!#_#?$ 5:C$ DTABD "&/$& ?"!$& ', ?#$ '""5 "

 

&en it is recommended to extract t&e largest ta"les 1possi"ly anyt&ing more t&an K!G8 into t&eir own pac9ages1and also ta"le split if re.uired8) &e following command can "e used) Please note t&at w&en using SWP% 6>files are re.uired) 6> files can "e "ypassed only w&en doing a manual %igmon "ased migration

#&_5:##$&.'# -#&;:& /*+$"&#+''+/'#' -"<#<#;:& /*+$"&#+''+/'#'-#'5$F:5$ #'5$:5$.## (N"#$* #h$&$ : no space $#$$! #h$ - '!/#'5$F:5$G)

. FAS+LOAD All SAP data types can now "e loaded in ul9 ;opy mode) It is recommended to set t&e Mloadprocedure fastoption for all imports to S'L Ser(er) &ese are t&e default settings for SAPInst) If migration monitor is used t&isparameter must "e specified) 4)/;+D migrations s&ould use t&e parameter Mfast 1wit&out t&e Nloadprocedure8)Please also note t&at to support FastLoad on LO columns set en(ironment (aria"le ;P@LO7 and re(iew

note 77/3/7&e parameters we recommend for %igmon or SAPInst are 5"'/A&-#"_"!_$&&"& -=$&$_C-5"'/&"$/<&$ '#

. Migration +i"e Anal#Cer It is recommended to use %IGI%6 wit& t&e M&tml option to grap&ically display t&e export and+or import time ofpac9ages) It is generally recommended to ensure t&e longest running pac9ages are started at t&e "eginning oft&e export or import) %IGI%6 is a(aila"le for 4)/; and &ig&er I="&#_#:=$.'# -:!#'55;:& /*+:="&# -h#=5

&e script "elow s&ows t&e actual status of t&e SAP 6xport using SAP %igration%onitor log files) &e script reloads e(ery !0 seconds and displays< actual ;PU Load

< Actual running Pac9ages< Actual waiting Pac9ages

4 | P a g e

Page 5: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 5/21

 

<g<on!tat$s.=p

efore first usage-< UnHip t&e %ig%onStatus arc&i(e in t&e %igration %onitor directory< 2ename status)txt in status)cmd< rename .uery;PU)txt in .uery;PU)("s< start t&e status)cmd

. ac$age Or%er ?# reco""en%ationsIt is recommended to use an Ordery)txt text file to optimiHe t&e export of an Oracle system and t&e import toS'L) y default a system will export pac9ages in alp&a"etical order and import pac9ages in siHe order)

&e Ordery)txt can "e used to instruct %igration %onitor to start pac9ages in a specific order) $ormally t&e "estorder is to start t&e longest running pac9ages first) It is recommended to perform an export on a test system todetermine w&ic& ta"les are li9ely to run longest)*ote: It is normal for t&e export and import runtimes of a pac9age to "e (ery different) Some pac9ages may "e(ery slow to export yet (ery fast to import and (ice<(ersa)

E. Oracle So!rce S#ste" SettingsPlease re(iew note B3/447 < Oracle settings for 23load "ased system copy

SAP &a(e released SAP $ote 70433:0 w&ic& contains a script t&at con(erts t&e W#626 clause in a W#2 file toa 2OW ID (alue) Alternati(ely t&e latest (ersions of SAPInst will automatically generate 2OW ID split W#2 files if SWP% is configured for Oracle to Oracle 23LOAD migration) &e S2 and W#2 files generated "y SWP% areindependent of OS+D 1as are all aspects of t&e OS+D migration process8)

&e OSS note contains t&e statement N2OWID ta"le splitting ;A$$O "e used if t&e target data"ase is a nonOracle data"ase) ;ustomers wis&ing to speed up an export from Oracle may send an OSS message to ;<D<O2A and re.uest clarification of t&is restriction) ec&nically t&e 23LOAD dump files are completely independentof data"ase and operating system) &ere is one restriction &owe(er, restart of a pac9age during import is notpossi"le on S'L Ser(er) In t&is scenario t&e entire ta"le will need to "e dropped and all pac9ages for t&e ta"lerestarted) 2OW ID &as a disad(antage t&at calculation of t&e splits must "e done during downtime M see70433:0)OS+D %igrations larger t&an 7<! will "enefit from separating t&e 23LOAD export processes from t&e Oracle

data"ase ser(er)*ote: Windows application ser(ers can "e used as 23LOAD export ser(ers e(en for Unix or mainframe "aseddata"ase ser(ers) Intel "ased ser(er &a(e far superior performance in SAPS+core t&an most Unix ser(ers,t&erefore 23LOAD will run muc& faster on Intel ser(ers wit& a &ig& cloc9 speed)&e simplest way to allow Windows 23LOAD to logon to Unix Oracle ser(er is to c&ange t&e SAPSID= onsc&ema systems or sapr3 on non<sc&ema systems to Nsapr3 wit&out .uotes) &is password is &ardcoded into23LOAD) If t&e password cannot "e c&anged t&en t&e user account on t&e 23LOAD Windows ser(er 1normallyDO%AI$Qsid=AD%8 will need to "e added to t&e SAPUS62 ta"le OPSJDO%AI$=QSAPSID=AD%

0. SQL Server +arget S#ste" Settings

It is recommended to use Windows Ser(er !07! 2! and S'L !074 SP7 or S'L !07! SP! ;U) Only /4"itplatforms are supported) 3!"it platforms are now depreciated and c!sto"ers are instr!cte% not to !se 32?it 

(ersions of Windows or S'L Ser(er ) SAP 2+3 4)/; offers no nati(e x/4 9ernel &owe(er 4)/; 3! "it 9ernel can runon Win!003 x/4 and is fully supported "y %icrosoft * SAP)

&e S'L Ser(er data"ase s&ould "e manually extended so t&at t&e S'L Ser(er automatic file growt& mec&anismis not used as it will slow t&e import) &e transaction log file s&ould "e increased to K700RG for larger systems)%igrating 70R systems need around 7 of ransaction Log)

%ax Degree of Parallelism s&ould "e set to 7 usually) Due to t&e logic for paralleliHing index 26UILD or;26A6 statements it is &ig&ly li9ely t&at most index creation on SAP systems will "e single t&readed irrespecti(eof w&at %A>DOP is specified) Some indexes may "enefit from %A>DOP of 4) Do not set %A>DOP to 0

S'L !00 ;U: contains minimal logging feature for SAP migrations)See SAP $ote 7!4757) It is recommended to use S'L !00 SP3, SP4 or S'L !00:, S'L !00: 2! or &ig&er as

t&ese releases &a(e t&is feature "uilt in)o acti(ate minimiHed logging start S'L Ser(er wit& race Flag /70) See SAP $ote 74:!!5If 23LOAD or S'L Ser(er a"orts during t&e import, you need to drop all t&e ta"les w&ic& were in process at t&attime) &e reason is t&at t&ere is a small time window w&ere data s&ould "e written to dis9 in a sync&ronous

( | P a g e

Page 6: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 6/21

manner, "ut t&e writes are async&ronous) &erefore t&e consistency of t&e ta"le cannot "e guaranteed and t&eta"le s&ould "e dropped and t&e import restarted)

In general we recommend /70, 777: and 7775) o display trace flags run ;B #&'$#'#<

2emo(e trace flags /70 after t&e migration) &ese traceflags s&ould not "e used in li(e systems)

. Setting !p a stan%alone '3LOAD server SQL an% OracleOS+D %igrations larger t&an 0)<7 will "enefit from separating t&e 23LOAD import processes from t&e

data"ase ser(er-a) Install S'L Ser(er !00, !00:, !00:2! S$A;, !07! or !074 od"c 1client li"raries only8") Apply latest Ser(ice Pac9 for t&e client li"rariesc) Install SAP ?a(a SD on ser(er d) ;opy t&e latest (ersions of 23LOAD)6>6, D%SSLI)DLL and %IG%O$)SA2 1%IG%O$)SA2 can "e

found on t&e SAP installation master DED8e) Set t&e system en(ironment (aria"les %SS'L@D$A%6SID=, %SS'L@S;#6%Asid=,

%SS'L@S62E62&ostname= 1or %SS'L@S62E62&ostname=Qinst= named instance8 andd"ms@typemss

f) If t&e data"ase logins are re.uired please manually create t&e users DomainQsid=adm andDomainQSAPSer(iceSID= and t&en use t&e script attac&ed to $ote 7!B45/! < S;#6%A4SAP)ES

g) Logon as DomainQsid=adm and run 23LOAD Mtestconnect

For creating a 23LOAD ser(er for exporting an Oracle system

a) Install t&e full 70g+77g x/4 client for Windows M not Cust t&e SAP client) It is easiest to wor9 wit& t&e fullclient)

") Download t&e Oracle 23LOAD and DSL M unHip and place in a directory suc& as;-Q6xportQOracleQernel

c) Set t&e follow 6n(ironment (aria"les 1it mig&t "e useful to ma9e a small "atc& file for t&is8-S6 D%S@YP6oraS6 d"s@ora@sc&emaSAP23 or SID=SAP for sc&ema systemsS6 d"s@ora@tnsnameSID=S6 $LS@LA$GA%62I;A$@A%62I;A)W6:D6; 1or UF: if Unicode8S6 O2A;L6@#O%6D-QoracleS6 O2A;L6@SIDSID=

S6 SAPDAA@#O%6 D-Q6xportQOracleQernelS6 SAP6>6D-Q6xportQOracleQernelS6 SAPLO;AL#OSset to local &ostname=S6 SAPSYS6%$A%6SID=S6 $S@AD%I$ D-QoracleQ))))ora &ome))Qnetwor9Qadmin

d) 6dit t&e S'L$6)O2A and $S$A%6S)O2A to resem"le t&e "elowJJJJJJJJJJJJJJJJJ F:5$!'=$......* K5!$#."&'J &$'#$/.......* &$'#$/ ? SAP AL, R3 R$5. 6.10J N'=$..........*J ;'#$..........*J M(J) I/* 700-

1_RE&:!SAPINST:=5#5"&':!/SNET.ORAJ4 JJJJJJJJJJJJJJJJATOATI_IP ONTRAE_EVE_IENT OFFNAES.;EFAT_;OAIN WOR;SNET.EPIRE_TIE 10SNET.ATHENTIATION_SERVIES (NTS);EFAT_S;_SIQE32768JJJJJJJJJJJJJJJJJ F:5$!'=$......* #!!'=$."&'J &$'#$/.......* &$'#$/ ? SAP AL, R3 R$5. 6.10J M(J) I/* 700-

1_RE&:!SAPINST:=5#5"&':!/TNSNAES.ORAJ4 JJJJJJJJJJJJJJJJSI;.WOR;  (;ESRIPTION   (A;;RESS_IST

| P a g e

Page 7: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 7/21

  (A;;RESS (ONIT SAP.WOR;)

  (PROTOO TP)  (HOST h"#!'=$ "$ h$&$)  (PORT 1%27) or can e !"#! $ c%ec& eac% s'stem   )  )  (ONNET_;ATA   (SI; SI;)  (LOBA_NAE SI;.WOR;)  )  )

e) 6dit t&e &osts file on t&e U$I> ser(er and enter t&e Windows 23LOAD ser(er ip address and &ostname)On t&e Windows ser(er edit t&e &osts file and enter t&e U$I> ser(er ip address and &ostname) est wit&PI$G

f) est t&e Oracle connecti(ity wit& $SPI$G SID=)WO2LD). 2un t&e script attac&ed to SAP $otes 00:: and 3/7/47 1userdomain will usually "e t&e local &ostname

of t&e 23LOAD ser(er if t&e ser(er is not a domain mem"er8) &is script will create t&e OPSJ users t&atare needed for SAP to login to Oracle) - K55< NOOL M"&'/<&.K5 SHEAOWNER NISAP_SI; 1&e reason for using t&e U$I> script is t&at Oracle on U$I> cannot Nsee t&e &ostname oft&e Windows ser(er8

&) ry logging into t&e Oracle data"ase from t&e Windows ser(er wit& t&e following syntax 1for sc&emasystems replace SAP23 wit& SID=SAP8 - K55< SAPR3'MSI;.WOR;

i) o ensure correct aut&oriHations try running S6L6; F2O% 000 C) ry running 23LOAD Mtestconnect 1remem"er to set t&e en(ironment first8

It is recommended to re(iew t&is "log- &ttp-++"logs)msdn)com+"+sapons.lser(er+arc&i(e+!077+0!+04+installation<amp<configuration<of<windows<nfs<client<to<ena"le<unix<to<windows<to<mount<a<unix<file<system)aspx

2. *etor$ SettingsDue to t&e (ery &ig& (olume of traffic it is recommended to configure 70G 6t&ernet lin9s "etween a ser(errunning 23LOAD and t&e S'L Ser(er) As of %ay !077 it is strongly recommended to ma9e all new ser(er purc&ases wit& 70Giga"it $etwor9 ;ards) 70Gcards &a(e reduced in price dramatically and offer (astly "etter performance) For #P ser(ers t&e $;!SFP

16mulex8 or $;/0 1Intel8 networ9 card &as pro(ed (ery &ig&ly performing) Do not use 'Logic $;!3+!! as at August !07!)

It is furt&er recommended to configure ?um"o Frames on "ot& t&e 23LOAD ser(er and t&e Data"ase Ser(er "ot&during t&e export and import) $ote t&at t&e ?um"o Frame siHe must "e configured i%enticall# on t&e Data"aseSer(er, t&e Switc& ports used "y "ot& t&e D and 23LOAD Ser(er and t&e $I; card on t&e 23LOAD Ser(er) &enormal (alue for ?um"o Frames is B000 or B074, t&oug& some networ9 de(ices may only allow B004) It isessential t&at t&is (alue is t&e same 1or &ig&er8 on all de(ices or con(ersions will occur)If &ig& 9ernel times are seen on specific Logical Processors in as9 %anager c&ec9 2SS options on t&e $I;cards) Windows !00: and &ig&er allows for 2SS 2ing configuration usually up to : ;PUs on 7G"ps $I; and upto 7/ on 70G"ps cards) Perfmon can "e used to monitor N'ueued DP; per ;PU) &is will indicate &ow many;PUs are "eing used for $etwor9 DP; traffic and &ow many 2SS 2ings are configura"le) 2SS 2ingconfiguration can "e c&anged under t&e Ad(ance $etwor9 Properties for most $I; dri(ers) 2SS does not function

well in com"ination wit& 3rd party networ9 teaming software) It is recommended to use Windows Ser(er !07!w&ic& &as "uilt in networ9 teaming)

Net>o&? !ettngs Net>o&? eamng Receive Side Scaling # RSS ... 

In some cases t&e networ9 traffic generated from an import will "e so great networ9 errors may cause 23LOAD tofail) If t&is occurs please re(iew %icrosoft :BBBB)

It is also recommended to re(iew $ote 3B!:B! and implement &ttp-++support)microsoft)com+9"+B4:4B/) &is isre.uired on Win!003. &n all cases !se in%os Server 202 '2 if possi?le.  Windows Ser(er !07! 2!includes integrated teaming t&at &as pro(en to "e a (ast impro(ement o(er pre(ious teaming solutions inWindows !00:

*ote: $etwor9 settings are critical for ;PIP "ased export+imports)*ote2: %ost software "ased $etwor9 eaming utilities offer only ransmit 1x8 aggregation) SL or LA;P Switc&ased eaming 1re.uiring trun9ing on t&e switc&8 is re.uired to get 2ecei(e 12x8 aggregation)*ote3: Ad(anced consultants may wis& to setup SOF $U%A on large $U%A "ased systems) esting &ass&own !0<30T performance "oost)&ttp-++msdn)microsoft)com+en<us+li"rary+ms3434/)aspx

7 | P a g e

Page 8: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 8/21

&ttp-++"logs)msdn)com+ddperf+arc&i(e+!00:+0B+0B+mainstream<numa<and<t&e<tcp<ip<stac9<part<i(<paralleling<tcp<ip)aspx

3. Disa?ling or Deleting Secon%ar# &n%e@esDisa"ling secondary indexes can "e done and certain long running indexes "uilt online after t&e system isrestarted and (alidated) o do t&is remo(e t&e Index definition from t&e S2 structure file) After t&e system isrestarted 70<!0 indexes can "e "uilt online simultaneously) It is recommended to start t&e O$LI$6 index "uildp&ase prior to users logging onto t&e system) If using S'L !074 start t&e index "uild wit& low priority loc9

;. Disa?le 6#pert-rea%ing 9on ol%er Geon&ntel *e-ale" systems our recommendation is to use #ypert&reading 1lea(e &ypert&reading ena"led on >eonxx, /xx, 6 and 5xx, 65 ;PU8

5. !rge nonHcritical ta?les%ost SAP systems &a(e ta"les t&at contain unnecessary data) In many cases t&ese ta"les can "e purged-Purge SW ta"les 53:74:Purge asis ta"les 50/45:Purge SW ta"les 50!3/

$ote- &e SAP $ote 50/45: contains references to many ot&er OSS notes t&at contain procedures for purging orarc&i(ing many Nsystem type ta"les) &ese ta"les do not contain "usiness transaction data) In all cases pleaseuse t&e SAP documented procedures for purging or arc&i(ing t&ese ta"les)

. +)& ort (@port/&"port roce%!re;PIP Port "ased export to a S'L Ser(er system is fully supported) In general we recommend t&is met&od forad(anced migration consultants only)

In suc& an export procedure 23LOAD will communicate directly wit& t&e 23LOAD process on t&e target ser(er)$o dump files will "e created as all data is passed (ia ;PIP) A soc9et export+import reduces t&e 23LOAD ;PUconsumption and may allow slow legacy ser(ers to run a larger total num"er of 23LOAD processes)

It is not possi"le to use ;PIP Port "ased migration procedure w&en con(erting from non<Unicode to Unicode)

It is possi"le to migrate a Unicode SAP system running on an Oracle data"ase to a Unicode SAP system runningon S'L Ser(er 1e(en if t&e source system is running on a "ig 6ndian 470! platform and S'L Ser(er is on a little6ndian 4703 platform8

*ote: a soc9et export t&e Ordery parameter on t&e import ser(er must not "e set or t&e import will cras& wit& a?a(a error 1import order is set "y t&e export ser(er8)

. B Specific 'eco""en%ations

It is critical to fully re(iew system copy notes "efore migrating W systems or significant pro"lems are li9ely tooccur)2e(iew 88102 - !"stem @andscape Cop" )o& !+P NetWea,e& *WI 5) :::!70, 7444473 and 74/035! 1for APO systems 74577B38W 3) 557!0B W 3)7 5550!4

$ew S%IG2@;26A6@DDL is descri"ed in 7B3BB:)  SAP $ote 88102 - !"stem @andscape Cop" )o&!+P NetWea,e& *W contains t&e complete list of important SAP notes re.uired "efore doing an export)

6nsure t&is note &as "e carefully c&ec9ed 6FO26 starting t&e export)

Se(eral critical SAP $otes must "e applied on t&e source system prior to running S%IG2@;26A6@DDL) &ese$otes &a(e no impact on t&e source system and cannot "e tested any ot&er way ot&er t&an runningS%IG2@;26A6@DDL-190170( - @ong mpo&t &$ntme >th ce&tan ta%es on <!!A@1747330 - <ssng data ase nde6es a)te& s"stem cop" to <!!A@199331( - !<BC+DD@: do$%e co%$mns n c&eate nde6 statements

S'L Ser(er !07! * !074 supports a new &ig&ly efficient and &ig&ly performing ;olumn Store index) It is possi"leto export from Oracle+D! directly into S'L Ser(er) o do t&is-

7) 2e(iew t&is "log SQL Server )ol!"nHStore: p%ate% SA B co%e!) 6nsure S%IG2@;26A6@DDL is fully up to date "y applying notes listed in :::!70 under t&e section for S'L

Ser(er) &ese notes will not impact a Oracle or D! system

8 | P a g e

Page 9: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 9/21

3) On t&e source system run %SS;SO26 and c&ange t&e storage format for all large cu"es to ;olumn Store1t&is will not impact t&e source system as t&is program only applies to S'L Ser(er8

4) 2un S%IG2@;26A6@DDL and generate t&e DFA;)S'L) 6xport t&e source system to dump files/) Import dump files to S'L Ser(er 5) 6nsure all post processing steps listed in t&e System ;opy Guide are followed especially

2S@W@POS@%IG2AIO$

%odern (ersions of S'L Ser(er support up to 7,000 ta"le partitions) It is still recommended to c&ec9 for o"Cects

wit& many partitions on t&e source and target systems) %igrations to S'L Ser(er will "e re<partitioned e(en if t&esource system is not partitioned 1471910 - !A@ !e&,e& Pa&ttonng n !"stem Copes and D*<g&atonso c&ec9 partition count in S'L Ser(er run t&e following-

select ;OU$1partition@id8,o"Cect@name1o"Cect@id8,index@idfrom sys)partitionsw&ere O?6;P2OP62Y1o"Cect@id,IsUsera"le87group "y o"Cect@id, index@idorder  "y !,3 asc

o c&ec9 in Oracle-You can use t&e following .uery on your O2A;L6 data"ase to c&ec9 in s.lplus if ta"les wit& more t&an BBB

partitions exist-$5$# #'5$_!'=$ &"= <$&_'&#_#'5$ h$&$ '&#:#:"!_"<!# 999 '!/#'5$_!'=$ 5:C$ DD

&e following two notes are needed w&en importing onto S'L !00:SAP $ote 775B04 and $ote 73/4/:3

o repartition systems follow note 7457B70 

. nico%e )onversion Specific 'eco""en%ationPlease see notes on Unicode con(ersion, restrictions on unsorted export and soc9et export) $ew (ersions of23LOAD will export cluster ta"les sorted always)OSS $ote 773B/4! &as "een corrected to accurately state Unicode storage on S'L Ser(er) Since S'L !00: 2!

t&e storage efficiency of S'L Ser(er is pro"a"ly at least as good or "etter t&an ot&er D%S)

E. SQL Server A4( )o"pressionS'L Ser(er includes powerful and efficient D compression tec&nologies) Please see "logs on&ttp-++"logs)msdn)com+"+sapons.lser(er+ for furt&er information)o prepare a system for PAG6 compression during a migration implement SAP $ote 7:7500 in t&e sourcesystem) &is code will &a(e no impact on t&e source system as t&is note only contains code t&at runs if SAPdetects t&e data"ase is S'L Ser(er 

o force PAG6 compression edit t&e DDL%SS)PL file to read

&$#'* REATE TABE #'_!'=$  ( 5/_!'=$ 5/_/$ -, U ) "=&$:"!_'$

/&#'* ;ROP TABE #'_!'=$

&$C?* ATER TABE #'_!'=$  A;; ONSTRAINT &:_C$?  PRIAR E 5<#$&$/ ( C$?_5/ -, U ) "=&$:"!_'$/&C?* ATER TABE #'_!'=$  ;ROP ONSTRAINT &:_C$?&$:!/* REATE <!:K<$ IN;E :!/_!'=$  ON #'_!'=$  ( 5/_!'=$ -, U ) "=&$:"!_'$

/&:!/* ;ROP IN;E #'_!'=$.:!/_!'=$

&is procedure is fully supported for all customer systems as of Sept !070) ;urrent SWP% will all default to

PAG6 compression

&e PL file t&at needs to "e modified is in t&e c-Qprogram filesQSAPInst directory 1do a searc& of t&is directory8 ort&e PL file t&at is referenced in t&e pac9age import log

9 | P a g e

Page 10: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 10/21

DoHens of large SAP customers migrating from Oracle 1Unicode or $on<Unicode8 to S'L !00: 2! 1w&ic& offersUnicode compression8 and secondary index compression &a(e reduced t&e D siHe "y :0T to Cust !0T oforiginal siHe) &is means a 70 Oracle system will "ecome K! on S'L Ser(er)&is allows customers running on multi<million dollar U$I> &ardware to migrate to inexpensi(e &ig&ly performingIntel &ardware easily) esting around performance &as s&own (ery significant impro(ements in performance onser(ers suc& as t&e #P DL:0 G5 compared to U$I> ser(ers t&at cost KJ3m USD)

o c&ec9 t&e compression properties of a particular ta"le run t&e following in S'L %anagement Studio

$5$# OBET_NAE("X$#_:/), :!/$_:/, /'#'_"=&$:"!, /'#'_"=&$:"!_/$&"= ?.'&#:#:"! h$&$ "X$#_:/  OBET_I;(DTABENAED)

20. Overvie of SA +ools 1 'eleases6(ery (ersion including SAP 4)/; and &ig&er can run on S'L !00) Some older releases of SAP 2+3 do not &a(e 23S6UP+SAPInst for S'L !00 M a maCor source of confusion)

B': R$5$'$ 3.1I 4.0B 4.%B 4.6 6.20 6.40 7.00 '!/ h:h$&

R3SETP 4.6; 4.6; 4.6; 4.6; - - -SAPINST - - - - 6.40 6.40 7.00R3;T 3.1I 4.0B 4.%B 4.6; 6.40 6.40 7.00R3SQH - - 4.%B 4.6; 6.40 6.40 7.00R3OA; 3.1I 4.0B 4.%B 4.6; 6.40 6.40 7.00

ILON ?$ ?$ ?$ ?$ ?$ ?$ ?$R3TA !" !" !" !" ?$ ?$ ?$;ISTON !" !" !" !" ?$ ?$ ?$

P'C'$ S5:##$&*-P$&5 (/"!Y# <$) !" ?$ ?$ ?$ ?$ ?$ ?$-'Z' ?$ ?$ ?$ ?$ ?$ ?$ ?$S 2000 SP4' !" !" ?$ ?$ ?$ ?$ ?$ (!"# &$"==$!/$/)S 200% SP4 !" !" !" ?$ ?$ ?$ ?$ (!"# &$"==$!/$/)S 2008 SP4 !" !" !" !" !" !" ?$ (!"# &$"==$!/$/)S 2008 R2 SP3 !" !" !" !" !" !" ?$ (64 :# "!5?)S 2012 SP2% !" !" !" !" !" !" ?$ (I!#$5A; 64 "!5?)

S 2014 SP1 !" !" !" !" !" !" ?$ (I!#$5A; 64 "!5?)S 201% Z!$# T" $ "!:&=$/W:! 2003 SP2 64 !" !" ?$ ?$ ?$ ?$ ?$ (!"# &$"==$!/$/)W:! 2008 SP2 !" !" !" !" !" !" ?$ (!"# &$"==$!/$/)W:! 2008 R2 SP1 !" !" !" !" !" !" ?$ (64 :# "!5?)W:!2012 !" !" !" !" !" !" ?$ (I!#$5A; 64 "!5?)W:!2012 R2 !" !" !" !" !" !" ?$ (I!#$5A; 64 "!5?)W:! !$#G T" $ "!:&=$/

at least S'L !00: SP7 1or ;U!8 must "e used

2. Oracle or DB2 ABA 6ints or (G() SQL 6o to -an%le t-ese

In general we &a(e found t&at t&e S'L Ser(er OptimiHer does not re.uire as many &ints as Oracle) &erefore it isour standard recommendation to ignore Oracle or D! &ints on S'L Ser(er) Only if a specific performancepro"lem is identified s&ould a S'L Ser(er AAP &int "e added) &is applies to "ot& SAP standard and custom V AAP) We strongly recommend against manually con(erting all Oracle AAP &ints into t&eir S'L Ser(er form)&is is time consuming and unnecessary) SAP pro(ide a small report to scan AAP to detect &ints and 6>6;S'L < 2eport 2S@AAP@SOU2;6@S;A$2e(iew &ttp-++"logs)msdn)com+"+sapons.lser(er+arc&i(e+!077+0:+37+&ow<to<integrate<s.l<ser(er<specific<&ints<in<a"ap)aspx 

22. (@porting fro" *&G ServersIn some situations it may "e re.uired to run SAPInst and 23load on legacy U$I> ser(ers) If possi"le it isrecommended to use Intel ser(ers to run 23load as t&ey &a(e pro(en to "e (astly faster t&an U$I> ser(ers)

#owe(er if t&ere is no c&oice t&en follow t&e procedure "elow-7) Download t&e latest SL oolset &ttps-++ser(ice)sap)com+sltoolset  1SWP%8!) Logon to t&e Data"ase ser(er 1not supported on application ser(ers8 and run )+sapinst Mnogui as root3) On a Windows ser(er run sapinstgui)exe and connect to t&e U$I> ser(er on port !7!7!4) 6xport system using t&e SAPinst GUI

10 | P a g e

Page 11: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 11/21

) FP dump files to Windows ser(er and import

&is lin9 may "e useful w&en for (i and for setting U$I> en(ironment (aria"les suc& as ?AEA@#O%6

23. SA ;. ()) 5.0 on in%os 200 '2 or in%os Server 202 9'2SAP only support asis 5)0 or &ig&er components on Windows !00: 2!, &owe(er it is possi"le to migration fromU$I>+Oracle to Windows !00: 2! and S'L Ser(er on older releases pro(ided an upgrade is immediatelyperformed)

&is is documented explicitly in-$ote 74434!4 < %igration pat& to Win!00:+%SS'L!00: for 4)/; and /)!0+/)40 $ote 745/B!: < System copy of SAP systems on Windows !00: 12!8- S'L Ser(er 75:3!: < %igration pat& to Win!07!+%SS'L!07! for 4)/; and /)!0+/)40

S'stem Cop' of a *#+,*-+ SAP S'stem "< =<# $&"&= #h$ ?#$= "? ' /$&:$/ :! #h$ ?#$= "? <:/$."< '! $:#h$& =:&'#$ ?"<& ?#$= ? $&"&=:! ' h"="$!$"< ?#$= "? :#h#h$ /'#''$-$:: /$#'h'##'h =$#h"/ "& ' h$#$&"$!$"< ?#$= "? :#h#h$ /'#''$-:!/$$!/$!# R35"'/ =$#h"/. "< '! $&"&= #h$ h$#$&"$!$"< ?#$="? &"$/<&$ #" =:&'#$ ?#$= &"= "#h$& /'#''$ 5'#"&= #" S S$&Z$&?#$=.

2;. SQL 202 Islipstrea"J installationsDownload t&e latest S'L !07! ser(ice pac9 and ;U from &ttp-++"logs)msdn)com+"+s.lreleaseser(ices+ and placein a central source along wit& S'L !07!) 2un t&e following commands to automatically patc& S'L !07! duringinstall-*+SAP;+S2012+SF_64_EN$#< A#:"!I!#'55 /'#$E!'5$/TRE/'#$S"<&$@*+SAP;+S2012SP1@

 Also re(iew S'L4SAP@docu)pdf as detailed in-Note 184(4( - !+P Bnsta%%aton <eda and !A@4!+P )o& !A@ !e&,e& 2012

25. )o""on ro?le"s 1 (rrors&e system copy procedure must "e followed exactly or some of t&e errors "elow may occur)

a) 622O2- 6xeFastLoad- rc !Please re(iew SAP $ote B4!40) It is pro"a"le t&at t&e DFA;)S'L file &as not "een generated "y t&eS%IG2@;26A6@DDL report or t&e file is not in t&e export dir=QDQ%SS directory) If t&e pro"lem continuestry setting t&e $O@;P7 to stop FASLOAD) &is will allow 23LOAD to output a more specific errormessage) Also c&ec9 t&e S'L Ser(er 6rror Log)

") S'L Stac9 Dump LA;# I%6OUIt is li9ely t&at t&e SAPDAAx files or SAPLOG7 file was not created large enoug& and S'L Ser(er &as triedto extend t&is file) Under extremely &ea(y load t&is error may "e seen) 6xpand t&e data"ase to t&e expectedfinal siHe prior to "eginning t&e import) 6nsure t&e log file is at least 700G for larger systems)

c) Dump on Logon Screen ma9es it impossi"le to logon- DY$P2O@IA@622O2 See $ote 7!:5!70

d) Deadloc9 error in pac9age log fileIf message - ransaction was deadloc9ed on loc9 resources wit& anot&er process and &as "een c&osen ast&e deadloc9 (ictim) &is message is extremely rare "ut can t&eoretically occur on large split ta"les) In t&emaCority of cases t&e fastest resolution will "e to drop t&e ta"le and reset t&e status of t&e S files and importall pac9ages of t&e split ta"le again)

(IP) INFO* E!/F'#"'/ ':5$/ :#h 2* B<5C-"? "==:# <!<$<5*[208\I!Z'5:/ "X$# !'=$ D:/.SS;EA;D.[120%\ T&'!'#:"! (P&"$ I; ) ' /$'/5"C$/ "! 5"C &$"<&$ :#h'!"#h$& &"$ '!/ h' $$! h"$! ' #h$ /$'/5"C Z:#:=. R$&<! #h$#&'!'#:"!.[208\ I!Z'5:/ "X$# !'=(IP) ERROR* E!/F'#5"'/* & 2

If you are using ta"le splitting you may wis& to reduce t&e default ;P "atc& siHe from 70000 to 000) $otet&at larger "atc& siHes produce faster import times) For non<split ta"les you may wis& to consider increasingt&e "atc& siHe after careful testing) &e %IG%O$+23LOAD parameter ;P@A;#@SIV60000 or set t&een(ironment (aria"le set ;P@A;#@SIV60000)

11 | P a g e

Page 12: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 12/21

$ote- S'L !00: 2! contains an en&ancement t&at will greatly reduce t&e occurrence of t&is pro"lem) It isexpected t&at t&e "atc&siHe can "e increased significantly on S'L !00: 2!) esting wit& (alues of 700,000&a(e s&own good results) It is recommended to monitor memory consumption wit& large "atc& siHes

e) Earious 6rror %essages Installing 4)/x+4)5 on x/4 Ser(ers All SAP systems s&ould run on /4"it (ersions of Windows and S'L Ser(er) &e installation routines for4)/;+D were created "efore x/4 (ersions of Windows were a(aila"le) ecause of t&is t&ere may "e errors)Please re(iew $otes :/!5:B, B/05/B, :BB777 * :74:34)

f) W+I or ot&er $etWea(er SystemsW or $etWea(er systems &a(e special restrictions and special re.uirements)In general we recommend t&at for W or $etWea(er systems t&e following support pac9s are implemented-

*eteaver .0 B& .0Support Pac9 Stac9 B2e(iew $otes- :::!70, B/!7!4, 7070:4

*eteaver K0; B 3.5Support Pac9 Stac9 7:2e(iew $otes- 557!0B, BB/!/3, B/004, 7070:4

SA B 3.0?/3.c

SAP@ASIS =:W 3)0+3)7; =!+7B2e(iew $otes- 5550!4

OS+D %igrations on support pac9s lower t&an t&e a"o(e recommendations are still possi"le and carefullyre(iewing all related notes and implementing t&ese corrections in t&e source system) In some cases newfunctionality suc& as ta"le partitioning will not "e acti(ated unless certain prere.uisites are met)

&n all cases c!sto"ers "!st caref!ll# i"ple"ent note 5E ?efore i"ple"enting an# notes it-S*O+(.

g) 4)/; 6rror 168 622O2- SlicGetInstallation$o18 failed&e system en(ironment (aria"le SAPSYS6%$A%6 SID= is not set) Set t&is (aria"le for t&e user

sid=adm

&) 4)/; error in de(@w < Long Datatype ;on(ersion not performed please see $ote 7!/B53 < SI; messageswit& %S S'L Ser(er 

i) 23S6UP and possi"ly (ery old SAPInst may attempt to create a SAP data"ase wit& code page :0I$ priorto t&e import of t&e dump files) $ote 5BB0: and /000!5 strictly for"id t&e use of code page :0I$ andre.uire con(ersion to 50B&*2)

 Also note t&at t&e utility for con(erting codepage :0I$ to :0I$! does not wor9 on S'L !00 or &ig&er

1t&e fast con(ersion feature was dropped from S'L !008) &erefore care s&ould "e ta9en to a(oid t&e case

w&ere 23S6UP creates a :0I$ data"ase on S'L !00 and t&en %IG%O$ is used to import t&e system

into t&is data"ase) ;learly t&is will result in an unsupported system running code page :0I$ on S'L !00)

;on(ersion will "e impossi"le and t&e import will need to "e repeated after dropping and t&en manuallycreating t&e data"ase)&e following commands display t&e ser(er 1default8 and data"ase collations-

SEET SERVERPROPERT(D"55'#:"!D)

 S_'#:!1_L$!$&'5_P8%0_BIN2 SEET ;ATABASEPROPERTE(DSI;D, D"55'#:"!D) S_'#:!1_L$!$&'5_P8%0_BIN2

 An incorrect code page will sometime product import errors wit& N622O2- D"Sl6nd%odify failed rc !/

 C) AAP S&ortdump * S%!7 error max) mar9er count !0B0= 622O2 = d"tran 622O2 1set@input@da@spec8- statement too "ig

= mar9er count !5/ = max) mar9er count !0B0

&is is "ecause t&e limit on t&e num"er of parameters on a stored procedure is !700 on S'L) It is &ig&er onot&er data"ases&ttp-++tec&net)microsoft)com+en<us+li"rary+ms7B773!)aspx

12 | P a g e

Page 13: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 13/21

It is possi"le to c&ange .ueries wit& = !0B0 parameters to Nliteral .ueries) 2e(iew SAP $ote 7!B!

9) In (ery rare cases a ?OI$ on Oracle may not wor9 on S'L Ser(er) &is can &appen on systems suc& as;2% w&ere GUIDs are stored in 2AW datatypes and a ?OI$ is attempted on a ;#A2 datatype) Pleasere(iew $ote 7!B4707

l) A simple and easy way to suspend and release all "atc& Co"s on a system is to run t&ese reports in S63:Suspend- ;2$S7

2elease- ;2$S!

SQL state"ent t-at incl!%es t-e =o?s for (arl#atc-HAlert 9Stan%ar%:

 </'#$ '&3.##" $# #'#< DPD h$&$ X"!'=$ !"# 5:C$ DED '!/ X"!'=$ !"#5:C$ DR;;IPD '!/ X"!'=$ !"# 5:C$ DSAPD '!/ X"!'=$ !"# 5:C$ DOETOR_FORD'!/ #'#< DSD

/$5$#$ &"= '&3.## h$&$ X"!'=$ !"# 5:C$ DED '!/ X"!'=$ !"# 5:C$ DR;;IPD '!/ X"!'=$ !"# 5:C$ DSAPD '!/ X"!'=$ !"# 5:C$ DOETOR_FORD

SQL state"ent t-at incl!%es t-e =o?s for (arl#atc-HAlert 9if s#ste" is !st ?eing "ove%:

 

</'#$ '&3.##" $# #'#< DPD h$&$ X"!'=$ !"# 5:C$ DED '!/ X"!'=$ !"#5:C$ DR;;IPD '!/ X"!'=$ !"# 5:C$ DSAPD '!/ X"!'=$ !"# 5:C$ DOETOR_FORD'!/ X"!'=$ !"# 5:C$ DSID '!/ X"!'=$ !"# 5:C$ DATO_SESSION_ANALERD '!/#'#< DSD

/$5$#$ &"= '&3.## h$&$ X"!'=$ !"# 5:C$ DED '!/ X"!'=$ !"# 5:C$ DR;;IPD '!/ X"!'=$ !"# 5:C$ DSAPD '!/ X"!'=$ !"# 5:C$ DOETOR_FORD '!/ X"!'=$!"# 5:C$ DSID '!/ X"!'=$ !"# 5:C$ DATO_SESSION_ANALERD

m) &ese command will purge old U$I> &ost profile parameters) Import new profiles wit& 2V70)Do not migrate U$I> style profile parameters to Win+S'L) Use Hero memory management and 9eep t&edefault parameters in general)

#&<!'#$ #'5$ &/.TPFET#&<!'#$ #'5$ &/.TPFHT

2. +ro!?les-ooting +ipsa) 23LOAD ;onnection Pro"lems

2e(iew SAP $ote B:/5:) &e system en(ironment (aria"le %SS'L@DSLP2OFIL67 will write a trace filed"sl@pid= to t&e current directory) &is file will "ecome (ery large and seriously reduce t&e performance of asystem) In some cases it may "e necessary to set t&e SAPSYS6%$A%6SID= system en(ironment(aria"le) Additional logging can "e switc&ed on wit& en(ironment (aria"le 23LOAD@L 7, ! or 3

") 23LOAD ;annot Find DFA;)S'L, S2 or Dumpfiles&e system en(ironment (aria"le 23LOAD@WL7 will output extra information in t&e pac9age=)LOG file

c) Scan log files wit& Windows FI$DS2 1Windows (ersion of grep8&e command line "elow will output all t&e error lines from t&e export or import directoryF:!/#& *ERROR* '#h #" 5" :5$+.5"

d) AAP Dump DAA@OFFS6@OO@LA2G6 <= ;>@SY@2A$G6@OU@OF@OU$DS&is pro"lem is usually caused "y too longer &ostnames in com"ination wit& local extended "uffering of somenum"er ranges) #ostname re.uirements are documented in SAP $ote /773/7) 2e(iew&ttp-++www)sdn)sap)com+irC+scn+we"logs"log+pu"+wlg+!7/3  and consider replacing extended local "ufferingwit& parallel "uffering as per note BB75)  It is also possi"le to use (irtual &ostnames to wor9around t&isissue

e) U$I> and Windows ;2 0x0D M carriage return formatting is different) SAP $ote !5 1not a mista9e, note !58contains t&e profile parameter a"ap+$fmode) Also see 5::B05

f) ;opying a file in U$I> is possi"le "ut Loc9ed in Windows) If t&e AAP command OP6$ DAAS6 is used toopen a file on U$I> OS it is still possi"le to copy t&is file) On Windows a loc9 on t&e file will "e &eld) It is

13 | P a g e

Page 14: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 14/21

re.uired 1and "est practice8 to ensure a ;LOS6 DAAS6 AAP command is issued "efore manipulating afile external to t&e AAP ser(er 

g) A large num"er of 23LOAD processes are configured and Oracle issues t&is error 

&e system 6rror message returned "y D"Sl-ORA-00018* =':=<= !<=$& " $:"! $$$/$/(;B) INFO* /:"!!$#$/ &"= ;B

Solution-Increase t&e parameters in  unix- JO2A;L6@#O%6+d"s+initDSID=)ora  windows-JO2A;L6@#O%6+data"ase+initDSID=)ora  P2O;6SS6S7000  S6SSIO$S770

&) Sorting some W or ot&er large ta"les can consume massi(e amounts of PSAP6%P) If t&is occurs t&ere aretwo options- 178 switc& to Unsorted export 1see earlier section in t&is document or 1!8 run t&e commands"elow to increase PSAP6%P

(EP) ERROR* ;S5E$R$'/ ':5$/  & 99, #'5$ @BIB0000%8%000@

  (S $&&"& 16%2)  $&&"& =$'$ &$#<&!$/ ? ;S5*ORA-016%2* <!'5$ #" $#$!/ #$= $=$!# ? 128 :! #'5$'$ PSAPTEP(;B) INFO* /:"!!$#$/ &"= ;B

SK55< !"5""!!$# ' ?/'S ATER TABESPAE PSAPTEP A;; TEPFIEDE*+"&'5$+BWP+'/'#'1+#$=_1+TEP.;ATA2D SIQE 20000SEET FRO VTEP_SPAE_HEA;ER

i) FASLOAD 6rrors&e system en(ironment (aria"le $O@;P7 will o(erride t&e Mloadprocedure Mfast option and force

23LOAD to use t&e normal DSL interface for import

 C) Special c&aracters are corruptedPlease re(iew t&is SAP $ote 7!5B::!

9) o 6na"le fastload on LO columns in /)40 * 5)00 set ;P@LO7 and re(iew note 77/3/7

l) If t&is error occurs during a %D%P Unicode con(ersion re(iew BB!B/(;B) INFO* LP;II]WR; &$'#$/(;B) INFO* LP;IT &$'#$/(;B) INFO* LP;IT]0 &$'#$/(IP) INFO* E$F'#"'/ ':5$/ :#h 2* BP "==:# ':5$/*[2627\ V:"5'#:"! "PRIAR E "!#&':!# DLP;IT]0D. '!!"# :!$&# /<5:'#$ C$? :! "X$#

D/".LP;ITD.[3621\ Th$ #'#$=$!# h' $$! #$&=:!'#$/.(IP) ERROR* E$F'#5"'/* & 2(;B) INFO* /:"!!$#$/ &"= ;B

m) ASS62IO$@FAIL6D during generation of DFA;)S'L) Please cross reference B:43B/ first) If t&is isunsuccessful please run 2SDDS@;#A$G62U$@%PALS@D6L

n) If t&e following error is seen read OSS $ote 75!70B) Atomic ind on S'L !07!

(;B) ERROR* ;; #'#$=$!# ':5$/ (INSERT INTO MS VAES (D '_'#"=:_/$'<5#:!/ 0,

DBI0E0BWT_02D, DE_0BWT_02PD D) ) ;S5E$<#$* & 103  (S $&&"& 2812)

o) Logon or ot&er License profiles implement t&is note in transaction S6;SO26 73!:!

p. %axD %igrations using a Windows 23LOAD ser(er re.uire t&at t&e appropriate security is in place to allow

connection to %axD) See SAP Note 39439 - E! ent&es )o& !+P D* and <a6D*  !"nta614 | P a g e

Page 15: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 15/21

sho$%d %oo? sm%a& to ths: <$& - -< SI;A;,'"&/ -/ SI; -!

='/h"# -S SAPR3 $#.) Eery slow import times on systems wit& a large amount of 2A%

S'L !00 may "e (ery slow to import during t&e data load p&ase if inserts are o(erflowing t&e page flus&

"uffer) &is is "ecause t&e o(erflow is stored in t&e S'L datacac&e) &e process to store and retrie(e

o(erflow rows is single t&readed) &e larger t&e amount of memory a(aila"le for S'L Ser(er data cac&e t&e

worse t&e pro"lem "ecomes) +-is pro?le" is fi@e% in SQL 200 an% page fl!s- "anager ,!e!e -as

?een increase% to 02; pages 9!n%er trace flag 3E it is E2 pages) It is recommended to contact

%icrosoft support if t&is pro"lem is encountered on S'L !00) If a customer is using a SAP ernel 5)0 or&ig&er component it is strongly recommended to use S'L !07! or &ig&er . p%ate: t&is traceflag s&ould

seldom "e needed and we no longer recommend to set unless t&ere is a specific pro"lem)

r) elow is a useful script to run if an Import fails and t&e entire SAP data"ase needs to "e purged of all ta"les)&an9s to Amit for pro(iding t&is) WA2$I$G- 2unning t&is script will drop all ta"les in t&e current data"ase

$ SI;EE _S"&$'h#'5$ D/&" #'5$ ^D

s) owards t&e end of an import t&ere may "e many Nsuspended S'L processes) &ese can "e (iewed wit&S'L %anagement Studio Acti(ity %onitor) ;lic9ing on t&e suspended process may s&ow t&at a process isperforming a ;26A6 I$D6>) owards t&e end of an import most of t&e ta"le data import is complete andS'L Ser(er will "e "uilding secondary indexes) &e primary clustered index &as "een "uilt simultaneously ast&e ta"le data is loaded) Often t&ese secondary indexes are non<standard V indexes or sometimes unusedSAP standard indexes) &ese indexes may "e deleted in t&e source system "efore export or created after t&esystem &as "een restarted and t&e downtime period is o(er) S'L !00 and &ig&er supports online indexcreation)

&e memory consumption during index creation can "e su"stantial, especially if many indexes are "eing "uilt

simultaneously) &is script is useful to detect situations w&en S'L is suspending index creation due to

insufficient memory

-- <&&$!# =$="&? &'!# $& K<$&?$:"!$5$# $:"!_:/, &$K<$#_#:=$, &'!#_#:=$ , 

&$K<$#$/_=$="&?_C  ( 1024.0  1024 ) ' &$K<$#$/_=$="&?_ , &'!#$/_=$="&?_C  ( 1024.0  1024 ) ' &'!#$/_=$="&?_ , <$/_=$="&?_C  ( 1024.0  1024 ) ' <$/_=$="&?_ , #.#$#&"= ?./=_$$_K<$&?_=$="&?_&'!#  &" '5? ?./=_$$_K5_#$#(K5_h'!/5$) '  #-- <!"==$!# #h$ h$&$ "!/:#:"! ' !$$/$/-- h$&$ &'!#_#:=$ : !"# !<55 -- #h$$ $:"! '&$ <:! =$="&?'55"'#:"!-- h$&$ &'!#_#:=$ : !<55 -- #h$$ $:"! '&$ ':#:! "& =$="&?'55"'#:"!

-- "Z$&'55 $&Z$& #'#<

$5$#  &"= ?./=_$$_K<$&?_&$"<&$_$='h"&$

If many 23LOAD ;P or ;26A6 I$D6> Processes are in status SUSP6$D6D wit&

26SOU2;6@S6%AP#O26 wait type in t&e D%E "elow-

$5$# $:"!_:/, &$K<$#_:/,#'&#_#:=$, #'#< , "=='!/, ':#_#?$, ':#_&$"<&$, ':#_#:=$,  5'#_':#_#?$, 5"C:!_$:"!_:/

&"= ?./=_$$_&$K<$# h$&$ $:"!_:/ 49 "&/$& ? ':#_#:=$ /$

If t&is is t&e case, it may "e useful to cap t&e amount of memory t&at a particular secondary index "uild tas9

can consume) &is will force t&e Secondary Index uild to use 6%PD) &e way to cap memory is to Acti(e2esource Go(ernor 1"y rig&t clic9ing on it in SS%S8) AdCust t&e memory percentage (alue as needed) y

default S'L Ser(er can easily consume 70<40G 2A% per Index uild if no limit is set M t&e actual (alue

depends on t&e amount of 2A% in t&e ser(er) &is su"stantially impro(es Index "uild speed, &owe(er if too

1( | P a g e

Page 16: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 16/21

many secondary indexes are "uilt at one time t&is will consume all a(aila"le memory, t&ere"y "loc9ing ot&er

resources) It is recommended to monitor empD utiliHation w&en setting t&is option

SE ='#$&BELIN TRAN-- &$'#$ 1 "&C5"'/ &"< "& SAP R3"'/-- W"&C5"'/ &"< : $##:! ':!$/ #" /$'<5# ""5 '<#"='#:'55?REATE WOROA; LROP R35"'/LO

OIT TRAN"-- &$'#$ ' 5'::'#:"! <!#:"!.REATE FNTION /".5':?_&35"'/() RETRNS ?!'=$ WITH SHEABIN;INL ASBELIN  ;EARE M&_!'=$ ?!'=$  IF (APP_NAE() IE DR3 00D)  SET M&_!'=$  DR35"'/D  RETRN M&_!'=$EN;LO-- R$:#$& #h$ 5'::$& <!#:"! :#h R$"<&$ L"Z$&!"&

ATER RESORE LOVERNOR WITH (ASSIFIER_FNTION /".5':?_&35"'/)LO--h'!$ =':=<= =$="&? &'!# ' K<$&? '! $#. ;$'<5# 2%ATER WOROA; LROP R35"'/ :#h (REEST_A_EOR_LRANT_PERENT %)" -- S#'&# R$"<&$ L"Z$&!"&ATER RESORE LOVERNOR REONFILRELO

t) O$LI$6 2e"uild of Large Secondary Indexesa"les suc& as SIS may &a(e &uge secondary indexes) &ese can "e deleted from t&e S2 files andcreated O$LI$6 after t&e import) &is allows post processing and e(en users to access a system w&ileindexes are still "uilding)

It is recommended to ma9e scripts and execute t&ese scripts (ia S'L;%D  MS &ostname M6 Mi script=Warning- it is (ery dangerous to restrict SAP memory wit& resource go(ernor) &is can lead to terminationsand unexpected "e&a(ior) 2emo(e t&e 23 Load resource go(ernor prior to starting t&e SAP application)

SE ='#$&BELIN TRAN-- &$'#$ 1 "&C5"'/ &"< "& SAP S;-- W"&C5"'/ &"< : $##:! ':!$/ #" /$'<5# ""5 '<#"='#:'55?REATE WOROA; LROP S;LOOIT TRAN"-- &$'#$ ' 5'::'#:"! <!#:"!.

REATE FNTION /".5':?_ S; () RETRNS ?!'=$ WITH SHEABIN;INL ASBELIN  ;EARE M&_!'=$ ?!'=$  IF (APP_NAE() IE S; D)  SET M&_!'=$  D S; D  RETRN M&_!'=$EN;LO-- R$:#$& #h$ 5'::$& <!#:"! :#h R$"<&$ L"Z$&!"&ATER RESORE LOVERNOR WITH (ASSIFIER_FNTION /".5':?_ S;)LO--h'!$ =':=<= =$="&? &'!# ' K<$&? '! $#. ;$'<5# 2%

ATER WOROA; LROP S; :#h (REEST_A_EOR_LRANT_PERENT %)" -- S#'&# R$"<&$ L"Z$&!"&ATER RESORE LOVERNOR REONFILRELO

1 | P a g e

Page 17: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 17/21

u) o transfer all o"Cects from t&e d"o sc&ema 1or any ot&er sc&ema8 into t&e sid= sc&ema run t&e scriptsattac&ed to OSS $ote 7!B45/!  M usr@c&ange)s.l or copy t&e output of t&is script and paste into a new .uerywindow and execute-

;EARE M"<&$h$=' VARHAR(100);EARE M/$#:!'#:"!h$=' VARHAR(100) SET M"<&$h$='  D"<&$h$='D SET M/$#:!'#:"!h$='  D/$#:!'#:"!h$='D 

SEET DATER SHEA D  M/$#:!'#:"!h$='  D TRANSFER D  .!'=$  D.D D [D  '.!'=$ D\D FRO ?."X$# ' OIN ?.h$='  ON '.h$='_:/.h$='_:/ WHERE '.#?$ IN (DD,DPD,DFND,DVD) 

AN; .!'=$M"<&$h$='

 After running t&is script, re<run %SSP2O;S in S63:

() If &ig& W2I6LOG and+or LOGUFF62 times are seen re(iew t&e "log on FusionIO * ot&er SSD de(ices on&ttp-++"logs)msdn)com+"+sapons.lser(er+arc&i(e+!077+0/+70+accelerating<oracle<gt<s.l<ser(er<migrations<wit&<fusionio<ssd<dis9s)aspx ) FusionIO de(ices are &ig&ly recommended for large migrations to speed up writesto t&e ransaction Log and+or tempd") FusionIO and SSD de(ices are fully supported for use wit& S'LSer(er) Always run Windows Ser(er !07! or &ig&er as only t&is (ersion of Windows supports t&e 2I%

command

w) %o(ing from a U$I> clustered+#A ;I to a AS;S)

SAP do not support clustering a SAP central instance on modern releases of SAP) Windows %S;S onlysupports a AS;S or S;S 16n.ueue * %essage Ser(er8) $one of t&e ot&er components of an SAP systemsare single points of failure t&erefore it is not permitted to cluster t&em 1Dialog, atc& etc8)In all cases customers must use logon load "alancing) &is can "e setup in transaction S%LG&ere appears to "e a deficit in SAP documentation a"out 2F;s from )$6http://he%p.sap.com/saphe%pn>04/he%pdata/en/22/042a31488911d189490000e829)d/)&ameset.htm+ F%e ca%%ed saprfcini m$st e c&eated and the s"stem o& $se& en,&onment ,a&a%eset to the )o%%o>ng o& sm%a&

R!"#$N$ % c&'windows'saprfcini

+#pe B;onnects to an SAP system using load "alancing)

&e application ser(er will "e determined at runtime)&e following parameters can "e used-

• 

.EST / 01estination in RfcOpen2• 

T3PE / 0B4 use 5oa1 Ba6ancin7 feature2 • 

R89A:E / 0name of SAP s'stem; optiona6< 1efau6t4 1estination2 

• 

 :S=OST / 0%ost name of t%e messa7e ser>er2 

• 

GROUP / 07roup name of t%e app6ication ser>ers; optiona6< 1efau6t4 PUB5C2 

• 

RFC?TRACE / 0+,!4 OFF,O9; optiona6< 1efau6t4+(OFF)2 

• 

 ABAP?.EBUG / 0+,!4 OFF,O9; optiona6< 1efau6t4+(OFF)2 • 

USE?SAPGU / 0+,!4 OFF,O9; optiona6< 1efau6t4+(OFF)2 

In addition to t&e documentation pro(ide "y SAP t&e following may also &a(e to "e set-

• destSAPSyste(Na(e % )*S$+,)-&e ser(ice name of t&e message ser(er must "e defined in t&e Xser(ice file 1ser(ice name= sap"sSAP

system name=8)

Please also re(iew-Note 1447900 - @B*GC32.d%% $na%e to get some en,&onment ,a&a%es

Note 211(1 - <$%tp%e Net>o&? adapte&s n !+P !e&,e&s  #do>n%oad the attachments

and &ead them'Note 129997 - ostname and BP add&ess %oo?$p #)&om ths note'I# : &<:'5 "& #h$ "$&'#:"! " #h$ R3 ?#$= #h'# #h$ "55":!

&$K<:&$=$!# : <5:55$/ "& '55 h"# &<!!:! R3 :!#'!$*

17 | P a g e

Page 18: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 18/21

') Th$ h"#!'=$ " #h$ "=<#$& ("& #h$ !'=$ #h'# : "!:<&$/ :#h #h$

&":5$ '&'=$#$& SAPOAHOST) =<# $ &$"5Z'5$ :!#" '! IP '//&$.

) Th: IP '//&$ =<# &$"5Z$ 'C :!#" #h$ '=$ h"#!'=$. f t%e P

a11ress reso6>es into more t%an one a11ress; t%e %ostname must e first

in t%e 6ist

) Th: &$"5<#:"! =<# $ :/$!#:'5 "! '55 R3 $&Z$& ='h:!$ #h'#

$5"! #" #h$ '=$ R3 ?#$=.

Note 34((2 - @oada%ancng does not Fnd app%caton se&,e&

Note 1011190 - <!C!:!p%ttng the Cent&a% Bnstance +)te& Epg&ade to 7.0/7.1

2. Migration for ;.) or loer ?ase% s#ste"s : 6ig- level process:a) 2aise an OSS message re.uesting a copy of t&e 4)/D SAP 23S6UP) 123S6UP is no longer

a(aila"le for download8") Prepare system according to 4)/D system copy guidec) Install 23S6UP on t&e source system and update t&e D%SSLI)DLL, 23LOAD)6>6 *

23SV;#)6>6d) %odify 23S6UP D6>PO2)23S to force 23S6UP to exit Cust "efore starting t&e export

<xx>=R3SZCHK_IND_IND

<xx>=DBEXPCOPYEXTFILES_NT_IND

<xx>=DBR3LOADEXECDUMMY_IND_IND ***delete***<xx>=CUSTOMER_EXIT_FOR_EXPORT ***add***

<xx>=DBEXPR3LOADEXEC_NT_IND ***delete***

<xx>=DBGETDATABASESIZE_IND_IND

[CUSTOMER_EXIT_FOR_EXPORT] ***add***

CLASS=CExitStep ***add***

EXIT=YES ***add***

e) 2un 23S6UP and open D6>PO2)23S) Do not select t&e Perl "ased pac9age splitter) 6xitat t&e customer stop point

f) ;opy t&e ?a(a "ased splitter to t&e 23S6UP install directory) ;opy )6> and )S2 files fromexport dir=QDAA to t&e installation directory) ;onfigure and run t&e ?a(a "ased pac9agesplitter tool) &e pac9age splitter will process t&e 6> and S2 files and rename t&em to )OLDand create new 6> and S2 files)

g) ;opy %igration %onitor to t&e installation directory and run %igration %onitor to export t&esystem

&) 23S6UP and open D6>PO2)23S to continue t&e export steps) &ese steps will generatet&e DSIV6)PL

i) 2un %igration ime AnalyHer to c&ec9 w&ic& pac9ages run t&e longest) ry to optimiHe t&eexport "y starting t&ese pac9ages first using t&e Ordery)txt file

 C) Start a ;%D)6>6 session from t&e QWindowsQsyswow/4 directory and run S6UP)A to install23S6UP on target ser(er) Immediately update t&e D%SSLI)DLL and 23LOAD)6>6

9) %odify D%IG)23S wit& exit point190=DBDBSLTESTCONNECT_NT_IND

200=MIGRATIONKEY_IND_IND

<xx>=CUSTOMER_EXIT_FOR_IMPORT ***add***

210=DBR3LOADEXECDUMMY_IND_IND ***delete***

220=DBR3LOADEXEC_NT_MSS ***delete***

230=DBR3LOADVIEWDUMMY_IND_IND ***delete***

240=DBR3LOADVIEW_NT_IND ***delete***

250=DBPOSTLOAD_NT_MSS

260=DBCONFIGURATION_NT_MSS

[CUSTOMER_EXIT_FOR_IMPORT] ***add***CLASS=CExitStep ***add***

EXIT=YES ***add***

l) 2un 23S6UP and open D%IG)23S) 6xit at t&e customer stop pointm) ;opy t&e export dir= to t&e target system and run %igration %onitor to import t&e system

18 | P a g e

Page 19: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 19/21

n) 2un 23S6UP to continue t&e installation) If 23S6UP fails re(iew note B/74o) 2un %igration ime AnalyHer and re(iew Ordery)txtp) Perform t&e post system copy steps as per t&e 4)/D system copy guide

2. sef!l Oracle )o""an%s

During migrations it may "e useful to c&ec9 &ow t&e export is running wit& some of t&e following

commands-

$5$# $:"!.:/,$:"!.<$&!'=$,"#:=:$&_="/$, h'h_Z'5<$, '//&$,

<_#:=$, $5'$/_#:=$, K5_#$# &"= ZK5'&$' K5'&$', Z$:"! $:"! h$&$

$:"!.K5_h'h_Z'5<$ K5'&$'.h'h_Z'5<$ '!/ $:"!.K5_'//&$

K5'&$'.'//&$ '!/ $:"!.<$&!'=$ : !"# !<55

&e following Oracle command can detect if an indi(idual ta"le is corrupt)ANAQE TABE SAPSR3.@1BAH_WR6_320@ VAI;ATE STRTRE

2E. =ava (@port/&"port ro?le"s

?a(a and AAPR?a(a exports+imports &a(e some uni.ue issues) Some of t&e more common are

documented &ere) Always c&ec9 1781(8 - !"stem Cop" o) !"stems *ased on !+P NW 7.0 /

7.0 P 1-3

:! Z:&#<'5 h"# "& $!#&'5 '!/"& ;B :!#'!$SPTO*"< '&$ <:! Z:&#<'5 h"# !'=$ "& ?"<& $!#&'5 :!#'!$ '!/"& #h$ /'#''$

:!#'!$ ($.. :! ' HA $!Z:&"!=$!#). A5#h"<h SAP:!# :!:h$ <$<55?, "=$

$"&# #$ '&$ !"# $:! $&"&=$/.Th$ "55":! $&&"& =$'$ "<& h$! :# &"=# "& #h$ =:&'#:"! $"&#*"< $!#$&$/* $"&# /:&$#"&? '#h !'5$ #" :!/ ' ABE.AS..( 5""C "& 5'$5 SAP*ILS;*70***)SOTION*S#'&# #h$ $"&# :#h #h$ &"$&#? SAPINST_SE_HOSTNAEZ:&#<'5 h"#.I #h$ $!#&'5 :!#'!$ '!/ #h$ /'#''$ :!#'!$ &<! "! /:$&$!# h"#, &<! #h$

/'#''$ $"&# :#h SAPINST_SE_HOSTNAEZ:&#<'5 h"# !'=$ " #h$ ;B $&Z$& '!/ -: ?"< &<! ' 'Z' "& ABAP'Z' ?#$= - &<! #h$ $!#&'5 :!#'!$ $"&# :#h

SAPINST_SE_HOSTNAEZ:&#<'5 h"# !'=$ " #h$ $!#&'5 :!#'!$ h"#.I ?"< &<! ' $!#&'5 ?#$= :#h /:$&$!# h"# !'=$ :! #h$ &":5$, h'!/5$ #h$

$"&# ' ' /:#&:<#$/ $"&#, '55:! SAP:!# :#h '&'=$#$& SAPINST_SE_HOSTNAE.

P$&"&= #h$ $"&# " #h$ /'#''$ :!#'!$ "! #h$ ;B $&Z$&, '55:! SAP:!# :#h

SAPINST_SE_HOSTNAEZ:&#<'5 h"# " #h$ ;B $&Z$&.I! ' HA SS $!Z:&"!=$!#, !'=$/ '# #h$ W:!/" S$&Z$& &$5$'$ 20082008R HA WFS

(W:!/" F':5"Z$& 5<#$& S$&Z:$), #?:'55? #h$ /'#''$ :!#'!$ : :!#'55$/ "!

#h$ h'&$/ /&:Z$ :#h <$ " Z:&#<'5 h"#, h:5$ #h$ $!#&'5 :!#'!$ : :!#'55$/

"! ' 5"'5 h"#.I! #h: '$, &<! #h$ /'#''$ $"&# :#h SAPINST_SE_HOSTNAEZ:&#<'5 h"# !'=$

" #h$ ;B $&Z$& '!/ - : ?"< &<! ' 'Z' "& ABAP'Z' ?#$= - &<! #h$ $!#&'5:!#'!$ $"&# "! #h$ h"# h$&$ #h$ $!#&'5 :!#'!$ : 5"'#$/, <# :#h"<#

'&'=$#$& SAPNST_SE_HOSTNAE.

 Also c&ec9 SAP $ote 1((874 - Bncomp%ete e6po&t o& ncomp%ete HI< s>tch

30. SQL Server 20; is not availa?le as a DB version in SM&4'8)'(A+(8DDL

S'L Ser(er !074 is not listed in S%IG2@;26A6@DLL

6it&er implement t&e support pac9s in note "elow) If it is not possi"le to upgrade t&e SAP Support Pac9

Stac9 or Cust t&e SAP@ASIS support pac9, t&en export t&e system and select S'L !07!)

1984903 - !<BC+DD@: !A@ !e&,e& 2014 s$ppo&t

3. SA an% Microsoft ill stop s!pporting in%os 2003

Windows !003 ser(er is now o(er 7! years old &as significant performance and relia"ility deficits compared

to modern Windows releases) ;ustomers are ad(ised to stop running SAP systems on Windows !003 as

19 | P a g e

Page 20: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 20/21

soon as possi"le) &e following SAP note strongly ad(ises customers to terminate t&is o"solete Operating

System-

213(423 - !$ppo&t o) !+P P&od$cts on Wndo>s !e&,e& 2003 a)te& 14-H$%-201(

32. Migration to Microsoft AC!re !?lic )lo!%

 AHure pu"lic cloud platform is now fully support and popular platform for many customers, especially

customers wit& large non<production landscapes)

For customers mo(ing from different on<premise "ased OS+D com"inations to Windows * S'L Ser(ert&ere is special guidance-

7) &e 23load "ased export process from U$I> or Linux on<premise is no different

!) &e 23load "ased import process may need to "e &andled in one of ! different ways-

a) If t&e compressed S'L D siHe is =300<00G it is recommended to run t&e import on<

premise on fast modern Intel &ardware) After t&e import is complete a compressed "ac9up

can "e uploaded to AHure and restored and t&e SAP application installed

") If t&e compressed S'L D siHe is relati(ely small, less t&an K300G t&en t&e 23load dump

files can "e uploaded to AHure and imported on AHure E%s directly) It is generallyrecommended to use a DS series E% wit& a P30 Premium Storage dis9 for t&e S'L

transaction log

If low downtime migrations are re.uired, it is recommended to migrate to Windows and S'L Ser(er on<

premise on #yper<E, go li(e in production and use AHure Site 2eco(ery to failo(er to AHure after t&e

data"ase replication &as completed)

6xpress2oute connections "etween on<premise systems and AHure are a t&eoretical maximum of

70G"it+sec) It is not possi"le for any one copy operation to one target in AHure to ac&ie(e t&roug&put of

70G"it+sec &owe(er) &erefore it would not "e possi"le to upload a S'L "ac9up file or 23load dump filesat 70G"it+sec) Upload rates of K!00%"it+sec are ac&ie(a"le)

o upload &uge amounts of data to AHure it is recommended to use t&e AHure Import+6xport Ser(ice 

efore deploying SAP on AHure it is essential to completely re(iew and understand t&e documentation-

.ttp&//(sdn(icrosoftco(/library/dn42asp5

 Additional SAP $otes t&at s&ould "e re(iewed include-

1928(33 - !+P +pp%catons on +=$&e: !$ppo&ted P&od$cts and +=$&e I< t"pes

201(((3 - !+P on <c&oso)t +=$&e: !$ppo&t p&e&eJ$stes

19993(1 - &o$%eshootng nhanced +=$&e <onto&ng )o& !+P

140904 - I&t$a%=aton on Wndo>s: nhanced monto&ng

1380(4 - !+P s$ppo&t n p$%c c%o$d en,&onments

214((37 - !$ppo&t o) !+P *$snessOKects *B p%at)o&m on <c&oso)t +=$&e

 As at April !07 t&e following E% siHes are supported in Production) It is not recommended to attempt to

run or install SAP on siHes smaller t&an t&ose listed "elow as t&ere will li9ely "e errors during installation or

memory exceptions)

>M +#pe >M SiCe SAS Basic/Stan%ar%

  A ! ;PU, 74 G 7,00 Standard

  A/ 4 ;PU, !: G 3,000 Standard

20 | P a g e

Page 21: Oracle to SQL Migration FAQ -V5.3

7/26/2019 Oracle to SQL Migration FAQ -V5.3

http://slidepdf.com/reader/full/oracle-to-sql-migration-faq-v53 21/21

  A5 : ;PU, / G /,000 Standard

  A: + A70 : ;PU, / G 77,000 Standard

  AB + A77 7/ ;PU, 77! G !!,000 Standard

 D77 + DS77 ! ;PU, 74 G !,3! Standard

 D7! + DS7! 4 ;PU, !: G 4,/0 Standard

 D73 + DS73 : ;PU, / G B,300 Standard

 D74 + DS74 7/ ;PU, 77! G 7:,/00 Standard

For current information a"out #ig& A(aila"ility and D2 solutions for AHure deployments please c&ec9&ttp-++"logs)msdn)com+sapons.lser(er+