Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB

Slides:



Advertisements
Similar presentations
Business Intelligence Simon Pease. Experience with BI Developing end-to-end BI prototype for Plan International Developing end-to-end BI prototype for.
Advertisements

Introduction to ETL Using Microsoft Tools By Dr. Gabriel.
OLAP Services Business Intelligence Solutions. Agenda Definition of OLAP Types of OLAP Definition of Cube Definition of DMR Differences between Cube and.
Integrating Access with the Web and with Other Programs.
Northwestern University Business Intelligence Solutions Build Cubes in Cognos 8.4.
Components of the Data Warehouse Michael A. Fudge, Jr.
SQL Server Management Studio Introduction
ISQS 3358, Business Intelligence Creating Data Marts Zhangxi Lin Texas Tech University 1.
SQL Analysis Services Microsoft® SQL Server 2005 Analysis Services provides unified, fully integrated views of your business data to support online.
SharePoint 2010 Business Intelligence Module 6: Analysis Services.
DATA WAREHOUSING IN SQL SERVER 2005/2008 BUSINESS INTELLIGENCE.
Sayed Ahmed Logical Design of a Data Warehouse.  Free Training and Educational Services  Training and Education in Bangla: Training and Education in.
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
IMS 6217: Data Warehousing / Business Intelligence Part 3 1 Dr. Lawrence West, Management Dept., University of Central Florida Analysis.
Cube Intro. Decision Making Effective decision making Goal: Choice that moves an organization closer to an agreed-on set of goals in a timely manner Goal:
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
1 Data Warehouses BUAD/American University Data Warehouses.
BI Terminologies.
MIS 451 Building Business Intelligence Systems Data Staging.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Data Warehousing and OLAP Outline u Models & operations u Implementing a warehouse u Future directions.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Extending and Creating Dynamics AX OLAP Cubes
Databases: What they are and how they work
Tutorial 1 Creating a Database
Intro to MIS – MGS351 Databases and Data Warehouses
Building Tabular Models
Building a Polished Cube
Access Tutorial 1 Creating a Database
Data Warehousing/Loading the DW—Topics
Module III: Business Analytics
Introduction to SQL Server Analysis Services
Data Warehouse.
On-Line Analytic Processing
Data warehouse and OLAP
Database application MySQL Database and PhpMyAdmin
Access Creating a Database
Microsoft Office Illustrated Fundamentals
Access Creating a Database
Data Warehouse.
RELATIONAL DATABASE MODEL
Exploring Microsoft Office Access 2007
Oracle Analytic Views Enhance BI Applications and Simplify Development
Implementing Data Models & Reports with Microsoft SQL Server
Creating and Modifying Queries
Data Warehouse and OLAP
Open BIDS and create new SSAS Project Right Click on Data Source and click on New Data Source.
Enhance BI Applications and Simplify Development
University of Houston-Clear Lake Kaiser Permanente San Jose
Data Warehouse Overview September 28, 2012 presented by Terry Bilskie
An Introduction to Data Warehousing
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Microsoft Office Access 2003
Microsoft Official Academic Course, Access 2016
Microsoft Office Access 2003
CIS16 Application Programming with Visual Basic
Chapter 1 Databases and Database Objects: An Introduction
Database Applications
Using Aggregates Schedule: Timing Topic 30 minutes Lecture
Adding Multiple Logical Table Sources
Dimensional Model January 16, 2003
Data Warehousing Concepts
Applying Data Warehouse Techniques
Applying Data Warehouse Techniques
Tutorial 8 Sharing, Integrating, and Analyzing Data
Data Warehouse and OLAP
Data Warehousing/Loading the DW—Topics
Module 5: Creating Multidimensional Databases
Presentation transcript:

Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB Precalculated Aggregates Hierarchical Awareness Creating the OLAP DB The Data Source View The Cube Fact & Dimension Tables The Time Dimension Measures Using the Cube

Analysis Services—Why we Care Three levels of data sources for analysis All three are separate copies of the data Each has advantages/disadvantages & purposes Source data OLTP relational databases Other source data including external Data Warehouse Source data integrated Still a relational database Analysis Services (OLAP) Database

Analysis Services—Why we Care (cont.) Data Warehouse Strengths Integrated data 'Scrubbed' data Shortened relationship paths→Simpler queries Optimized for queries rather than throughput Data Warehouse Limitations Still a relational database Performance lags when querying and summing millions of records

The OLAP/Analysis Services Approach In their simplest forms OLAP databases have a logical structure similar to the star or snowflake schema we saw in the DW Fact tables Dimension tables Data storage structure is wildly different from relational DBMS Fact/Dimension tables are stored in 'cubes' Multi-dimensional (not just three) relationships between fact and dimension tables Preprocessed aggregates stored in DB

The OLAP/Analysis Services Approach (cont.) Recall that fact tables contain Keys that indicate dimensionality of the data Measures that contain values of interest We will design Cubes based around a single fact table Other approaches acceptable including multi-fact table cubes

The OLAP/Analysis Services Approach (cont.) The OLAP engine is aware of The relationship between the values in the dimensional key columns and the measures in the fact table Every sale is for one Time Key Customer Key etc Hierarchies in dimensional tables Country→State →City Year →Month →Date

Precalculated Aggregates The OLAP Engine precalculates aggregates along dimensions in the fact table If querying total sales value by customer and product this value may already be stored for each combination of customer and product Aggregates are calculated and stored during processing of the cube (later)

Intelligent Hierarchies OLAP intelligently uses precalculated aggregates to total on hierarchies If aggregates are already calculated for sales by product by customer… … sales by product by country use the precalculated aggregate rather than querying the detail data There are special tools for establishing hierarchical relationships among time dimension components Relationships in snowflake schema will be automatically detected Others can be established at design time

Creating the OLAP DB Create the OLAP DB from the DW They can also be created directly from source data Use Business Intelligence Development Studio to design, create, and load the OLAP DB The Visual Studio project contains the definitions needed to design, create, and load The project also creates the Analysis Services DB SQL Server & Analysis Services must both be running

Creating the OLAP DB (cont.) Steps Create Analysis Services Project with connection(s) Create Data Source View to define data to load Generate OLAP DB Load OLAP DB OLAP DB available for use Direct browsing Serving via Analysis Services server Reporting Services Excel

Creating the OLAP DB New Business Intelligence Project Type is Analysis Services Manage project file locations

Create Data Source(s) for the Project Create a data source just as we did for the data warehouse load project Point the data source to the data warehouse DB Create new connection if necessary Select "Default" Impersonation Information if DW DB does not require login

Create the Data Source View The Data Source View (DSV) is a map from the source data (data warehouse in our case) to the OLAP DB May include data transformations Allows fact data and dimensions to be identified Allows hierarchies to be established Special tools for time hierarchies Create new DSV in Solution Explorer Set Data Source

Create Data Source View (cont.) Select fact table to be loaded Select dim tables Use Add Related Tables button Manually select Include hierarchical tables as necessary from snowflake schema Name DSV when all tables are selected

Create Data Source View (cont.) DSV template is created from the selected tables Template may be modified Add calculated columns Ready to add new cube when DSV is complete

Create Cube Create new cube from Solution Explorer Select Build cube from data source Select the DSV that was created to be the basis for the new cube

Build Cube—Confirm Fact & Dimension Tables Confirm suggested fact and dimension tables Wizard frequently misidentifies dimension tables as fact tables Just check Be sure to identify the Time Dimension Table

Build Cube—Map Time Dimension Columns Time has built in hierarchies Map the Time Dim columns to the predefined time hierarchical concepts Not all will be mapped

Build Cube—Identify Measures Uncheck spurious columns that will not be used as measures in the fact table Next step detects hierarchies No operator choices

Build Cube—Review Hierarchies The hierarchies screen allows you to review, delete, & modify hierarchies

Building the Cube—Name the Cube Give the cube a meaningful name Default is the same as the DSV which should probably not be used Click Finish to build the cube design

Building the Cube—Reviewing Cube Design

Building the Cube—Reviewing Cube Design The cube structure tab will show the cube design in a way that looks much like the DSV Any changes will be reflected Calculated columns Renamed columns

Processing the Cube The cube must be processed before it can be used Select Process… from the Cube menu On first run you will be prompted to build and deploy the project first Select Run from the Process Cube dialog This may take some time—this is where the data is being loaded into the OLAP DB and initial aggregations created