project real and tips for migrating from sql server 2000 analysis services to sql server 2005 &...
Post on 21-Dec-2015
220 views
TRANSCRIPT
Project REAL and Tips for Migrating Project REAL and Tips for Migrating from SQL Server 2000 Analysis from SQL Server 2000 Analysis Services to SQL Server 2005 & Services to SQL Server 2005 & Deploying, Securing and Managing AS Deploying, Securing and Managing AS in SQL 2005in SQL 2005
Dan Weinstein Dan Weinstein BSCS,MCSD, MCDBA, MCTBSCS,MCSD, MCDBA, MCT
Chief Technology OfficerChief Technology OfficerTenix ConnectionsTenix Connections
Ask me for a Crossbow demo!
DAT212
Visit Visit www.sqlserver.com.auwww.sqlserver.com.au
Australian SQL User GroupsAustralian SQL User Groups for SQL professionals & those who want to be.for SQL professionals & those who want to be.
Monthly Meetings
+ Great info
+ Great Contacts
+ Pizza & Beer
It’s Free !!!
• Adelaide
• Brisbane
• Canberra
• Melbourne
• Sydney
• Perth
OverviewOverview
Managing AS 2005Managing AS 2005
Overview of Project REALOverview of Project REAL
AS Migration AS Migration
Product DemoProduct Demo
QuestionsQuestions
Managing Analysis ServicesManaging Analysis Services
ToolsToolsSQL Server SQL Server ManagementManagement Studio Studio
Business Intelligence Business Intelligence DevelopmentDevelopment Studio Studio (BIDS)(BIDS)
Profiler works against AS events nowProfiler works against AS events now
ASOASO
SecuringSecuring
Management ToolsManagement Tools
SQL Server Management Studio is used SQL Server Management Studio is used to manage to manage allall SQL Server databases SQL Server databases
Server console managementServer console management
Query analysis (SQL and MDX)Query analysis (SQL and MDX)
SQL Server Management StudioSQL Server Management Studio
Fully integrated management Fully integrated management environment for administrators and environment for administrators and developers, replacing the developers, replacing the Administration functionality of Administration functionality of Enterprise Manager, Analysis Manager Enterprise Manager, Analysis Manager and Query Analyzerand Query Analyzer
Used for managing server instances Used for managing server instances and databases, and for executing and databases, and for executing queries (SQL, MDX and DMX)queries (SQL, MDX and DMX)
BIDSBIDS
Fully integrated development Fully integrated development environment built on top of Visual environment built on top of Visual Studio 2005Studio 2005
Used for creating end-to-end business Used for creating end-to-end business intelligence solutionsintelligence solutions
BIDS FeaturesBIDS Features
Solution ExplorerSolution Explorer
Designers and Code WindowsDesigners and Code Windows
Non-modal dialog boxesNon-modal dialog boxes
ConfigurabilityConfigurability
ExtensibilityExtensibility
Provides for enhanced:Provides for enhanced:Project ManagementProject Management
DeploymentDeployment
TemplatesTemplates
Solutions and ProjectsSolutions and Projects
A Visual Studio Solution manages a A Visual Studio Solution manages a collection of one or more related collection of one or more related ProjectsProjects
Project templates:Project templates:Integration ServicesIntegration Services
Analysis Services (project and import Analysis Services (project and import database)database)
Reporting Services (project and wizard)Reporting Services (project and wizard)
Report ModelReport Model
Analysis Management Objects (AMO)Analysis Management Objects (AMO)
AMO replaces DSOAMO replaces DSO
DSO is still provided for backward DSO is still provided for backward compatibilitycompatibility
DSO does not contain new features DSO does not contain new features (like the ability to script an object’s (like the ability to script an object’s creation or modification)creation or modification)
Improved Security DesignImproved Security Design
Analysis Services is secure by defaultAnalysis Services is secure by default
Administrative permissions are fine-grainedAdministrative permissions are fine-grained
Local cubes can be encryptedLocal cubes can be encrypted
Analysis Services runs with the lowest Analysis Services runs with the lowest possible level of permissionspossible level of permissions
Client/server communication can be Client/server communication can be encrypted and signedencrypted and signed
Encryption is enforceable on the serverEncryption is enforceable on the server
Meta data is just XML files on the HD, so Meta data is just XML files on the HD, so secure using File System permissions.secure using File System permissions.
Project REAL Project REAL
Reference Implementation (Retail)Reference Implementation (Retail)
Phase 1 – Migrate packages and cubesPhase 1 – Migrate packages and cubes
Phase 2 – Build out cubes as best Phase 2 – Build out cubes as best practice Analysis Services 2005 cubespractice Analysis Services 2005 cubes
Role of AS Migration in Project REALRole of AS Migration in Project REAL
AS MigrationAS Migration
Introduction to UDMIntroduction to UDM
Building up vs. building downBuilding up vs. building down
Migration wizardMigration wizard
Migration vs. redesignMigration vs. redesign
Known issuesKnown issues
The UDM is a BridgeThe UDM is a Bridge
Unified Dimension Model (UDM)Unified Dimension Model (UDM)
Combination of relational and Combination of relational and analytical worlds analytical worlds
Attributes and attribute hierarchiesAttributes and attribute hierarchies
Data source viewsData source views
Measure groupsMeasure groups
PerspectivesPerspectives
Attributes and HierarchiesAttributes and Hierarchies
Attributes are first class citizensAttributes are first class citizens
Hierarchies are created from AttributesHierarchies are created from Attributes
Related attributes provide for Related attributes provide for aggregationsaggregations
May have hundreds or thousands of May have hundreds or thousands of attributes in a cube.attributes in a cube.
Data Source ViewsData Source Views
Provide a layer of abstraction. Provide a layer of abstraction. If you add/modify underlying source, need If you add/modify underlying source, need to update DSVto update DSV
Rename cryptic table/column namesRename cryptic table/column namesAllow you to write the queryAllow you to write the query
No inner join toNo inner join toFilter out dataFilter out dataSlow processingSlow processing
Better able to connect to non-SQL Server Better able to connect to non-SQL Server data sources – i.e. optimize for ingress or data sources – i.e. optimize for ingress or whatever.whatever.
Used as the basis for the cubeUsed as the basis for the cube
Measure GroupsMeasure Groups
Allow measures from multiple fact Allow measures from multiple fact tables in a single cubetables in a single cube
Provide a security mechanismProvide a security mechanism
Can be grouped in perspectivesCan be grouped in perspectives
PerspectivesPerspectives
Used to provide context for the usersUsed to provide context for the users
Combination of any attributes, Combination of any attributes, hierarchies, actions and measure hierarchies, actions and measure [group]s[group]s
Not a security mechanism. Need to Not a security mechanism. Need to manage both security (via Management manage both security (via Management Studio) and context (via perspectives) Studio) and context (via perspectives) separately as they can be different. separately as they can be different. MDX can still access anything an a MDX can still access anything an a perspective.perspective.
Building Up vs. Building DownBuilding Up vs. Building Down
AS2K Building UpAS2K Building Up
Many cubes per DM/DWMany cubes per DM/DW
Small cubes 6-12 Small cubes 6-12 dimensions dimensions
6-12 Measures6-12 Measures
Member Properties to help Member Properties to help with reporting issueswith reporting issues
Deep dimensions were a Deep dimensions were a killerkiller
Virtual Cubes to deal with Virtual Cubes to deal with large scenarioslarge scenarios
Virtual Cubes to deal with Virtual Cubes to deal with granularity issues granularity issues (measures from different (measures from different fact tables with differing fact tables with differing levels of granularity).levels of granularity).
AS2K5 Building Down AS2K5 Building Down (Adding Context)(Adding Context)
Large Cubes; with many Large Cubes; with many dimensions; with many dimensions; with many hierarchieshierarchies
Data Source Views provide Data Source Views provide an extraction layer to an extraction layer to effectively present one or effectively present one or more data sourcesmore data sources
Less Cubes per DW / DMLess Cubes per DW / DM
Reporting issues are solved Reporting issues are solved with attributeswith attributes
Perspectives are used to Perspectives are used to make sense of cube datamake sense of cube data
MigrationMigration
Migration WizardMigration Wizard
Does the best it can to recreate the same cube in Does the best it can to recreate the same cube in AS2K5.AS2K5.
Data Source views are automatically created as all Data Source views are automatically created as all tables in use from underlying data sources.tables in use from underlying data sources.
Cubes are migrated to new cubes not perspectivesCubes are migrated to new cubes not perspectives
Virtual Cubes are migrated to cubes, duplicate Virtual Cubes are migrated to cubes, duplicate underlying cubes and may require some attentionunderlying cubes and may require some attention
End Result is not “Best Practice” AS2K5 cubeEnd Result is not “Best Practice” AS2K5 cube
Does not take advantage of most new features; Does not take advantage of most new features; Perspectives, KPIs, and Translations are not created.Perspectives, KPIs, and Translations are not created.
Items not migrated include; drillthrough settings; Items not migrated include; drillthrough settings; remote partitions; linked cubesremote partitions; linked cubes
Scripting OptionScripting Option
Known IssuesKnown Issues
Additional Member Properties are added for next Additional Member Properties are added for next level up in the hierarchy. Don’t delete them they are level up in the hierarchy. Don’t delete them they are required for aggregations.required for aggregations.
Multiple Hierarchies translate to multiple dimensions Multiple Hierarchies translate to multiple dimensions and named differently. In example Time.Calander and named differently. In example Time.Calander and Time.Fiscal will most likely turn into Time and and Time.Fiscal will most likely turn into Time and Time 1. Time 1.
Dim may be added to deal with duplicate name Dim may be added to deal with duplicate name issues. For our example if there was also a issues. For our example if there was also a dimension hierarchy named Time then the First dimension hierarchy named Time then the First would be named Time and the hierarchies will would be named Time and the hierarchies will translate to TimeDim and TimeDim 1.translate to TimeDim and TimeDim 1.
Known IssuesKnown Issues
Virtual Cubes will duplicate underlying cubes. I.e. Virtual Cubes will duplicate underlying cubes. I.e. they are no longer Virtual.they are no longer Virtual.
Virtual Dimensions convert to hierarchies and data is Virtual Dimensions convert to hierarchies and data is loaded into cube. I.e. they are no longer Virtual.loaded into cube. I.e. they are no longer Virtual.
Virtual Cubes do not always pick up associated Data Virtual Cubes do not always pick up associated Data Source Views (if multiple have been created).Source Views (if multiple have been created).
Almost all columns of dimension tables are added as Almost all columns of dimension tables are added as attributes.attributes.
Unary operators and custom rollups are written as Unary operators and custom rollups are written as MDX expressions and the column is ignored from MDX expressions and the column is ignored from 2k5 on.2k5 on.
Migration vs. RedesignMigration vs. Redesign
Is the Migration Wizard end result what you Is the Migration Wizard end result what you want? Is it a starting point that you can alter want? Is it a starting point that you can alter later?later?
Questions to ask yourself:Questions to ask yourself:Do I have multiple data sources I want to Do I have multiple data sources I want to incorporate into the process?incorporate into the process?
Do I have multiple virtual cubes for granularity, Do I have multiple virtual cubes for granularity, security, and / or data set size issues?security, and / or data set size issues?
What is the current relationship between my What is the current relationship between my DW/DM and number of cubes?DW/DM and number of cubes?
How many member properties do you currently How many member properties do you currently use?use?
We invite you to participate in ourWe invite you to participate in our online evaluationonline evaluation on CommNet,on CommNet,
accessible Friday onlyaccessible Friday only
If you choose to complete the evaluation online, If you choose to complete the evaluation online, there isthere is no need to complete the paper evaluationno need to complete the paper evaluation
© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.