OWB试验手册6.docx
《OWB试验手册6.docx》由会员分享,可在线阅读,更多相关《OWB试验手册6.docx(25页珍藏版)》请在冰点文库上搜索。
OWB试验手册6
装载目标数据库
一、LoadingtheTargetWarehouseUsingProcessFlows
Toloaddataintothetargetdimensionsandcube,youneedtoexecutetheprocessflow.Theprocessflowautomaticallyinvokesthemappingstoloadthedimensionsandthecube.
Toexecutetheprocessflow,performthefollowingsteps:
1.
FromtheToolsmenu,selectControlCenterManager.IntheControlCenterManagerconsole,expandWH_OWF_LOCATION,expandMY_PF_MODULE,andthenexpandPK.SelectLOAD_EXPENSE_WH.
Toexecuteaprocessflow,youcaneitherselectStartfromtheFilemenuorclicktheStart(
)buttononthetoolbar.
2.
WhenyouclicktheStartbutton,theControlCenterJobspanelswitchestotheExecutiontab.Youcanmonitortheexecutioninthispanel.Theexecutionsareperformedasynchronously,whichmeansthatyoucanclosetheControlCenterandOWBClientwhileyourProcessFloworMappingisbeingexecuted.
Toviewtheexecutiondetails,double-clickLOAD_EXPENSE_WHintheJobcolumnoftheControlCenterJobspanel(highlightedinthescreenshot).
IntheLOAD_EXPENSE_WHdialogbox,clicktheExecutionResultstabandmonitorRowActivity.Youcangetacountofhowmanyrowswereinsertedinrespectivedimensionsandthecube.
FromtheFilemenuoftheLOAD_EXPENSE_WHdialogbox,selectClose.FromtheFilemenuoftheControlCenterManager,selectClosetoexit.
Onsuccessfulexecutionoftheprocessflow,allthedimensionsandthecubearenowloadedwithdata.
ViewingDataintheDataViewer
YoucanviewthedataloadedinthedimensionsandthecubefromwithintheOracleWarehouseBuilderdesignclientenvironmentbyusingtheDataViewer.
1.
ToviewREL_TIMEdata,expandDimensionsunderEXPENSE_WH.Right-clickREL_TIMEandselectData.
NotethatthetimedataisbasedonthestandardCalendarhierarchyrangingfromtheyear2003forthreeyears,asyouhadselectedduringthedesignoftheREL_TIMEdimension.
2.
Similarly,toviewREL_CATEGORYdata,right-clickREL_CATEGORYandselectData.
3.
ToviewREL_EXPENSEcubedata,expandCubesunderEXPENSE_WHandright-clickREL_EXPENSE.SelectData.
二、ManagingMetadataUsingtheDependencyManager
OracleWarehouseBuilderprovidesagraphicalinterfacethatdisplayshowchangesinyoursourcesimpactthedesignmetadatainyourrepository.ThisgraphicalinterfaceistheDependencyManager.TheDependencyManagerenablesyoutodeterminetheimpactofthechangesmadetotheobjectdefinitionsorthemetadataintheWarehouseBuilderrepository.
Thesechangesmayoccurwhenyoureimportsourcemetadata,whenyoumakechangestothedefinitionsaccordingtoend-userorexternalrequirements,orifyourtargetsystemischanging.InallsuchcaseswhereachangehasbeenmadetothemetadatainyourWarehouseBuilderrepository,theDependencyManagerhelpsyouanalyzeandresolvetheimpactfromthechanges.
Forexample,intheEXPENSE_WHscenario,allthesourcedataiscomingfromthetwoflatfiles.Ifyouwanttoaddacolumntooneoftheflatfiles,youwouldwanttoknowwhatimpactithasonthedesignofallthewarehouseobjects.
Youperformimpactanalysisfortheexport_csvflatfile.
1.
ExpandtheOWB_DEMOproject,andthenexpandtheFilesnode.ExpandSOURCEandright-clickEXPORT_CSV.Fromthemenu,selectImpact.
Note:
TheinteractiveimpactandlineageanalysisisavailableinEnterpriseETLoptionofOWB10gR2.
TheMetadataDependencyManageropens.TheDependencyManagerdisplaystheinitialstructuralimpactgraphfortheflatfile.Itdisplaysalltheobjectsthathaveastructuraldependencyontheexport_csvflatfileandare,therefore,impactedbythechange.
Fromthefirstviewofthedependencydiagram,youunderstandthatanychangeintheexport_csvfileimpactstheEXPENSE_DATAexternaltabledirectlyandalsoimpactstheREL_EXPENSEcubeindirectly.
2.
The(+)signtotheleftofeachoperatorgivesthedependencydetailfromthelineageperspective.Itshowsthedetailsofalltheobjectsthattheobjectrelieson,whereasthe+signontherightoftheoperatorprovidesdetailsoftheobjectsthatwillbeimpactedasaresultofchange.
Forexample,ifyouclickthe+signtotheleftoftheREL_EXPENSEcubeoperatorinthegraph,yougetanexpandedgraph.
ThegraphdepictsthattheREL_EXPENSEcubeisgettinginputsfromtheREL_CATEGORYandREL_TIMEdimensionsandalsofromtheREL_EXPENSEtable.
Themappingsymbol(the
icondenotescollapsedmappingpiece)alsodepictsthattheREL_EXPENSEcubeisassociatedwiththeEXPENSE_DATAexternaltablethroughamapping.
3.
Double-clickthe
icon(collapsedmappingpiece)betweentheEXPENSE_DATAexternaltableandtheREL_EXPENSEcubetoviewthemapping.
ThecollapsedmappingpieceexpandsintoREL_EXPENSE_MAPmapping,whichshowsthedataflowbetweentheEXPENSE_DATAexternaltableandtheREL_EXPENSEcube.
ThemappingdepictsthatthedatafromtheEXPENSE_DATAexternaltableisbeingprocessedbyanexpressionoperatorandloadedintotheREL_EXPENSEcube.
4.
Tofindoutexactlywhichattributesarebeingprocessedbytheexpressionoperator,youcandrilldowntoattributelevelimpactanalysis.
Forattributes-levelanalysis,double-clicktheexpressionoperator.Double-clickEXPENSE_DATAandREL_EXPENSEinsidethemappingboxtoviewtheinputandtheoutputattributes.
Thescreenshotshowsaportionofthedependencydiagram.
FromtheAnalysismenu,selectClosetoexittheDependencyManager.
Therefore,thedependencydiagramenabledyoutoeasilytraceandanalyzetheimpactandlineageofasourceflatfileintheEXPENSE_WHscenario.
三、AdministeringtheWarehouseUsingtheRepositoryBrowser
YoucanuseOracleWarehouseBuilderRepositoryBrowser,anHTML-basedinterface,toviewandgeneratereportsonallrepositorymetadataobjectsandtherelationshipsbetweenthoseobjects.
YoucanusetheRepositoryBrowserasastand-alonecomponent.Ifyouwantremoteaccesstotherepositorymetadataobjects,youcanusethePortalversion—theversionofWarehouseBuilderRepositoryBrowserthatisintegratedwithOracleApplicationServer.
Afteradatawarehouseisfunctional,itneedstobeadministeredandthatinvolvestaskssuchasmonitoringthedetailsofthedeploymentandexecutionjobs.OthertasksincludeexaminingtheeffectofmetadatachangesthroughImpactandLineageanalysisandmonitoringtheexecutionschedulesofthemappingsfordatarefreshinthetargetwarehouse.
YounowgetanoverviewofvariousreportsthatyoucanviewintheRepositoryBrowser.
Tostartthestand-aloneversionoftheRepositoryBrowser,youneedtofirststarttheOWBBrowserListener.
1.
TostarttheOWBBrowserListener,fromyourDesktop,selectStart>Programs>{yourOracle-OWB10gR2clientHome}>WarehouseBuilder>Administration>StartOWBBrowserListener.Acommandwindowappears.
Amessagereading"...OracleApplicationServerContainersforJ2EE10g(9.0.4.0.0)initialized"appearsinthewindow,asshowninthescreenshot.Now,youarereadytologintotheunifiedrepositoryandviewtherepositorymetadata.
YouonlyneedtorunoneinstanceofOWBBrowserListenerinyourenterprise.Then,anyonewiththelogincredentialsandaWebbrowsercanaccessOWBRepositoryReports,withouttheneedtohaveOWBClientinstalled.
Donotclosethewindow;minimizeit.
2.
TostarttheRepositoryBrowser,fromyourdesktop,selectStart>Programs>{yourOracle-OWB10gR2clientHome}>WarehouseBuilder>RepositoryBrowser.
AbrowserwindowwiththefollowingURLappears:
http:
//127.0.0.1:
8999/owbb/RABLogin.uix?
mode=design&def_host=&def_port=1521&def_service=&def_net_service=
3.
Ontheloginpage,enterthefollowinginformation:
Username:
rep_owner
Password:
rep_owner
Hostaddress:
localhost
HostPortNumber:
1521(alreadyset)
HostServiceName:
orclor
ClickLogin.
Thefollowingscreenappears.
TheControlCenterreportsarecategorizedintodeployment,execution,andmanagementreports.Beforeyouexaminethecontrolcenterreports,youwillexaminethedesignrepository.InRelatedLinks,clickDesignRepository:
Navigator.Thefollowingscreenappears:
IntheNavigator,youcannavigatetoyourprojectsintheUnifiedRepositoryandexplorethedetailsoftheobjectsinsidetheproject.Therep_ownerrepositoryisshowninthetable(highlightedinthescreenshotbyaredrectangle).
4.
Expandrep_owner,andthenexpandOWB_DEMO.Youwillgetaviewofallthemodules.ExpandEXPENSE_WHandyougetalistingofalltheobjectscontainedinthemodule.
Youcandrilldownfurtherbyexpandingeachoftheobjectnodes.ExpandEXPENSE_CATEGORIES.Thecolumnsoftheexternaltableareshown.
5.
IfyouwanttobrowseControlCenterreports,youdonotneedtoaccesstheloginpageagain.
ToswitchovertoControlCenterReports,scrolldownonthesamepageandclickControlCenter:
ReportsintheRelatedLinkssectionatthebottomofthepage,asshowninthescreenshot.
Thefollowingscreenappears.
Ifyouwanttoknowthecurrentdeploymentstatusofalltheobjects,clicktheObjectSummaryReportlink(highlightedinthescreenshot)intheDeploymentsectionoftheReportspage.
6.
IntheObjectSummaryReport,youseeusefuldeploymentdetailsofeachobject.Forexample,yougettoknowthatREL_EXPENSEcubewasdeployedtoEXPENSE_WH_LOCATIONon31stDecember2005at6.28p.m.andthattheobjectstatusisvalid.
Youcandrilldownfurtherintodeploymentdetailsbyclickinganyofthelinks.
ScrolluponthesamepageandclickExecutionSummaryintheAvailableReportssectionattheupper-rightcorner,highlightedinthescreens