chris testa-o’neill qa. who am i chris testa-o’neill business intelligence specialist at qa...

25
Getting Dimensional with Data Chris Testa-O’Neill QA

Upload: kerry-anderson

Post on 27-Dec-2015

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Getting Dimensional with Data

Chris Testa-O’NeillQA

Page 2: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Who am IChris Testa-O’Neill

Business Intelligence Specialist at QA

Technical Author for Microsoft E-Learning Author of the SQL Server 2008 E-Learning track

Manchester SQL Server User Group Organiserwww.sqlserverfaq.comwww.learnsqlserver.org

Page 3: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

AgendaIntroducing Analysis ServicesGetting the data Working with Dimensions

HierarchiesAttribute Relationships

Creating the CubeWorking with Measure and Measures GroupPartitions and aggregation design

Browsing the cube

Page 4: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Due to time this session cannot

Full exploration of cube propertiesUse of additional SSAS components

Calculations (MDX)Key Performance IndicatorsTranslationsPerspectives

Administration and MaintenanceSecurity

Page 5: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Introducing Analysis ServicesComponents of SQL Server used for querying

and analysing dataTypically uses a data warehouse as it source

dataDimension tablesFact tables

Core object is a cube storing detailed and pre aggregated data

Number of clients can be used to retrieve cube data

Page 6: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Reporting MethodsRelational Reporting (OLTP)

Use of Normalised tables to query dataCan be slow as number of tables used increases or a

requirement for aggregate dataOnline Analytical Processing (OLAP)

Database type that stores one or more cubes that stores data in a central repository for reporting purposes

Data MiningUses OLAP database to explore trands and patterns

in the data

Page 7: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Getting the dataData Sources provides the connection

information.Server NameAuthenticationDatabase

Data Source Views allows you to define a subset of data from the data sourceData Source WizardData Source Designer

Page 8: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

DemonstrationCreating an Analysis Services projectCreating a data source and a data source view

Page 9: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Working with DimensionsProvide contextual information for data in a cubeTypically maps to the data in a dimension table of

a data warehouseDimensions form the cube axisCan selectively add attributes to meet business

requirementsKey properties include

Key ColumnsName ColumsOrder by

Time Dimensions

Page 10: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

HierarchiesImproves the readability of large dimension

dataAdds levels to dimension data so users can

drill down into the dataTypes of Hierarchies include

Balanced (Natural) HierarchiesParent ChildRagged Hierarchies

Page 11: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Attribute RelationshipsDefines relationships that exists between

attributes in a dimensionBy default, all attributes have a relationship to the

key attribute in a star schemaModifying thed efault behaviour can

Result in more effective aggregation designsIncreases query performanceReduce memory requirements for processing

dimensionsUse Attribute relationships tab in SQL Server 2008Use the Dimension tab in SQL Server 2005

Page 12: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

DemonstrationCreating a DimensionCreating a Balanced HierarchyDefining Attribute Relationships

Page 13: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Creating the CubeCube wizard

Existing TablesExisting DimensionEmpty Cube

Wizard Capabilities differ from SQL Server 2005 and 2008

Page 14: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Measures and Measure GroupsMeasures are the business metrics stored within the

cubeTypically map to measures in a Fact table in a data

warehouseCan create derived measure using MDX expressionsAggregate property in Measures has additivity issuesStorage Mode property: MOLAP, ROLAP and HOLAPMeasures Group typically map to fact tablesMeasures Groups group measures togetherMeasures Group maps the measure to dimensions

Page 15: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Partitioning CubesEnterprise Edition Spread the data across multiple physical disks

Improved query performanceReduced cube processing time

Determine the storage mode on a per partition basis

Design aggregationEnables you to set aggregations based on disk and

performance limitUsage Based Optimisation a better method

Page 16: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

DemonstrationCreating a simple cubeConfiguring MeasuresCreating partitionsDesign aggregations

Page 17: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Browsing the CubeCube Browser in BIDSMicrosoft ExcelSQL Server Reporting ServicesPerformancePoint\Sharepoint

Page 18: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

DemonstrationCreating a Report using SQL Server Analysis

Services

Page 19: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Available coursesMicrosoft Official Curriculum courses

SQL Server 2005 2791 – Implementing and Maintaining SQL Server Analysis Server 2005

SQL Server 2008 6234 - Implementing and Maintaining SQL Server Analysis Server 2008

Microsoft Elearning Course 2942: New Features of Microsoft SQL Server 2005 Analysis

Services Collection 6322: Implementing and Maintaining Business Intelligence

in SQL 2008: Integration Services, Reporting Services and Analysis Services (available late 2009)

Microsoft Press Managing SQL Server 2008 Analysis Services Step by Step - Scott

Cameron (ISBN 0-7356-2620-0) Microsoft® SQL Server™ 2005 Analysis Services Step by Step - Reed

Jacobson; Stacia Misner (ISBN - 0-7356-2199-3)

Page 20: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Related SessionsBuilding cubes from ODS or Operational

Systems Vincent Rainardi

Self Service Business Intelligence- Project Gemini Bob Duffy

Master Data Services Ian Marritt

Page 21: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Europe’s Premier Community SQL Server Conference

Page 22: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

November 2009Tuesday 24th London – Storage and Query Optimisation - www.sqlpass.org.ukThursday 26th London – SQL Internals and MS BI – SQLServerFAQ.comThursday 26th London – Looking at newsgroups for Info – SQLServerFAQ.com

December 2009Thursday 3rd Online – PowerUp with SQL Server (see next slide)Tuesday 8th Cork – Query Optimisation – MTUG.ieWednesday 9th Dublin – Query Optimisation – IrishDev.comThursday 10th Leeds – Service Broker and Powershell – SQLServerFAQ.com Tuesday 15th Cambridge – Christmas Special down the pub – SQLSocial.comThursday 17th Manchester – SQL Server Internals – SQLServerFAQ.com

Up and coming events..

Page 23: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

Time to Power Up with SQL Server within your organization! Who Should Attend:-Database administrators-Application developers/programmers-Database developers- IT Professionals responsible for SQL Server management Sign Up Today at http://tinyurl.com/PowerUpSQLServer

During the day's presentations by SQL Server experts, Greg Low, Javier Loria, and Niels Berglund, you'll get detailed information and time to ask your questions.

Three sessions, directly from your own computer:- Understanding Query Plan Caching in SQL Server- SQL Server High Availability- SQL Server Performance

Page 24: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

It’s party time!Coming up next in the Atrium:

Time to relax and let your hair down. Rockband

Table footballAir Hockeyand more

Don’t forget speakers and sponsors have drinks vouchers

Page 25: Chris Testa-O’Neill QA. Who am I Chris Testa-O’Neill Business Intelligence Specialist at QA Technical Author for Microsoft E-Learning Author of the SQL

We hope you had a great conference!

See you at the next one in the Spring

Thank you