Aggregates Using Aggregate Persistence Wizard in Oracle BI 11g

  • Upload
    balu

  • View
    19

  • Download
    0

Embed Size (px)

DESCRIPTION

Aggregates Using Aggregate Persistence

Citation preview

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 1/16

    BIApps(OnlineSupportAvailable)

    OracleBISolutions

    Friday,May24,2013

    CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    ThistutorialshowsyouhowtocreateandmodelaggregatetablesusingtheAggregatePersistenceWizard.Datawarehouseperformancebottlenecksareoftenduetomeasureaggregation(forexample,summingordersatdifferentlevelsofadimensionalhierarchy)thatisbeingperformedatruntime.Havingidentifiedcandidateaggregatetablesforinclusioninyourdatawarehouse,youusetheAggregatePersistenceWizardtocreateandmodelaggregatestorelievethebottleneckandprecalculateandstorethedataforbetterqueryresponse.WhenyouusetheAggregatePersistenceWizardtocreateaggregates,itisimportantthatyouhaveafullyfunctionalbusinessmodel,withacompletesetofmeasures,dimensions,andhierarchies.Beforebuildingtableswiththewizard,youshouldhaveconceptuallydesignedthedesiredsetofaggregatesonpaper.Theconceptualdesignshouldincludethesetofaggregatestarsbyname,thesetoffactsineachstar,andthedimensionalityandgrainofeach.Tohelpyouindesigningaggregates,youcanenableusagetracking.Whenusagetrackingisenabled,theOracleBIServercollectsusagetrackingdataforeachquery,anditinsertsthestatisticsdirectlyintoadatabasetable.Usagetrackingisalsohelpfulindeterminingwhichuserqueriesarecreatingperformancebottlenecks,basedonqueryfrequencyandresponsetime.Tolearnhowtosetupusagetracking,youcangothroughthetutorialonSettingUpUsageTrackinginOracleBI11g.Youshouldalsodeterminethedatabasewheretheaggregatesaretobedeployedin.Thisisusuallytheexistingdatabasethatcontainsthebasetablesthatarebeingaggregated.However,thetablescanbeplacedinadifferentdatabase.TheseminimumrequirementsforthelogicalandphysicaldesigndetailsaresufficienttocreatethetableswiththeAggregatePersistenceWizard.YoucouldusetheModelCheckertoseeifthereareanyerrorsinthemodel.

    Beforestartingthistutorial,youshould:

    HaveaccesstoorhaveinstalledOracleDatabase11.2orhigher

    HaveaccesstoorhaveinstalledOracleBIEE11.1.1.7OBIEE

    DownloadtheSamplerpdfromhere.

    HaveSampleAppsrpdrunninginonlinemode.

    SettingUptheDataSchemainOracleDatabase

    TocreatetherequiredtablespaceandBISAMLE_EXAuser(replacepathstoappropriatevaluesonyourenvironment)executethefollowingSQLstatements:

    1. createtablespaceBISAMPLE_EXAdatafile'\home\oracle\app/oracle\oradata\orcl\bisample_exa.dbf'size10MautoextendondefaultcompresscreatetemporarytablespaceBISAMPLE_EXA_TEMPtempfile'\home\oracle\app\oracle\oradata\orcl\bisample_exa_temp.dbf'size10Mautoextendon

    2. createuserBISAMPLE_EXAidentifiedbyBISAMPLE_EXAdefaulttablespaceBISAMPLE_EXAtemporarytablespaceBISAMPLE_EXA_TEMPgrantdbatoBISAMPLE_EXA

    3. Copythedumpfilefromhere.Unzipandcopyovertoyourdatabasemachine.LogintoBISAMPLE_EXAschemaandcreateadirectoryobjecttopointtothedirectorywhereyouvecopiedthisfile.ExecutetheSQLstatement:Createorreplacedirectorysampleappas'C:\bisample_exa'

    4.OpenWindowscommandandnavigatetothedirectorycontainingbisample_exa.dmpfile.Importthedumpusingthefollowingcommand:impdpBISAMPLE_EXA/BISAMPLE_EXAdirectory=sampleappdumpfile=bisample_exa.dmpschemas=bisample_exa

    Overview

    Prerequisites

    Search This Blog

    OBIEE & BI Apps Certified Specialist

    Total Pageviews

    1 0 8 6

    Follow

    Viewmycompleteprofile

    About Me,I am Kishore Uppalapati,Working onOBIA,BIPublisher,Hyperion,Informatica,Dac,EBS

    Home

    Oracle Business Intelligence Applications

    2013(629)November(8)

    October(1)

    July(4)

    June(9)

    May(15)OBIEE11gUpgradefrom11.1.1.6.Xto

    11.1.1.7on...

    OBIEE11gUpgradingOBIEE11gto11.1.1.7inWind...

    CreatingAggregatesUsingAggregatePersistenceWi...

    CreatingBIPublisherReportswithOTBISubjectAr...

    HyperionCreatingCorporateWorkspacePages

    OBIEE11gMBeanattributeaccessdenied.

    OBIEE11gSettingtheDefaultDashboard

    OBIEE11gIntegratingwithEPMworkspaceinhype...

    ResetforgottenpasswordinOBIEE11GRPD

    UpgradeOldnestedfoldersusingtheConvertPrese...

    OBIEE11GIntegrationWithSmartView

    Blog Archive

    0 More NextBlog

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 2/16

    5.Onceimported,logintoBISAMPLE_EXAschemaandverifyalltablesarecreatedandloaded(SAMP_REVENUE_Ftableshouldhave5millionrows)

    6. DownloadthetutorialSampleApp30212AforAPrpdfromhereandmakeitonline.ThisisaSampleAppsrpdmodifiedforthistutorial.Forthetutorial,BSampleSalesExasubjectareawillbeused.EnterAdmin123astheRepositorypassword.

    7. Createaquerywiththefollowing:

    Time.T02PerNameMonth

    Products.P4Brand

    Offices.D4Company

    CreateRep...

    OBIEE11GandSmartViewintegrationOracleBIOf...

    OBIEE11GintegrationwithSmartViewAccessOBIE...

    OBIEE11gDropdownreports

    OBIEE11gAddGoogleSearchonthedashboardpage...

    April(23)

    March(43)

    February(73)

    January(453)

    2012(163)

    BIPublisher(19)

    DAC(51)

    DataWarehouse(4)

    Hyperion(27)

    Informatica(40)

    OBIEE(500)

    ODI(3)

    OracleApplicationsEBS12.1.3

    OracleDatabase(14)

    OWB(7)

    PL/SQL(80)

    SQL(51)

    Unix/Linux(2)

    Labels

    SelectLanguage

    Poweredby Translate

    Translate

    SQLQueryandAnswersHereIamsharingthesetofSQLQuerieswithAnswerswhichIhaveprepared.WorkinginOBIEEandindatabaseItisgoodknowabouttheb...

    HyperionEssbaseInterviewQuestionsHyperionEssbaseInterviewQuestionsarethetwostorageoptionsavailableinEssbaseandwhatarethedifferences?Ans...

    OBIEE11gCreatingAnalysesandBuildingDashboards11.1.1.6.2PurposeInthistutorial,youwilllearnhowtobuild,format,andcustomizeOracleBusinessIntelligence(BI)analysesandhowtocrea...

    OBIEE11gImportantPathDirectoriesStartBIServices(parameter:start_all)\instances\instance1\bifoundation\OracleBIApplication\coreapplication\StartStopServic...

    OBIEE11gCustomHTMLAndJavaStylesDashboardPromptExpandlimitonDropdownvalues.AmmendInstanceconfig.xmlwhichislocatedinthe

    OracleBIData\Web\ConfigF...

    Popular Posts

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 3/16

    BaseFacts.1Revenue

    BaseFacts.2BilledQuantity

    BaseFacts.3DiscountAmount

    BaseFacts.4PaidAmount

    8. ClickResults.

    9. Notehowlongittakesforthequerytoreturntheresults.

    CreatingtheAggregates

    Inthistopic,youunderstandtheroleandfunctionoftheAggregatePersistenceWizardincreatingandmodelingaggregatestoresolvequerybottlenecks.Aggregatetablesstoreprecomputedresults,whicharemeasuresthathavebeenaggregated(typicallysummed)overasetofdimensionalattributes.Usingaggregatetablesisaverypopulartechniqueforspeedingupqueryresponsetimesindecisionsupportsystems.Thiseliminatestheneedforruntimecalculationsanddeliversfasterresultstousers.Thecalculationsaredoneaheadoftimeandtheresultsarestoredintables.Aggregatetablesshouldhavefewerrowsthanthenonaggregatetablesand,therefore,processingshouldbequicker.TheaggregatenavigationcapabilityofOracleBIServerallowsqueriestousetheinformationstoredinaggregatetablesautomatically,withoutqueryauthorsortoolshavingtospecifyaggregatetablesinthequeries.OracleBIServerallowsuserstoconcentrateonaskingtherightbusinessquestions,becausetheserverdecideswhichtablesprovidethefastestanswers.ForOracleBIServertohaveenoughinformationtonavigatetoaggregatetables,certainmetadataintherepositorymustbecorrectlyconfigured.ThetraditionalprocessofcreatingaggregatesforOracleBIServerqueriesismanual.Itcanbetedious,requiringcomplicateddatadefinitionlanguage(DDL)anddatamanipulationlanguage(DML)scriptstobewrittenforcreatingtablesinthedatabasesinvolved.Additionally,theseaggregatedtablesneedtobemappedtotherepositorymetadatatobeavailableforqueries.Thisisatimeconsumingand,possibly,errorproneprocess.TheAggregatePersistenceWizardenablesyoutoautomatethecreationofphysicalaggregatetablesandtheircorrespondingobjectsintherepository.TheAggregatePersistenceWizardcreatesanOracleBIEnterpriseEditionSQLscript,whichisexecutedbytheBIServer.Thescriptspecifieseachaggregatetabletobecreated,thefactsfromthebusinessmodelthatshouldbeincludedinit,anditsdimensionsandgrain.WhentheBIServerrunstheaggregatepersistenceSQLscript,itgeneratesDDLtocreatetherequiredtablesinthetargetdatabase,internalinstructionstogeneratethecorrespondingphysicalandaggregatenavigationmetadata,anddatamanipulationlanguage(DML)toaggregateandloaddatafromthebasetablesintotheaggregatetables.Theaggregatepersistencescriptisintendedtoberunaftereachextraction,transformation,andloading(ETL)ofthebasetables,typicallynightly.ThiscanbedonebyanOracleBIEEJobManagerjob,oritcanberunasa.batoranyotherscriptcalledbyacustomprogram.ThedefaultprefixSA_isautomaticallyaddedtodimension(level)aggregates.YoucanchangethisdefaultprefixbyupdatingtheAGGREGATE_PREFIXparameterintheAGGREGATE_PERSISTENCEsectionoftheNQSConfig.INIfile:AGGREGATE_PREFIX="prefix_name"Inthistopic,youusetheAggregatePersistenceWizardtocreateandmodelaggregatetablestosupportqueryperformance.Theconceptualdesignofyouraggregatestarincludesthefollowingcharacteristics.Measures Dimension/Grain SourceDatabase

    BaseFacts.1Revenue",2BilledQuantity",3DiscountAmount,4PaidAmount

    Products/P4BrandTime/T02PerNameMonth"Office/"D4Comapny"

    BISAMPLE_EXA

    1.OpenSampleApp30212forAP.rpdinonlinemodeinBIAdministrationTool.EnterAdmin123astheRepositorypassword.Entertheuseridandpasswordforyourinstallation.ForthistutorialwewilluseasUserweblogicandPasswordwelcome1.MakeanoteoftheODBCdatasourcename.Inthisexampleitiscoreapplication_OH1291352497.

    2. ClickFile>CheckGlobalConsistency.

    DoingaConsistencyCheck

    OBIEEExecutingStoredProcedures/FunctionsbeforeReportsBeforeReportTriggersandGlobalTemporaryTablesBasicallytheideaistoexecuteastoredprocedurejustbeforerunningareport.Thisstoredprocedurewouldbasicallypopulatethetemp...

    [OBIEE11g]HardwareRequirementsandPerformanceTuningfor(OBIA)OverviewWithinthepastdecadeorso,OracleBusinessIntelligenceEnterpriseEdition(OBIEE)hasbecomeapseudostandardforrep...

    UsingaFILTERFunctionInsteadofCASEStatementsOBIEEalternativetheFILTERfunction.statements,youcanusetheFILTERfunctiontobuildalogicalcolumnexpression.

    ExploringAdvancedFeaturesofOracleBIPublisherOverviewTheGettingStartedwithOracleBIPublisherOBEcoveredtheregularfeaturessuchascreatingreportsfromvariousdatasou...

    VariablePromptValuewithinReporttitleinOBIEE11gWorkingWithVariables.ReferencingaVariableinaTitleViewQuickReferenceonVariables

    CallSyntax...

    Visitors map

    I

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 4/16

    3. TheConsistencycheckisdone.

    4.OncetheconsistencycheckiscompleteConsistencyCheckManagerwindowisopened.Makesuretherearenoerrors.CloseConsistencyCheckManagerandsavetherpd.Ifthereareanyerrors,pleaseremovetheerrors.

    YoucanuseModelCheckManagertocheckyourrepositorymetadataforissuesthatmightaffectthesuccessoftheaggregatepersistenceengine,suchasidentifyinglevelprimarykeysthatarenotunique.AlthoughtheuserexperienceofrunningModelCheckManagerisverysimilartorunningtheConsistencyCheckManager,therearethreekeydifferencesbetweenthetwotools:

    UnliketheConsistencyCheckManager,ModelCheckManagerrequiresaccesstobackenddatasourcesforsomechecks.Becausesomeofthebackendqueriescanbeexpensive,itisrecommendedtorunModelCheckManagerduringoffpeakperiods.

    ModelCheckManagercanonlyberuninonlinemode.

    ModelCheckManagerdoesnotmakeanychangestorepositorymetadataitonlyflagspossibleproblems.

    SimilartotheConsistencyCheckManager,ModelCheckManagerreturnsbotherrorandwarningmessages.YoumustfixerrorsidentifiedbyModelCheckManager,ortheaggregatepersistenceenginemightfailtocreateaggregates.Itisrecommendedthatyoufixwarnings,butnotrequired.RunModelCheckManagerrightbeforeyouruntheAggregatePersistenceWizard.Alternatively,youcanrunModelCheckManagertoidentifyproblemsforselectedobjectsafterinitialaggregatecreationfailure.IfthereareerrorsinModelChecker,makesuretheyarenotrelatedtothedimensionsyouareselectingtobuildtheaggregate.SincetherpdforthistutorialisamodifiedversionofSampleAppsrpd,runtheModelCheckerforthedimensionsthatwillbeusedforthistutotrial.TorunModelCheckManagerforthedimensionsperformthefollowingsteps:

    1. IntheBusinessModelandMappingLayer,selecttheD0Timedimensionin01SampleAppExabusinessmodel.Rightclickand

    RunningtheModelChecker

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 5/16

    selectCheckModel.

    2.ModelCheckerhasthefollowingtwooptions:

    Complete:ChecksallobjectsintheBusinessModelandMappinglayeroftheOracleBIrepository.

    FilteredbyStatistics:ChecksonlyfacttableobjectsandassociateddimensionsintheBusinessModelandMappinglayerthathavebeenactivelyqueriedaccordingtothestatisticstable.Selectthisoptiontospeeduptheprocessforlargerepositories.ThisoptionisonlyavailableontheOracleExalyticsMachine.IfyouattempttofilterbystatisticsonanonExalyticssystem,orifyouattempttofilterwhenthestatisticstableisnotavailable,awarningappearsexplainingthatModelCheckManagercannotfilterbystatistics.

    3. ClickComplete.WhencompleteModelCheckerManagerwindowwillshowalltheerrors,ifany.Makesuretherearenoerrors.CloseModelCheckerManager.

    4. SimilarlyruntheModelCheckerfortheProductandOfficedimensions.Ineachcase,makesuretherearenoerrors.CloseModelCheckerManager.

    1. SelectTools>Utilitiesfromthemenubar.

    UsingtheAggregatePersistenceWizard

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 6/16

    2. FromtheUtilitieswindowsselectAggregatePersistenceandclickExecute.TheAggregatePersistencewizardopens.

    3. IntheAggregatePersistenceSelectFileLocationwindowenterthenameoftheSQLscriptfileasaggregate.sql.Enterthefolderwherethisfilewillbeplaced.ClickNext.

    4. IntheAggregatePersistenceSelectBusinessMeasureswindow,selectthesubjectarea01SampleAppExaandfollowingmeasuresfromtheF0SalesBaseMeasurestable:

    1Revenue2BilledQuantity3DiscountAmount4PaidAmount

    ClickNext.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 7/16

    5. IntheAggregatePersistenceSelectLevelswindow,selectdimensionH0Time.Month,H1Products.ProductBrand,andH3Offices.Company.ClickNext.

    6. IntheAggregatePersistenceSelectConnectionPoolwindow,selectthedatabaseas02SampleAppExaData(ORCL).MakesureyouselecttheOracledatabase(ORCL)andnotEssbase(ESSB).SelectCatalog/Schemaas02SampleAppExaData(ORCL)>BISAMPLE_EXA.SelecttheConnectPoolExaSampleConnection.Changethedefaultaggregatetablenametoag_BISAMPLE_EXA.ClickNext.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 8/16

    7. IntheAggregatePersistenceFinishwindow,checkthescript.SelectIamdoneandclickNext.

    8. IntheAggregatePersistenceFinishScriptwindow,checkthatthescriptiscreatedandplacedinthespecifiedfolder.ClickFinish.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 9/16

    9.Opentheaggragate.sqlscriptfileineditmode.Checkthescript.

    1.Openacommandwindow.Changedirectorytoc:\bi\instances\intance1\bifoundation\OracleBIApplication\coreapplications\setup.Yourenvironmentmayhaveadifferentpath.Enterandrunbiinitinthecommandwindow.

    2. Asecondwindowopens.Atthepromptinthesecondcommandwindow,enter:nqcmddcoreapplication_OH1291352497uweblogicsc:\temp\aggregates.sqldIstheODBCdatasourcenamefortheOracleBIServertowhichyouwanttoconnect.uUsernamesSQLscriptfileyoucreatedusingtheAggregatePersistencewizard.Forthistutorialitisc:\temp\aggregate.sql

    3. Enterwelcome1asthepasswordandpressEnter.

    4.WaittillyougetStatementexecutesucceededmessage.

    RunningnqcmdinCommandLine

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 10/16

    YoucompletedrunningthenqcmdcommandforcreatingaggregateswithAggregatePersistenceWizard..Note:Ifthestatementexecutionfailed,makesureyoudonothaveanysummarytablesinthedatabase,BusinessModellayer,andinthePhysicallayerforthedimensionsyouareusing,priortorunningthenqcmdcommand.YoucanusetheDeleteaggregatescommandtodeletethem.

    VerifyingthattheAggregateswereSuccessfullyCreated

    Inthissectionyouwillcheckwhetheralltheaggregatesweresuccessfullycreated.

    1. CloseandopentheBIAdministrationToolinonlinemode.InthePhysicalLayer,ensurethattheaggregateswerecreatedinBISAMPLE_EXAschema.Thereshouldbeonenewag_BISAMPLE_EXAaggregatetablewiththecolumnsyouselectedforaggregation.

    2. ScrolldownthePhysicalLayerandyoushouldhavethreedimensionaggregatestablesbeginningwithSA_.Oneforeachdimensionselected.

    VerifyingtheAggregatesinPhysicalLayer

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 11/16

    3. ViewcompanynamesfromOfficesdimensionaggregatetable.Checkoutobjectswhenprompted.

    4. UpdaterowcounttoseethenumberofrowsforFactaggregate.Thereare648rowsinthetable.Checkoutobjectswhenprompted.

    5. Updaterowcountsforallthenewaggregatesandyoushouldseethefollowingrowcount.Checkoutobjectswhenprompted.ag_BISAMPLE_EXA684rowsSA_Month*79SA_Product*9SA_Offices*3

    6. Doubleclickag_BISAMPLE_EXAtoopenthephysicaldialogbox,clicktheForeignKeystab.Verifythatthejoinsarecreatedbetweenag_BISAMPLE_EXAandthethreedimensionaggregates.

    7. Doubleclicktheforeignkeyforthemonthdimension,toviewtherelationshipinthePhysicalForeignKeydialogbox.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 12/16

    8. Doubleclicktheforeignkeyfortheproductbranddimension,toviewtherelationshipinthePhysicalForeignKeydialogbox.

    SimilarlyyoucancheckforOfficeCompany.

    1. InBusinessModelandMappingLayer,openSourcesfolderfor01SampleAppExa.F0SalesBaseMeasuresandconfirmthatanewlogicaltablecalled02SampleAppExaData(ORCL)_BISAMPLE_Exa_ag_BISAMPLE_EXAiscreated.

    2.OpenSourcesfolderforD0Timedimensionandconfirmthatanewlogicaltablecalled01SampleApp_ExaData(ORCL)_BISAMPLE_EXA_SA_Monthxxxxxxxiscreated.

    3.OpenSourcesfolderforD1Products(LevelBasedHier)dimensionandconfirmthatanewlogicaltablecalled01SampleAppData(ORCL)_BISAMPLE_SA_Productxxxxxxxiscreated.

    VerifyingtheAggregatesintheBusinessModelandMappingLayer

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 13/16

    4.OpenSourcesfolderforD3Officesdimensionandconfirmthatanewlogicaltablecalled02SampleAppExaData(ORCL)_BISAMPLE_Exa_SA_Officesxxxxxxxiscreated.

    5. Doubleclickthe01SampleAppData(ORCL)_BISAMPLE_ag_BISAMPLElogicaltablesource.ClickCheckOut.IntheGeneraltabandconfirmthatthe02SampleAppExaData(ORCL)_BISAMPLE_Exa_ag_BISAMPLE_Exalogicaltablesourcemapstothe02SampleAppExaData(ORCL).._BISAMPLE_Exa.ag_BISAMPLE_Exaphysicaltable.

    6. ClicktheColumnMappingtabandconfirmthatthelogicalmeasurecolumnsmaptocorrespondingphysicalcolumnsintheag_BISAMPLE_Exaphysicaltable.

    7. ClicktheContenttabandconfirmthatthelogicallevelsaresetcorrectly.

    8. ClickCanceltoclosetheLogicalTableSourcedialogbox.RepeatforD0Time,D1Products(LevelBasedHier),andD3Officestoconfirmthatthelogicallevelsaresetcorrectlyforthenewlogicaltablesourcesgeneratedbytheaggregatepersistencewizard.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 14/16

    9. Closealldialogboxes.Note:YoudonothavetodoanythinginthePresentationLayer.

    CreatingAnalysistoUsetheAggregates

    1. SignintoOracleBIasweblogicwithpasswordwelcome1.ReturntoAnalysesEditorandcreateanewanalysisinBSampleSalesExasubjectarea.

    2. Reloadservermetadataorifrequiredrestartalltheservices.

    3. Createaquerywithallyourselections.Selectthefollowing:

    Time.T02PerNameMonthProducts.P4BrandOffices.D4CompanyBaseFacts.1RevenueBaseFacts.2BilledQuantityBaseFacts.3DiscountAmountBaseFacts.4PaidAmount

    4. ClickResults.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 15/16

    Noticehowfastthequeryreturned.

    5. Youcansavethequery.ClicktheAdministrationlinkatthetop.ClickManageSessionfromtheAdministrationtab.

    6. Inspectthequerystatementandconfirmthatthequeryusedthecolumnsyourequested.

    7. ClickViewLogintheActioncolumn.

  • 2/25/2015 OracleBISolutions:CreatingAggregatesUsingAggregatePersistenceWizardinOracleBI11g

    http://oraclebisolutions.blogspot.in/2013/05/creatingaggregatesusingaggregate.html 16/16

    NewerPost OlderPostHome

    PostedbyKishoreUppalapatiat1:25AM

    Labels:OBIEE

    8. Scrolldownandinspectthequerylog.Confirmthatthequeryusedtheag_BISAMPLE_EXAaggregatetableandtherelateddimensionSA_Month,SA_ProductBrand,andSA_OfficesCompanyaggregates.

    Recommend this on Google

    OracleBusinessIntelligence.AwesomeInc.template.PoweredbyBlogger.