getting dimensional with data
DESCRIPTION
Getting Dimensional with Data. 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 Server 2008 E-Learning track Manchester SQL Server User Group Organiser www.sqlserverfaq.com - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/1.jpg)
Getting Dimensional with Data
Chris Testa-O’NeillQA
![Page 2: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/2.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/3.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/4.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/5.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/6.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/7.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/8.jpg)
DemonstrationCreating an Analysis Services projectCreating a data source and a data source view
![Page 9: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/9.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/10.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/11.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/12.jpg)
DemonstrationCreating a DimensionCreating a Balanced HierarchyDefining Attribute Relationships
![Page 13: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/13.jpg)
Creating the CubeCube wizard
Existing TablesExisting DimensionEmpty Cube
Wizard Capabilities differ from SQL Server 2005 and 2008
![Page 14: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/14.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/15.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/16.jpg)
DemonstrationCreating a simple cubeConfiguring MeasuresCreating partitionsDesign aggregations
![Page 17: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/17.jpg)
Browsing the CubeCube Browser in BIDSMicrosoft ExcelSQL Server Reporting ServicesPerformancePoint\Sharepoint
![Page 18: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/18.jpg)
DemonstrationCreating a Report using SQL Server Analysis
Services
![Page 19: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/19.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/20.jpg)
Related SessionsBuilding cubes from ODS or Operational
Systems Vincent Rainardi
Self Service Business Intelligence- Project Gemini Bob Duffy
Master Data Services Ian Marritt
![Page 22: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/22.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/23.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/24.jpg)
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: Getting Dimensional with Data](https://reader031.vdocument.in/reader031/viewer/2022011717/56816077550346895dcfa1d2/html5/thumbnails/25.jpg)
We hope you had a great conference!
See you at the next one in the Spring
Thank you