SlideShare a Scribd company logo
1 of 42
Microsoft® SQL
Server 2008
Analysis Services
Microsoft® SQL Server 2008 Analysis Services provides
unified, fully integrated views of your business data to
support online analytical processing (OLAP), key
performance indicator (KPI) scorecards, and powerful data
mining capabilities. It provides reliable business decision
support solutions
 SQL Server 2008 Analysis Services (SSAS) provides
o Unified and integrated view of all your business data
o Reporting, online analytical processing (OLAP)
analysis
o Key Performance Indicator (KPI) scorecards
o Data mining
Architecture
ARCHITECTURE
Analysis Manager
 Application for Database Administration
 Snap-In to MMC
 Decision Support Objects
Analysis ServerDSO
Analysis Manager Custom Administration Interface
Analysis Server LimitsItems Limits
Databases per server Unlimited
Cubes per database Unlimited
Cubes per virtual cube 64
Dimensions per cube 128
Measures per cube 1,024
Calculated members per cube 65,535
Levels per dimension 64
Partitions per cube Unlimited
Analysis Services Objects
Databases and Data Sources
 Database contains other Analysis Services
objects
 Data sources define where Analysis Services
gets the data to populate dimensions and cubes
o OLE DB providers
o OLE DB for ODBC
o MSSQLServerOLAPService service account
Data Source Views
 Data source views let you define a subset of the
data that populates a large data warehouse.
 They let you define a homogenous schema
based on heterogeneous data sources or
subsets of data sources.
 Because data source views represent an
isolated schema, you can add any required
annotations without affecting the schemas of the
underlying data sources
14
A data source view contains the following items:
 A name and a description.
o A definition of any subset of the schema
o Table names.
o Column names.
o Data types.
o Nullability.
o Column lengths.
o Primary keys.
o Primary key - foreign key relationships.
15
Data Source Views
 Annotations to the schema from the underlying
data sources, including the following:
o Friendly names for tables, views, and columns.
Named queries that return columns from one or more
data sources
o Named calculations that return columns from a data
source (that show as columns in tables or views).
o Logical primary keys
o Logical primary key - foreign key relationships
between tables, views, and named queries.
16
Data Source Views
Cubes
 Multidimensional structure containing
dimensions and measures
 Cells (the intersection between dimensions)
contain the measure values
Analysis Services
 CUBE
Dimensions
 Organized hierarchies of categories, levels, and
members
 Used to “slice” and query within a cube
 Based on an underlying dimension table
Measures
 Contain the data users are interested in
 Created using an aggregation function
 Based on an underlying fact table
Roles
 Defines end-user access to objects
 Contains a list of Windows NT/2000 users
and/or groups
 Defines the type and scope of access
o Database
o Cube
o Dimension
o Cell
o Mining model
Mining Models
 Groupings and predictive analysis based on
relational or OLAP data
 Interprets data based on statistical information
referred to as cases
Repository
 Database containing meta-data about the
objects
o Should be migrated to SQL Server
 Data folder to hold multidimensional structures
o Location defined during installation, but can be
modified
o Should be on an NTFS partition/volume
Dimensions
Varieties of Dimensions
 Regular
 Virtual
o Based on member properties
o Does not have stored aggregations
 Parent-child
o Based on lineage relationship between dimension
members
o Built using member and parent key values
Levels and Members
 (All) level and the All member
 Levels
o Correspond (loosely) to column names
 Members
o Contain the actual dimension data
o Have names and keys
Levels and Members
 Properties
o Level
o Member
 Custom rollup operators
o Use unary operators to determine rollups
 Custom rollup and member formulas
o Use MDX expressions to determine rollups and/or
to determine member values
 Member groups
o Automatically group large levels
Dimension Characteristics
 Changing
o Handles dimension changes without fully
reprocessing the dimension
o Virtual, parent-child, and ROLAP
 Dependent
o Members depend on another dimension
o Advantageous when cross product of two dimensions
results in large percentage of combinations that
cannot exist
Dimension Characteristics
 Balanced vs. unbalanced
o Hierarchy branches descend to the same or different
levels
o Unbalanced supported only by parent-child
 Ragged
o Members have parents not in the level immediately
above them
o Supported in regular and parent-child
 Multiple hierarchies
Dimension Characteristics
 Storage mode
o MOLAP
o ROLAP
 Write-enabled
o Supported only by parent-child
o Allows end-users (and administrators)
o Members can be changed, moved, added, deleted;
member properties can be updated
o Changes recorded directly in the underlying
dimension table
Measures
Measures
 Define the numbers that end users see
 Use aggregation functions
o Sum
o Count
o Min
o Max
o Distinct Count
 Display formats
Measures
 Calculated measures (or members)
o Use MDX expressions to provide calculations
o Never stored as aggregation data
o Can include Excel and VBA functions
o Have solve orders for dependencies
o Include display attributes (beyond formats)
Cubes
Varieties of Cubes
 Regular
 Linked
o Allow for reuse of cubes across servers
o Local caching helps reduce query loads
 Distributed
o Cubes can be broken down into partitions
o Partitions can be spread across servers
o Queries then get distributed (scalability!)
Varieties of Cubes
 Virtual
o Like views in a relational database
o Simplify and/or combine cubes together
o Can be used as a security mechanism
 Local
o Used by PivotTable Service to provide off-line access
to parts of a cube
 Real-time
o Combination of Analysis Services and SQL Server
can provide real-time capabilities
Cube Characteristics
 Storage mode
o MOLAP
 Data and aggregations compressed and stored
o ROLAP
 Data and aggregations stored in relational source
o HOLAP
 Aggregations stored, data remains relational
 Aggregation level
o Wizard to decide how much to aggregate
o Optimization wizard to redo based on usage
Cube Characteristics
 Partitioning
o Allows you to split cubes for scalability,
manageability, etc.
o Partitions defined based on dimensions
 Write-enabled
o Allows users to rewrite cube contents
o Changed data stored in a “write-back” partition as
difference values
o Non-atomic cell updates can be made if client
application can distribute changes
Security
Security
 Server authentication
o Direct connections (OLE DB for OLAP)
o Http connections via special ASP/DLL
 Roles
o Specify users and groups as members
o Have associated security rights
o Database, cube, and mining model roles
 Dimension security
 Cell-level security
Commands
Commands
 Actions
o Provide mechanisms to do more than just look at the
data
o Associated with dimensions, levels, members, or cells
 Calculated members
o Most often defined used for new measures
o Can also be used to define new members in any
dimension
Commands
 Named sets
o Allow you to create sets of members within a
dimension for analysis purposes
o Use MDX expressions to define membership
 Drill-through
o Give access to underlying relational data
o Can be used to provide access to lower levels of
detail than the cube includes
MDX
MDX (Multidimensional
Expressions)
 Query language for a cube
 Similar but different from SQL
 Handles DML as well as DDL
 Basic format is:
MDX
 Members, tuples, and sets
 Axis dimensions
o Columns, rows, pages, sections, chapters
o Axis(n)
 Slicer dimensions
o Where (<tuple definition>)
 MDX functions
Extensible Markup Language
for Analysis - XMLA
 XML/A is a Data Access Protocol Extending BI
to Microsoft .NET Platform
 Supports Exchange of Analytical Data Between
Clients and Servers
o Available on Any Device or Platform
o Using Any Programming Language

More Related Content

What's hot (20)

asp.net data controls
asp.net data controlsasp.net data controls
asp.net data controls
 
Krish data controls
Krish data controlsKrish data controls
Krish data controls
 
What is a DATA DICTIONARY?
What is a DATA DICTIONARY?What is a DATA DICTIONARY?
What is a DATA DICTIONARY?
 
MS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database ConceptsMS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database Concepts
 
Lecture03 abap on line
Lecture03 abap on lineLecture03 abap on line
Lecture03 abap on line
 
Cis266 final review
Cis266 final reviewCis266 final review
Cis266 final review
 
Introduction to ms access database
Introduction to ms access databaseIntroduction to ms access database
Introduction to ms access database
 
New
NewNew
New
 
Data Dictionary in System Analysis and Design
Data Dictionary in System Analysis and DesignData Dictionary in System Analysis and Design
Data Dictionary in System Analysis and Design
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
MIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome MeasuresMIS5101 WK10 Outcome Measures
MIS5101 WK10 Outcome Measures
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Final
FinalFinal
Final
 
3. ADO.NET
3. ADO.NET3. ADO.NET
3. ADO.NET
 
Database Concepts and Terminologies
Database Concepts and TerminologiesDatabase Concepts and Terminologies
Database Concepts and Terminologies
 
Transaction
TransactionTransaction
Transaction
 
Data dictionary
Data dictionaryData dictionary
Data dictionary
 

Similar to Analysis services day1

Obiee interview questions and answers faq
Obiee interview questions and answers faqObiee interview questions and answers faq
Obiee interview questions and answers faqmaheshboggula
 
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingMS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingSlava Kokaev
 
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...Polish SQL Server User Group
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligenceabercius24
 
Agile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS ReportingAgile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS ReportingDanielson Samuel
 
Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Mark Kromer
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESWesleyWenceslaus
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design documentadivasoft
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentadivasoft
 
Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mark Kromer
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouseganblues
 

Similar to Analysis services day1 (20)

Obiee interview questions and answers faq
Obiee interview questions and answers faqObiee interview questions and answers faq
Obiee interview questions and answers faq
 
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingMS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
 
6967176.ppt
6967176.ppt6967176.ppt
6967176.ppt
 
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
SQL DAY 2012 | DEV Track | Session 8 - Getting Dimension with Data by C.Tecta...
 
3 OLAP.pptx
3 OLAP.pptx3 OLAP.pptx
3 OLAP.pptx
 
Expert talk
Expert talkExpert talk
Expert talk
 
Sql Server 2005 Business Inteligence
Sql Server 2005 Business InteligenceSql Server 2005 Business Inteligence
Sql Server 2005 Business Inteligence
 
Data warehouse physical design
Data warehouse physical designData warehouse physical design
Data warehouse physical design
 
Olap
OlapOlap
Olap
 
Agile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS ReportingAgile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS Reporting
 
Metadata Creation In OBIEE
Metadata Creation In OBIEEMetadata Creation In OBIEE
Metadata Creation In OBIEE
 
Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)Azure Data Factory Data Flows Training (Sept 2020 Update)
Azure Data Factory Data Flows Training (Sept 2020 Update)
 
Presentation1
Presentation1Presentation1
Presentation1
 
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGESDATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
DATABASES NOTES FOR STUDENTS TAKING MICROSOFT PACKAGES
 
Dwh faqs
Dwh faqsDwh faqs
Dwh faqs
 
BI Publisher Data model design document
BI Publisher Data model design documentBI Publisher Data model design document
BI Publisher Data model design document
 
BI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design documentBI Publisher 11g : Data Model Design document
BI Publisher 11g : Data Model Design document
 
Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021Mapping Data Flows Training April 2021
Mapping Data Flows Training April 2021
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
 
Data Warehouse
Data WarehouseData Warehouse
Data Warehouse
 

Recently uploaded

Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 

Recently uploaded (20)

Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 

Analysis services day1

  • 2. Microsoft® SQL Server 2008 Analysis Services provides unified, fully integrated views of your business data to support online analytical processing (OLAP), key performance indicator (KPI) scorecards, and powerful data mining capabilities. It provides reliable business decision support solutions  SQL Server 2008 Analysis Services (SSAS) provides o Unified and integrated view of all your business data o Reporting, online analytical processing (OLAP) analysis o Key Performance Indicator (KPI) scorecards o Data mining
  • 5. Analysis Manager  Application for Database Administration  Snap-In to MMC  Decision Support Objects Analysis ServerDSO Analysis Manager Custom Administration Interface
  • 6. Analysis Server LimitsItems Limits Databases per server Unlimited Cubes per database Unlimited Cubes per virtual cube 64 Dimensions per cube 128 Measures per cube 1,024 Calculated members per cube 65,535 Levels per dimension 64 Partitions per cube Unlimited
  • 8. Databases and Data Sources  Database contains other Analysis Services objects  Data sources define where Analysis Services gets the data to populate dimensions and cubes o OLE DB providers o OLE DB for ODBC o MSSQLServerOLAPService service account
  • 9. Data Source Views  Data source views let you define a subset of the data that populates a large data warehouse.  They let you define a homogenous schema based on heterogeneous data sources or subsets of data sources.  Because data source views represent an isolated schema, you can add any required annotations without affecting the schemas of the underlying data sources 14
  • 10. A data source view contains the following items:  A name and a description. o A definition of any subset of the schema o Table names. o Column names. o Data types. o Nullability. o Column lengths. o Primary keys. o Primary key - foreign key relationships. 15 Data Source Views
  • 11.  Annotations to the schema from the underlying data sources, including the following: o Friendly names for tables, views, and columns. Named queries that return columns from one or more data sources o Named calculations that return columns from a data source (that show as columns in tables or views). o Logical primary keys o Logical primary key - foreign key relationships between tables, views, and named queries. 16 Data Source Views
  • 12. Cubes  Multidimensional structure containing dimensions and measures  Cells (the intersection between dimensions) contain the measure values
  • 14. Dimensions  Organized hierarchies of categories, levels, and members  Used to “slice” and query within a cube  Based on an underlying dimension table
  • 15. Measures  Contain the data users are interested in  Created using an aggregation function  Based on an underlying fact table
  • 16. Roles  Defines end-user access to objects  Contains a list of Windows NT/2000 users and/or groups  Defines the type and scope of access o Database o Cube o Dimension o Cell o Mining model
  • 17. Mining Models  Groupings and predictive analysis based on relational or OLAP data  Interprets data based on statistical information referred to as cases
  • 18. Repository  Database containing meta-data about the objects o Should be migrated to SQL Server  Data folder to hold multidimensional structures o Location defined during installation, but can be modified o Should be on an NTFS partition/volume
  • 20. Varieties of Dimensions  Regular  Virtual o Based on member properties o Does not have stored aggregations  Parent-child o Based on lineage relationship between dimension members o Built using member and parent key values
  • 21. Levels and Members  (All) level and the All member  Levels o Correspond (loosely) to column names  Members o Contain the actual dimension data o Have names and keys
  • 22. Levels and Members  Properties o Level o Member  Custom rollup operators o Use unary operators to determine rollups  Custom rollup and member formulas o Use MDX expressions to determine rollups and/or to determine member values  Member groups o Automatically group large levels
  • 23. Dimension Characteristics  Changing o Handles dimension changes without fully reprocessing the dimension o Virtual, parent-child, and ROLAP  Dependent o Members depend on another dimension o Advantageous when cross product of two dimensions results in large percentage of combinations that cannot exist
  • 24. Dimension Characteristics  Balanced vs. unbalanced o Hierarchy branches descend to the same or different levels o Unbalanced supported only by parent-child  Ragged o Members have parents not in the level immediately above them o Supported in regular and parent-child  Multiple hierarchies
  • 25. Dimension Characteristics  Storage mode o MOLAP o ROLAP  Write-enabled o Supported only by parent-child o Allows end-users (and administrators) o Members can be changed, moved, added, deleted; member properties can be updated o Changes recorded directly in the underlying dimension table
  • 27. Measures  Define the numbers that end users see  Use aggregation functions o Sum o Count o Min o Max o Distinct Count  Display formats
  • 28. Measures  Calculated measures (or members) o Use MDX expressions to provide calculations o Never stored as aggregation data o Can include Excel and VBA functions o Have solve orders for dependencies o Include display attributes (beyond formats)
  • 29. Cubes
  • 30. Varieties of Cubes  Regular  Linked o Allow for reuse of cubes across servers o Local caching helps reduce query loads  Distributed o Cubes can be broken down into partitions o Partitions can be spread across servers o Queries then get distributed (scalability!)
  • 31. Varieties of Cubes  Virtual o Like views in a relational database o Simplify and/or combine cubes together o Can be used as a security mechanism  Local o Used by PivotTable Service to provide off-line access to parts of a cube  Real-time o Combination of Analysis Services and SQL Server can provide real-time capabilities
  • 32. Cube Characteristics  Storage mode o MOLAP  Data and aggregations compressed and stored o ROLAP  Data and aggregations stored in relational source o HOLAP  Aggregations stored, data remains relational  Aggregation level o Wizard to decide how much to aggregate o Optimization wizard to redo based on usage
  • 33. Cube Characteristics  Partitioning o Allows you to split cubes for scalability, manageability, etc. o Partitions defined based on dimensions  Write-enabled o Allows users to rewrite cube contents o Changed data stored in a “write-back” partition as difference values o Non-atomic cell updates can be made if client application can distribute changes
  • 35. Security  Server authentication o Direct connections (OLE DB for OLAP) o Http connections via special ASP/DLL  Roles o Specify users and groups as members o Have associated security rights o Database, cube, and mining model roles  Dimension security  Cell-level security
  • 37. Commands  Actions o Provide mechanisms to do more than just look at the data o Associated with dimensions, levels, members, or cells  Calculated members o Most often defined used for new measures o Can also be used to define new members in any dimension
  • 38. Commands  Named sets o Allow you to create sets of members within a dimension for analysis purposes o Use MDX expressions to define membership  Drill-through o Give access to underlying relational data o Can be used to provide access to lower levels of detail than the cube includes
  • 39. MDX
  • 40. MDX (Multidimensional Expressions)  Query language for a cube  Similar but different from SQL  Handles DML as well as DDL  Basic format is:
  • 41. MDX  Members, tuples, and sets  Axis dimensions o Columns, rows, pages, sections, chapters o Axis(n)  Slicer dimensions o Where (<tuple definition>)  MDX functions
  • 42. Extensible Markup Language for Analysis - XMLA  XML/A is a Data Access Protocol Extending BI to Microsoft .NET Platform  Supports Exchange of Analytical Data Between Clients and Servers o Available on Any Device or Platform o Using Any Programming Language