IBM Cognos Framework Manager - Senturus

Transcription

METADATA MODELING BESTPRACTICESIBM Cognos Framework Manager

GoToWebinar Control PanelSubmit questions hereClick arrow to restore fullcontrol panelCopyright 2014 Senturus, Inc. All Rights Reserved2

AGENDA Welcome and Introduction Framework Manager Demonstrations:– Multi-tiered Design– What are the Import, Design, and Presentation Layers?– Row-level Security– Use Session Parameters from your Authentication Provider– Use Query Macros– Understand OLAP Over Relational and the Value ofDynamic Query Mode More Resources Q&ACopyright 2014 Senturus, Inc. All Rights Reserved

PRESENTATION SLIDE DECK ON WWW.SENTURUS.COM

Introduction: Today’s PresentersGreg HerreraPresident & Co-FounderSenturusAlbert ValdezVice President – Learning SolutionsSenturusCopyright 2014 Senturus, Inc. All Rights Reserved5

SENTURUS INTRODUCTIONWHO WE ARE

SENTURUS: BUSINESS ANALYTICS CONSULTANTSCreating Clarity from ChaosBusinessIntelligenceEnterprise PlanningPredictive AnalyticsOur Team:Business depth combined with technical expertise.Former CFOs, CIOs, Controllers, Directors, BI ManagersCopyright 2014 Senturus, Inc. All Rights Reserved7

750 CLIENTS, 1500 PROJECTS, 13 YEARSCopyright 2014 Senturus, Inc. All Rights Reserved8

DEMONSTRATION CONTEXT All demonstrations are based on the standard IBMCognos 10.2.1 Great Outdoors Sample package Demonstrations are valid for ALL supported versionsof IBM Cognos Business Intelligence These exercises are part of what we teach in ourclassroom, specifically from our Metadata ModelingBest Practices with Framework Manager courseCopyright 2014 Senturus, Inc. All Rights Reserved9

BEST PRACTICESFORPROJECT DESIGNADVANTAGES OF MULTI-TIERED METADATA

METADATA MODELING BEST PRACTICES Use a multi-tiered design Establish query item properties and relationships early on (in thefirst tier) Plan your design with consideration to how the IBM Cognos queryengine generates SQL Define Model Query Subjects as either a “true” Dimension or a“true” Fact Relate Facts to one another through one or more ConformedDimensions Review and carefully define Determinants Define Package and Object-level Security Create a user-friendly Presentation Use Dimensional Modeling techniques where appropriateCopyright 2014 Senturus, Inc. All Rights Reserved

METADATA MODELING BEST PRACTICES Multi-tiered design Use Namespaces and Folders to organize your QuerySubjects Start with an Import View There should be at least 2 tiers, however A Three-tiered design offers some advantagesCopyright 2014 Senturus, Inc. All Rights Reserved

ADVANTAGES OF THE THREE-TIERED DESIGN Import Layer:–– Design Layer:–– All database objects are represented here exactly as theyappear in the physical data, making references between thismetadata and the database simple and obviousAll base relationships should be defined in this layerEstablish the “dimensional design” that will guide the queryengine toward more predictable resultsUse Model Query Subjects, Merging, Aliasing, and othertechniques to enforce desired query behaviorsBusiness Layer––Create value-added features such as embedded and stand-aloneCalculations and FiltersImplement user-accepted naming and presentation conventionsCopyright 2014 Senturus, Inc. All Rights Reserved

ADVANTAGES OF THE THREE-TIERED DESIGN Why?– Use metadata to your advantage!–Query logic is controlled by our design, not restricted by thephysical limitations of the database– Referential metadata creates a “buffer” between thephysical model and that which is used by our authors–Changes to our Database layer in order to address changes inthe physical data can be made without impacting existingreports, or the end-users’ view of the model– Simplify the modeling process by isolating certaintasks within their respective layerCopyright 2014 Senturus, Inc. All Rights Reserved

BEST PRACTICESFORPROJECT DESIGNADVANTAGES OF MULTI-TIERED METADATADEMONSTRATION

ROW-LEVEL SECURITYUSING SESSION PARAMETERS AND QUERYMACROS

PARAMETERIZED SQL Typical application of this technique is to createdynamic filtering based on user attributes We can use a Parameter Map and Query Macros incombination with unique user account attributes toenforce these rules in the metadata Session Parameters:– Attributes unique to each user’s session– Derived from your Authentication ProviderCopyright 2014 Senturus, Inc. All Rights Reserved

PARAMETERIZED SQL Parameter Map:– We can use three types of Parameter Maps1. Manually key in the values in the project2. Import from an external text file (.txt, .csv)3. Reference a query subject (db table) Query Macros:– # UserLookup{ account.personalInfo.userName}#– Several functions available allowing us to create dynamicexpressionsCopyright 2014 Senturus, Inc. All Rights Reserved

ROW-LEVEL SECURITYSESSION PARAMETERS AND QUERY MACROSDEMONSTRATION

OLAP IN FRAMEWORK MANAGERSETTING UP FOR SUCCESS

OLAPINFRAMEWORK MANAGER In the Cognos version 8 release, we were introduced toDimensionally Modeled Relational (DMR) capabilities What happened?– Run-time OLAP presents significant query responsechallenges in large data environments– Guess what? We ALL live in large data environments! What’s changed?– There is a shift in the architecture strategy, adding morequery processing capacity on the application tier– Dynamic Query Mode presents a new approach to queryprocessingCopyright 2014 Senturus, Inc. All Rights Reserved

OLAPINFRAMEWORK MANAGER Dynamic Query Mode– Next-generation, Java-based query mode– Query optimizations to address query complexity, datavolumes and timeliness expectations with improved queryexecution techniques– Significant improvement for complex OLAP queries throughintelligent combination of local and remote processing andbetter MDX generation– Security-aware caching– New data Interfaces leveraging 64 bit processing– Take advantage of increased capacity of 64-bit in-memoryprocessing– Ease of maintenance with query visualizationCopyright 2014 Senturus, Inc. All Rights Reserved

OLAPINFRAMEWORK MANAGER Why are OLAP sources important?– True MDX-style analytics and reporting provide tremendousbenefits to end-users– Drill-up/Drill-down functionality is built-in to the data source,encouraging simple, intuitive data investigation– Access to MDX functions and gestures in reporting tools allowsfor more dynamic reports, dashboards, and analyses– Data Exploration and Data Discovery are the next level ofanalytics (move beyond reporting!)Copyright 2014 Senturus, Inc. All Rights Reserved

OLAP IN ACTIONOLAP VS. RELATIONAL FOR SELF-SERVICEAUTHORS - DEMONSTRATION

OLAPINFRAMEWORK MANAGER What needs to be done to enable DQM?– Cognos 10.x? – you own it– The Query Service spawns its own java process, consumesresources whether you use it or not Data Sources– Must configure the JDBC Connection and copy the requisitedriver to the Cognos library Framework Manager– DQM can be switched on at the Project or the individualPackage level System Administration– Configure Query Service resources, optimize application tiercomponents to maximize throughputCopyright 2014 Senturus, Inc. All Rights Reserved

OLAPINFRAMEWORK MANAGER JDBC Drivers – what to do?– Go y/cognos/infrastructure/cognos specific/page529.html– Basically, you download and copy the requisite JDBC driverto both the .\v5dataserver\lib and the .\p2pd\web-inf\libdirectories– Make sure you only have ONE version of the driver in thelibrary!– Specific instructions for each database type are detailed inthe above documentCopyright 2014 Senturus, Inc. All Rights Reserved

OLAP IN FRAMEWORK MANAGERCONFIGURE DATA SOURCE CONNECTIONS ANDJDBC DRIVERS

UPCOMING EVENTSwww.senturus.comPre-Announcement:August 7th IBM Cognos Dynamic Cubes WebinarCopyright 2014 Senturus, Inc. All Rights Reserved28

COGNOS TRAINING OPTIONS*Custom, tailored training also available*Copyright 2014 Senturus, Inc. All Rights Reserved29

Upcoming Instructor-Led Online Cognos Classes Framework Manager Metadata Modeling Best Practices Report Studio Authoring: Beginning-Intermediate,Advanced and Expert Report Studio Dimensional Authoring: Fundamentalsand Advanced System Administration Active Reports Authoring Workspace Advanced-Relational Authoring andDashboarding Workspace Advanced-OLAP Data ExplorationCopyright 2014 Senturus, Inc. All Rights Reserved.30

Special Offer: 100 off TrainingFramework Manager Metadata Modeling Best PracticesJune 23-25 or August 25-27Coupon code: frameworkmanager100Copyright 2014 Senturus, Inc. All Rights Reserved.31

Q&A

Thank Youwww.senturus.com888-601-6010HelpingCompanies Learn From theinfo@senturus.comPast, Manage the Present and Shapethe FutureCopyright 2014 by Senturus, Inc.This entire presentation is copyrighted and may not be reused ordistributed without the written consent of Senturus, Inc.

Plan your design with consideration to how the IBM Cognos query engine generates SQL Define Model Query Subjects as either a "true" Dimension or a . -Basically, you download and copy the requisite JDBC driver to both the .\v5dataserver\lib and the .\p2pd\web-inf\lib