版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、OracleBIPublisher BestPracticesRupeshVarmaPrincipalProductManagerThefollowing is intended to outlineour generalproductdirection. It is intended forinformationpurposesonly,andmay notbeincorporatedintoanycontract. It is nota commitmenttodeliveranymaterial, code, or functionality, andshouldnot be relie
2、dupon in makingpurchasing decision.Thedevelopment, release, andtimingofany features or functionalitydescribed fororaclesproductsremains at thesole discretionoforacle.Program AgendaOracleBIPublisher EnterpriseOverviewReportDesign BestPracticesData Modeling GuidelinesTemplateDesignGuidelinesReportingG
3、uidelinesQ &AOracleBIPublisher EnterpriseOneEnvironmentAuthorGenerateDeliverBenefitsEliminatecomplexitySimplifyreportdevelopment& maintenanceReducecostsEliminateMultiple-pointSolutionsReportsChecksLabelsDestinationsInvoicesXML / EFT / EDILayoutTemplateTypesOutputFormatsDestinationsEmailPrinterFaxe-C
4、ommerceRepositoryData SourcesLayoutDesignToolsWeb ServicesOracle, Oracle BI EE,Oracle BI Apps SQL ServerE-Business Suite, PeopleSoft,Siebel, JDE, PrimaveraOLAPOracleBIPublisher EnterpriseFrom DatatoDocumenttoDeliveryLayoutEditorMSWordMSExcelAdobeFlexXSLXSLXMLEDIEFTPDFHTMLExcelPPTCSVFlashRTFInteracti
5、veArchitectureBI PublisherOracleBusinessIntelligence PublisherSeparatedata logic,layout&translationbenefitsgreater flexibility andreusefewerreports andbetterreport maintenanceoptimizedata extractionand document generationprocessReportArchitectureReport outputData LogicLayoutTranslationBI PublisherOr
6、acleBIPublisher Scheduler11gBIPublisherWebserverBIPublisherWebserverBIPublisherReportsRepositoryClientClientScheduler databaseJMSResourcesEmailPrinterFaxRepositoryFile systemFAX Q.Printer Q.Email Q.FTP Q.WebDav Q.File Q.JobQReportQBIPSystem TopicWebserver/JMSProvider(Web Logic,ActiveMQ)Program Agend
7、aOracleBIPublisher EnterpriseOverviewReportDesign BestPracticesData Modeling GuidelinesTemplateDesignGuidelinesQ &AData GenerationData SourceTypesFile (XML)SQLQueryMDXQueryLDAP QueryExcelSpreadsheetHTTP (XMLFeed)WebServiceOracleBIAnalysisData SourcesData GenerationJDBC Vs JNDI(SQLType)Both types of
8、connectionusethesameJDBC driverWith JNDIyou cantake advantageofconnectionpoolingBetterperformanceConnection alreadyestablishedtothe sourceBest practiceforreportswith manyparameterswith SQLtype LOVsattachedtothemBetterRDBMSresourcemanagementConnection Types21WebLogicServerBIPublisherData GenerationEn
9、ablefor large reportsSlowerperformance, butpreventsout-of-memory errorsUsewithscheduledreportsScalableModeData Model DesignOptimizedata extractionSimplifylayoutdesign forreportdevelopersReducedocumentgenerationtimeObjectivesData Model DesignLeverageback-endsystemresources (when possible)Join dataFil
10、ter&groupdataPerform expensivecalculations&data transformationsSort dataConsidergoingagainst BI Serverinstead of extractingdatadirectlyfrom thesourcesystemsUseBIServer LogicalSQL insteadofAnswers/AnalysisData ExtractionSelectt.OFFICE_DSCasOfficesum(f.REVENUE) as “SalesSumFromBISAMPLE.SAMP_REVENUE_F“
11、fBISAMPLE.SAMP_OFFICES_D“tWheret.OFFICE_KEY=f.OFFICE_KEYgroupbyt.OFFICE_DSC20Vs20,000recordsData Model DesignParameters &LOVsCacheLOVS forbetterperformanceForlargeLOVs,passNULLtotheparameter whenusersselectAll&modifyWHEREclause in DataSet query to usetheNVL function.Forexample:“Whereorder_id=nvl(:p_
12、ordid,order_id)”Data ExtractionData Model DesignEventtriggersBeforeDataTriggersGeneratedynamic SQLPopulateTEMP tablesSetusercontextAfterData TriggersInsertrowstoa targettableSend notificationsCleanordeleteTEMPtablesData ExtractionSelectEMPLOYEE_ID,DEPARTMENT_ID,FIRST_NAME,LAST_NAME,EMAIL,PHONE_NUMBE
13、R,HIRE_DATE,JOB_ID,SALARYfrom employeeswhere&p_where_clauseData Model DesignStructuredata to match howdata isdisplayedinthe reportUseshortXML tagnames theyreducethesizeofXMLdatafileUsedisplaynamestosimplifytemplatedesignCreateglobal &group-levelaggregate functions forbest performance,createthemindat
14、a model insteadofreport layoutPre-sortdataNote:Groupingdata in datamodelautomaticallysortsdata by thegroupingelementBurstingItalso requires thatdataintheXML is sorted(orgrouped)bythe split-by key.Best PracticesforFaster Document GenerationProgram AgendaOracleBIPublisher EnterpriseOverviewSystemConfi
15、gurationGuidelinesBIPublisherServer ConfigurationOptionsReportDesign BestPracticesData Modeling GuidelinesTemplateDesignGuidelinesQ &ARTF TemplatesEasy to create w/ BI Publisher Template Builder Add-in to WordGreatest flexibility and functionality for highly formatted reportsRTF marked up with XSL c
16、ode or BI Publisher simplified XSLWide range of output (PDF, HTML, Excel, PPT, RTF, MHTML)BI PublisherTemplate 11gWeb based Layout Editor no client installation requiredBest for Management Report WYSIWIG experienceSupport Interactive OutputWide range of output (PDF, HTML, Excel, PPT, RTF, MHTML)Exce
17、l TemplatesExcel w/ data mapped to named cells & Excel and XSL formattingGreat for formatted, true Excel output and burst over sheetsExcel XLS output onlyDocumentFormatting andLayoutWhat Template Typeshould Iuse?(1of2)PDF FormsPDF forms with XML elements mapped to form fields.Great to use with gover
18、nment formsPDF output only - created in Acrobat Professionale-Text TemplatesText output only for electronic communicationGreat for character delimited or fixed position docs (EFT & EDI)RTF with table of statements to place fields and separatorsFlash TemplatesSWF files with BI Publisher data for soph
19、isticated interactivityCreate in Adobe Flex BuilderXSL Style SheetsAllows for third party tools and legacy solutionsExcel Analyzer TemplatesNot recommended (deprecated)Excel output only. Can refresh data w/ parameters.DocumentFormatting andLayoutWhat Template Typeshould Iuse?(2of2)BIPublisherTemplat
20、e(11g)BestPracticesUseLayout Grids to position componentssimilar to tablesinRTFTemplatesLayoutGridscan be nestedLayoutGridCell canbejoinedTheminimumheightofrowscanbefixedDoNOTputlargetables(Perform.)orpivottablesinto LayoutGridsDesignConsiderationBIPublisherTemplate(11g)BestPracticesTheInteractiveVi
21、ewer is oneofBIPublishersmost popularnew featuresInteractivity works bestfor flattables or simplenestedmaster-detaildata setsUnrelatedqueriesorgroupscan notinteractDisable interactionsforunrelated queriesintheConfigureEventsDialogDesignConsiderationBAD:Country on twobranchesDataG1CountryRevenueG2Cou
22、ntryCostGOOD:Country in commonparentDataG1CountryG2RevenueG3CostRTFTemplateBestPracticesUsetables to controlprecisely where field datawillbeplacedinthe reportUseWordTablesRTFTemplateBestPracticesKeep thetemplatecleanSupportedbythe Template BuilderFieldBrowserCanbecoloredorhiddentohelp understandthe
23、structureCaveat: Wordheader &footer dont allow formfieldsUseFormFieldsRTFTemplateBestPracticesAchieve consistency in thetemplateandbetweentemplatesIn11guse Style Templatestocontrol thetemplatestylesUseWordStylesRTFTemplateBestPracticesKeep it easytounderstand,debugand maintainIngeneral bettertohave
24、differentbusinessdocumentsindifferent templatesTrytolimitthe logic in templatestosimpleiforloopstatementsUsesub templatestosimplifydocumentsifnecessaryMany calculationsarebetter performedinthedatamodelDontovercomplicateyour templateDocumentFormatting andLayoutWhat is asub template?A document thatcon
25、tainslayout andorcode thatcan be definedonceandusedmultipletimesMultiplefunctions(called“templates”inXSL) or textsegmentscan be definedinasinglesub template fileSubtemplatetypesXSLsub templatesforcodere-useorseparationRTFsub templatesforlayout re-useCaveat: UseofRTFsub templatesmakesitharderto under
26、standand visualizethetemplatestructureSubTemplates:IntroductionDocumentFormatting andLayoutRTFsub templatesRe-usecommon layoutssuchastermsandconditionsInternationalizedaddress blockXSLsub templatesTransformationsfor complexchartrequirementsDynamicallyapplyformatting to aportionofdata(e.g.subscriptin
27、g /superscripting /chemicalformula)PrintformattedXHTMLdata converttoFOusingsub template (asused in OracleContracts) (supportsHTML in data)Startingw/werecommendusingStyleTemplates forHeader/FooterinsteadofRTFSub TemplateSubTemplates:UseCasesRTFTemplateBestPracticesBIPublisherusesXPATH
28、toaccessdataelementsDEPARTMENT_NAMEisinsertedinthe template asistranslated to theXPATH./DEPARTMENT_NAME./DEPARTMENT_NAMEsearchesforDEPARTMENT_NAMEinthecompletesub-treestartingfromcurrent contextPerformanceConsiderations:XPATHConceptsRTFTemplateBestPracticesUsethe fullrelativepathforlargedatasetsInst
29、ead ofuseInstead ofuseForlargedocuments thatdontfit intomemory thesearchrequiresdiskaccessForsmalldocuments thesearchtimeisnegligiblePerformanceConsiderations:XPATHTuningRTFTemplateBestPracticesXPATHTuningStartwith theouterloopsandoutermostdata accessReducingfull treesearcheswillprovide biggerimprov
30、ementsthanoptimizing accessina small subsetofthedataFixingthe XPATH in asingle for-each loopmay be alltheperformancetuning youneed to doTablesLARGEtablesthatspan hundreds of pages consumeconsiderable serverresources. If possible group thedata andcreateatableinsideeachgrouping.DonotnestLARGEtablesint
31、otables.PerformanceConsiderations:XPATHTuning &TablesRTFTemplateBestPracticesBettertoSortdata in thedata modelGroupBywill force theXSLengine to sortdataChecking“Dataalready sorted”option in theTableWizardwillnotre-sortdata (good thing)PerformanceConsiderations:GroupingTemplateBest PracticesDontoverc
32、omplicateyour templatesUsetables (layoutgrids) to place datafields preciselyUseformfieldsand wordstyles forclarityUsesub templatesforre-use andencapsulatecomplex codeOptimizeyour datastructure forinteractivity if necessaryPerformanceoptimizationOptimizetheXPATHFocusoptimizationonouterloopsSort in th
33、edata baseand use“group-adjacent” in thetemplateSummaryStay Connectedwith BI PublisherQ&AAppendixResourcesServerConfigurationOptionsScalablethreshold(in bytes)Cacheexpiration (inmin)Cachesize limit (# of datasets)Maximum cachedreportsDatabaseFetchSizeAdministration ServerConfigurationDefault valuesS
34、erverConfigurationOptionsBursting(10g only)EnablemultithreadingDefault:False*ThreadcountDefault:2*FOprocessingUseBIPublishersXSLTprocessorDefault:TrueEnablescalablefeatureofXSLT processorDefault:False*Pagescachedduring processingDefault:50EnablemultithreadingDefault:False*FOParsing BufferSizeDefault
35、:1000000*EnableXSLTruntime optimizationDefault:TrueAdministration RuntimeConfiguration PropertiesReport-levelPropertiesEdit Report PropertiesFormattingReport-levelPropertiesForlongrunning reportsTake advantageofscheduling anddisableRunReport Online.Viewing ReportsOnlineReportEditorReportViewerReport-levelPropertiesEnableDataCachingSavesXMLdataforreuseuptot
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 某灯具厂员工福利发放管理准则
- 某化工公司干燥机质量管控细则
- 家具公司档案归档管理细则(规则)
- 某纺织公司整经机安全使用细则
- 化工公司晋升管理执行细则
- 我国资产证券化特殊目的载体法律问题探究:从理论到实践的剖析与展望
- 我国证券公司转型时期战略问题深度剖析
- 我国行业协会纠纷调解制度的多维度审视与优化路径研究
- 2026年功能科三基三严的试题及答案
- 税务局档案管理制度范本
- 2026年广东省事业单位集中公开招聘高校毕业生11066名笔试模拟试题及答案解析
- 2025年淮北职业技术学院单招职业适应性测试题库带答案解析
- 安全生产九个一制度
- 司法鉴定资料专属保密协议
- (更新)成人留置导尿护理与并发症处理指南课件
- 丝路基金招聘笔试题库2026
- 巨量引擎《2026巨量引擎营销IP通案》
- 2026届高考化学冲刺复习化学综合实验热点题型
- 电缆接驳施工方案(3篇)
- 《矿山隐蔽致灾因素普查规范》解读培训
- 《陆上风力发电机组混凝土塔架生产技术规程》
评论
0/150
提交评论