SQL Server MVP from Jacksonville, FL · Facts CustomerID SKU Units Sold Sales 345-23 135123 2...
Transcript of SQL Server MVP from Jacksonville, FL · Facts CustomerID SKU Units Sold Sales 345-23 135123 2...
SQL Server MVP from Jacksonville, FL
Owner of Pragmatic Works
Consultant and Trainer
Co-founder of SQLServerCentral.com, JumpstartTV.com
Author of 9 SQL Server books
Amateur surgeon
Report all complaints to [email protected]
One of three river’s that flow North in US
Overview of SSAS
Create a cube
Dimensional design and hierarchies
Building a UI for SSAS
Build a high-level aggregated report or
dashboard in seconds
Give users a drag-and-drop capability to
generate their own reports
Centralize items like key performance
indicators (KPIs)
Analysis
Server
OLEDB
ADOMD
.NET
AMO IIS
TCP
HTTP
XMLA
ADOMD
Client
Apps
BIDS
SSMS
Profiler
Excel
• What are measures?− The value you are measuring, e.g. the
count of users with blue eyes, from WA state, etc.
− The question you are trying to ask
• What are measure groups? − Groupings of these measures within your
cube
− Typically define them by your business problem (e.g. Sales, HR, etc.)
• Cubes are a grouping of measure groups.
• What is a dimension?− It is what you want to categorize or pivot against
− E.g. How many users are from WA state?
− The dimension is geography, “WA” is the member
• What is a hierarchy?− How do you want to organize the members of
your dimension
− E.g. Geography has numerous levels such as country, state, and city
− Hierarchy is the organization of those levels such as City State Country
Customer
City
State
Country
Gender Marital
Country
State
City
Customer
Gender
Customer
Marital
Gender
Customer
Customer
City
State
Country
Gender
Marital
Attributes Hierarchies
Age
Sales Inventory Finance
Customers X
Products X X
Time X X X
Promotions X
Warehouse X
Department X
Account X
Scenario X
Measure Group
Dim
en
sio
n
Create a Data Source
Create a Data Source View (DSV)
Create a Cube
Browse the cube in BIDS
Pre-defined navigation paths through dimensional space defined by attributes
Attribute hierarchies enable ad hoc navigation
Why create user defined hierarchies then?› Guide end users to interesting navigation paths
› Existing client tools are not “attribute-aware”
› Performance
Optimize navigation path at processing time
Materialization of hierarchy tree on disk
Clustered decoding stores
Aggregation designer favors user defined hierarchies
Query language is MDX
BIDS for developers
Excel for most users is adequate or
Reporting Services
SharePoint for web users
Many 3rd party applications like Proclarity
or Panorama
Controls you can purchase and build
into your own Application
Create a hierarchy
Dealing with problematic keys
Attribute relationships
Browse the cube in Excel
CustomersAll Customers
Country
StateCity
Name
ProductsAll ProductsCategory
Brand
Item
SKUFacts
CustomerID SKU Units Sold Sales
345-23 135123 2 $45.67
563-01 451236 34 $67.32
…
Highest-Level Aggregation
Customer Product Units Sold Sales
All All 347814123 $345,212,301.30
Intermediate Aggregation
CountryCode ProductID Units Sold Sales
Can sd452 9456 $23,914.30
US yu678 4623 $57,931.45
…
A subtotal of partition data based on a set of attributes from each dimension
Reference: http://sqlcat.com/technicalnotes/archive/2008/11/18/reintroducing-
usage-based-optimization-in-sql-server-2008-analysis-services.aspx
Improves performance by reviewing the query log and
designing aggregations based on what users are asking
Creation of an aggregate
Usage Based Optimization
Business Intelligence Training (Virtual Training $795.00 per person)
◦ SSIS – Integration Services
◦ SSAS – Analysis Services
◦ SSRS – Reporting Services
Data Warehouse Fast Track
◦ Five day, onsite, training/mentoring engagement that builds a PROTOTYPE Data Warehouse with your data.
◦ Software◦ DTS conversion software (DTS
xChange)
◦ BI xPress – Rapid development
◦ BI Documenter – Documents BI stack
◦ Task Factory – Series of SSIS tasks
BI Stack: Upgrade 2000, Educate, & Empower
EmpowerDWFT
PROTOTYPE 5 DAYS
SSIS: Train $795.00
SSAS: Train
$795.00
SSRS: Train $795
Questions?