You are on page 1of 17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

SapHanaTutorial.ComHOMELearningMaterials
HANA

Basics

Administration

SQLScript&Procedure

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

1/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

DataModeling

Cloud
Hadoop

HadoopOverview

MapReduce

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

2/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Yarn
InterviewQ&ACertificationsQuiz

SAPHANAOverview

SAPHANAArchitecture

SAPHANAModelling

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

3/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

SAPHANAStudio

OnlineCourses
HANA

HANABasics

HANAAdvancedModelling

FastTracktoHANA

HANAAdministrationPart1

Hadoop

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

4/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

HadoopBasics

HadoopInstallationonWindows

ForumPuzzles
ExploreTheWorldofHanaWithUs
AboutUs
ContactUs

Home

AboutUs

ContactUs

LearningMaterials

InterviewQ&A

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

5/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Certifications

Quiz

OnlineCourses

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

6/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Apps

Forum

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

7/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Apps

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

8/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

HANAApp

HadoopApp
'

Search
SearchTopics

TopicIndex

SAPHANAInterviewQuestions
ArchitectureandOverview
SAPHANAModeling
SAPHANASLTReplication
SAPHANAStudio
SAPHANAXS
+
HadoopInterviewQuestions
0

Like

55

29

20

Qs.Whatarethedifferenttypesofreplicationtechniques?

Thereare3typesofreplicationtechniques:
1.SAPLandscapeTransformation(SLT)
2.SAPBusinessObjectsDataServices(BODS)
3.SAPHANADirectExtractorConnection(DXC)
Note:ThereisonemorereplicationtechniquecalledSybasereplication.ItwaspartofinitialofferingforHANAreplication,butnotpositioned/supportedanymoreduetolicensingissuesandcomplexityand
mostlybecauseSLTprovidesthesamefeatures.
Qs.WhatisSLT?
TheSAPLandscapeTransformation(LT)ReplicationServeristheSAPtechnologythatallowsustoloadandreplicatedatainrealtimefromSAPsourcesystemsandnonSAPsourcesystemstoanSAP
HANAenvironment.
TheSAPLTReplicationServerusesatriggerbasedreplicationapproachtopassdatafromthesourcesystemtothetargetsystem.

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

9/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Qs.WhatistheadvantageofSLTreplication?
Advantages:
1. SAPLTusestriggerbasedapproach.Triggerbasedapproachhasnomeasureableperformanceimpactinsourcesystem.
2. Itprovidestransformationandfilteringcapability.
3. Itallowsrealtime(andscheduled)datareplication,replicatingonlyrelevantdataintoHANAfromSAPandnonSAPsourcesystems.
4. ItisfullyintegratedwithHANAStudio.
5. ReplicationfrommultiplesourcesystemstooneHANAsystemisallowed,alsofromonesourcesystemtomultipleHANAsystems.

Qs.IsitpossibletouseareplicationformultiplesourcesandtargetSAPHANAsystems?
Yes,theSAPLTReplicationServersupportsboth1:NreplicationandandN:1replication.
MultiplesourcesystemcanbeconnectedtooneSAPHANAsystem.
OnesourcesystemcanbeconnectedtomultipleSAPHANAsystems.Limitedto1:4only.

Qs.Isthereanyprerequisitebeforecreatingtheconfigurationandreplication?
ForSAPsourcesystems:
1. DMISaddonmustbeinstalledinSLTreplicationserver.
2. AnRFCconnectionbetweentheSAPsourcesystemandtheSAPLTReplicationServerhastobeestablished.

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

10/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

3. UserforRFCconnectionmusthavetheroleIUUC_REPL_REMOTEassigned.
4. DonotuseaDDICuserforRFCconnection.
FornonSAPsourcesystems:
1. DMISaddonisnotrequired.
2. AdatabaseuserhastobecreatedwithappropriateauthorizationsinadvanceandestablishthedatabaseconnectionbyusingtransactionDBCOintheSAPLTReplicationServer.
3. EnsurethedatabasespecificlibrarycomponentsfortheSAP7.20RELorEXTkernelareinstalledintheSAPLTReplicationServer.

Qs.WhatisConfigurationandMonitoringDashboard?
ItisanapplicationthatrunsonSLTreplicationservertospecifyconfigurationinformation(suchassourcesystem,targetsystem,andrelevantconnections)sothatdatacanbereplicated.
Itcanalsouseittomonitorthereplicationstatus(transactionLTR).
StatusYellow:Itmayoccurduetotriggerswhicharenotyetcreatedsuccessfully.
StatusRed:Itmayoccurifmasterjobisaborted(manuallyintransactionSM37).
Qs.Whatisadvancedreplicationsettings(transactionIUUC_REPL_CONT)?
TheAdvancedSettings(transactionIUUC_REPL_CONT)allowsyoutodefineandchangevarioustablesettingsforaconfigurationsuchas:
PartitioningandstructurechangesfortargettablesinHANA
Tablespecifictransformationandfilterrules
Adjustingthenumberofjobs(andreadingtype)toacceleratetheload/replicationprocess

Qs.WhatisLatency?
Itisthelengthoftimetoreplicatedata(atableentry)fromthesourcesystemtothetargetsystem.

Qs.Whatisloggingtable?
Atableinthesourcesystemthatrecordsanychangestoatablethatisbeingreplicated.ThisensuresthatSLTreplicationservercanreplicatethesechangestothetargetsystem.

Qs.WhatareTransformationrules?
ArulespecifiedintheAdvancedReplicationsettingstransactionforsourcetablessuchthatdataistransformedduringthereplicationprocess.Exampleyoucanspecifyruleto
Convertfields
Fillemptyfields
Skiprecords

Qs.Whathappenswhenyousetupanewconfiguration?
WhenanewconfigurationintheSAPLTReplicationServeriscreated,thedatabaseconnectionisautomaticallycreatedalongwithaschemaGUIDandMasstransferid(MT_ID).
AschemaGUIDensuresthatconfigurationswiththesameschemanamecanbecreated.
TheMasstransferIDisusedinthenamingofSLTjobsandthesystemcanuniquelyidentifyaschema.
ThemappingofmasstransferIDsandrelatedschemaarestoredintheSLTcontroltableDMC_MT_HEADERintheSAPLTReplicationServer.

Qs.Whatarethejobsinvolvedinreplicationprocess?
Followingjobsareinvolvedinreplicationprocess:
1. MasterJob(IUUC_MONITOR_<MT_ID>)
2. MasterControllingJob(IUUC_REPLIC_CNTR_<MT_ID>)
3. DataLoadJob(DTL_MT_DATA_LOAD_<MT_ID>_<2digits>)
4. MigrationObjectDefinitionJob(IUUC_DEF_MIG_OBJ_<2digits>)
5. AccessPlanCalculationJob(ACC_PLAN_CALC_<MT_ID>_<2digits>)

Qs.Whatisthepurposeofmasterjob(IUUC_MONITOR_<MT_ID>)?
Every5seconds,themonitoringjobchecksintheSAPHANAsystemwhethertherearenewtasksand,ifso,triggersthemastercontroljobs.Italsodeletestheprocessedentries(tasks)fromtable
RS_ORDERandwritesstatisticsentriesintotableRS_STATUS(intherelevantschemaintheSAPHANAsystem).

Qs.Whatisthepurposeofmastercontrollerjob(IUUC_REPLIC_CNTR_<MT_ID>)?
Thisjobisscheduledondemandandisresponsiblefor:
Creatingdatabasetriggersandloggingtableinthesourcesystem
Creatingsynonyms
WritingnewentriesinadmintablesinSLTserverwhenanewtableisloaded/replicated

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

11/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Qs.WhatisthepurposeofDataLoadJob(DTL_MT_DATA_LOAD_<MT_ID>_<2digits>)?
Thisjobshouldalwaysbeactive.Ifthejobdoesnotcompletesuccessfully,themastercontrollerjobrestartsit.
Thisjobisresponsiblefor:
Loadingdata(load)
Replicatingdata(replication)
ChangingstatusflagforentriesincontroltablesintheSAPLTReplicationServer

Qs.WhatisthepurposeofMigrationObjectDefinitionJob(IUUC_DEF_MIG_OBJ_<2digits>)?
Thisjobdefinesthemigrationobjectofaspecifictable(thatyouchoosetoload/replicate),whichisthefundamentalobjectforLTreplication.Themigrationobjectdefinitionshouldnormallybequitefastfor
alltables.

Qs.WhatisthepurposeofAccessPlanCalculationJob(ACC_PLAN_CALC_<MT_ID>_<2digits>)?
Thisjobcalculatestheaccessplanofaspecifictable(thatyouchoosetoload/replicate),andtheaccessplanisusedfordataloadorreplication.Theaccessplanisalsoafundamentalobjectforthe
replication.Foranormalsizedtable,accessplancalculationshouldfinishquitequickly(lessthan1minute)whilelargetablesmighttakeuptoseveralhourstofinish.

Qs.WhatistherelationbetweenthenumberofdatatransferjobsintheconfigurationsettingsandtheavailableBGDworkprocesses?
Eachjoboccupies1BGDworkprocessesinSLTreplicationserver.Foreachconfiguration,theparameterDataTransferJobsrestrictsthemaximumnumberofdataloadjobforeachmasstransferID
(MT_ID).
AmasstransferIDrequiresatleast4backgroundjobstobeavailable:
Onemasterjob
Onemastercontrollerjob
Atleastonedataloadjob
Oneadditionaljobeitherformigration/accessplancalculation/tochangeconfigurationsettingsinConfigurationandMonitoringDashboard.

Qs.Ifyousettheparameterdatatransferjobsto04inaconfigurationSCHEMA1,amasstransferID001isassigned.Thenwhatjobsshouldbeinthesystem?
1Masterjob(IUUC_MONITOR_SCHEMA1)
1MasterControllerjob(IUUC_REPL_CNTR_001_0001)
Atmost4paralleljobsforMT_ID001(DTL_MT_DATA_LOAD_001_01/~02/~03/~04)

Qs.WhathappensaftertheSLTreplicationisover?
TheSLTreplicationservercreates1user,4roles,2storedproceduresand8tables.
1User
1Privilege
4Roles
1. <REPLICATIONSCHEMA>_DATA_PROV
2. <REPLICATION_SCHEMA>_POWER_USER
3. <REPLICATION_SCHEMA>_USER_ADMIN
4. <REPLICATION_SCHEMA>_SELECT
2Storedprocedures
1. RS_GRANT_ACCESS
2. RS_REVOKE_ACCESS
8Tables
1. DD02L
2. DD02T
3. RS_LOG_FILES
4. RS_MESSAGES
5. RS_ORDER
6. RS_ORDER_EXT
7. RS_SCHEMA_MAP
8. RS_STATUS

Qs.Whatarethedifferentreplicationscenarios?
Differentreplicationscenariosare:
Load,Replicate,Stop,SuspendandResume.
Load:
Startsaninitialloadofreplicationdatafromthesourcesystem.Theprocedureisaonetimeevent.Afteritiscompleted,furtherchangestothesourcesystemdatabasewillnotbereplicated.
Fortheinitialloadprocedure,neitherdatabasetriggersnorloggingtablesarecreatedinthesourcesystem.Defaultsettingsusereadingtype3(DB_SETGET)withupto3backgroundjobsinparallelto
loadtablesinparallelorsubsequentlyintotheHANAsystem.

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

12/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

Replicate:
Combinesaninitialloadprocedureandthesubsequentreplicationprocedure(realtimeorscheduled).
Beforetheinitialloadprocedurewillstart,databasetriggerandrelatedloggingtablearecreatedforeachtableinthesourcesystemaswellasinSLTreplicationserver.
Stop:
Stopsanycurrentloadorreplicationprocessofatable.
Thestopfunctionwillremovethedatabasetriggerandrelatedloggingtablescompletely.Onlyusethisfunctionifyoudowanttocontinueaselectedtableotherwiseyoumustinitiallyloadthetableagainto
ensuredataconsistency.
Suspend:
Pausesatablefromarunningreplication.Thedatabasetriggerwillnotbedeletedfromthesourcesystem.Therecordingofchangeswillcontinueandrelatedinformationisstoredintherelatedlogging
tablesinthesourcesystem.
Ifyoususpendtablesforalongtimethesizeofloggingtablesmayincreaseandadjustthetablespaceifrequired.
Resume:
Restartstheapplicationforasuspendedtable.Theprevioussuspendedreplicationwillberesumed(nonewinitialloadrequired).

Qs.WhathappensifthereplicationissuspendedforalongperiodoftimeorsystemoutageofSLTorHANAsystem?
Thesizeoftheloggingtablesincreases.

Qs.Howtoavoidunnecessarylogginginformationfrombeingstored?
Pausethereplicationbystoppingtheschemarelatedjobs.

Qs.WillthetablesizeinSAPHANAdatabaseandinthesourcesystemthesame?
No.
AsHANAdatabasesupportscompression,thetablesizeinSAPHANAmaybedecreased.

Qs.Whentogofortablepartitioning?
IfthetablesizeinHANAdatabaseexceeds2billionrecords,splitthetablebyusingportioningfeaturesbyusingAdvancedreplicationsettings(transactionIUUC_REPL_CONT,tabpage
IUUC_REPL_TABSTG).

Qs.Wheredoyoudefinetransformationrules?
ByusingAdvancedreplicationsettings(transactionIUUC_REPL_CONT,tabpageIUUCASSRULEMAP)

Qs.ArethereanyspecialconsiderationsifthesourcesystemisnonSAPsystem?
TheconceptoftriggerbasedreplicationisactuallymeantforSAPsourcesystems.
IncaseofnonSAPsystem,followingpointsshouldbekeptinmind:
TherewillbeadatabaseconnectionbetweennonSAPsourceandSLTsysteminsteadofRFC.
Sourcemusthaveprimarykey
TablesDD02L,DD02Twhichcontainsmetadataarejustinitiallyloadedbutnotreplicated.
ThereadmodulesresideonSLTsystem.
Tableswithdatabasespecificformatsmayneedtransformationrulesbeforetheyarereplicated.
OnlySAPsupporteddatabasesaresupportedasnonSAPsourcesystems.

Qs.DoesSLTforSAPHANAsupportdatacompressionlikeSAPHANAdatabase?
Yes,thisisautomaticallycoveredbytheRFCconnectionusedfordatareplicationfromtheSAPsourcesystem.

ICICI Lombard Online

Get Free Quick Quotes on Health, Motor & Travel Insurance. Buy Now!

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

13/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

AskTheExperts

Medical
Universities
FindEducation
InformationHereat
Local.com!
www.local.com

BestLaptop
Deals
Checkoutthebest
dealsonLaptops
prestodeals.com

Auto
Accessories
Goodquality
Online

accessoriesat
affordableprices
prestodeals.com

BestPrice
Appliances
ChooseCompareand
Shopbestappliances
prestodeals.com

WhatPeopleSayAboutUs
Aresourcefulwebsiteandthebestpartishanaonlinecoursesareofferedfreeofcost

TanmoyDeb
AverygoodsiteforlearningSAPHANA

ArindamChoudhury

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

14/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

15/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

ExploreMore

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

16/17

5/6/2015

SAPHANAInterviewQuestionsSLTReplication

2015 : saphanatutorial.com, All rights reserved.

http://saphanatutorial.com/saphanainterviewquestionssltreplication/

PrivacyPolicy

17/17