5985562980

Embed Size (px)

Citation preview

  • 8/10/2019 5985562980

    1/41

    TNQ400-13

  • 8/10/2019 5985562980

    2/41

    How To Use Office 2000Features In Data Warehousing

    Michael L. FlakusSenior ConsultantBEST Consulting

  • 8/10/2019 5985562980

    3/41

    Session Prerequisites

    This session assumes that youunderstand the fundamentals of:

    Basic knowledge of Office 2000

    Basic knowledge ofMicrosoftSQL Server7.0

    This is a level 200 session

  • 8/10/2019 5985562980

    4/41

    What You Will Learn Today

    Using Excel 2000 PivotTable andPivotChart to accessMulti-Dimensional data

    Using PivotTable and Chart Office WebComponents (OWC) to access Multi-Dimensional data

    Overview of Microsoft SQL ServerOLAP services and functionality

  • 8/10/2019 5985562980

    5/41

  • 8/10/2019 5985562980

    6/41

    Data Warehouse Framework

    Operational

    Sources

    Data Warehouse/Data Mart Design

    Data Warehouse Management

    Data

    Transform/

    Cleansing

    Data Marts or

    Data

    WarehouseInformation

    Dir

    Building Using

    Manag

    ing

    Meta -Data FlowData Flow

    Repository (Persistent Shared Meta -Data)

    Schema Transform Schedule OLAP

    End-User Tools

    Repl InfoPublish

    Source: Microsoft SQL Server 7.0 Data Warehousing Framework

    http://www.microsoft.com/sql/bizsol/datawareframe.htm

    http://www.microsoft.com/sql/bizsol/datawareframe.htmhttp://www.microsoft.com/sql/bizsol/datawareframe.htm
  • 8/10/2019 5985562980

    7/41

    Software And Components

    Office 2000 Excel PivotTable and PivotChart

    Office Web Components (OWC) PivotTableand Chart

    Excel Microsoft Query

    Used to create or open connection to data source

    An optional Microsoft Office component

    Internet Explorer (IE) 4.01 or greater (OWC donot work with Netscape Navigator)

  • 8/10/2019 5985562980

    8/41

    Software Installation Tip

    Include Microsoft Query in standardOffice 2000 installation for users whowill be creating or opening databaseconnections

  • 8/10/2019 5985562980

    9/41

    OLAP Data Source Options

    OLAP Service Provider Microsoft OLAP Provider

    Third-party OLAP Provider (conform

    to OLE-DB for OLAP standard and beOffice compatible)

    OLE DB for OLAP Web Site:http://www.microsoft.com/data/oledb/olap/default.htm

    Offline Cube files (.cub)

    http://www.microsoft.com/data/oledb/olap/default.htmhttp://www.microsoft.com/data/oledb/olap/default.htm
  • 8/10/2019 5985562980

    10/41

    About Offline Cube Files

    Offline cubes files (.cub) fromOLAP data Can be created using Excel

    Include as subset or all data

    Allow users to continue working withdata when disconnected from network

    Can be updated when reconnected

    Generally, provide slower performance Do not include calculated measures

    May not be supported by third-partyOLAP providers

  • 8/10/2019 5985562980

    11/41

    Creating A Data Source

    To connect to OLAP data, youcreate a data source usingMicrosoft Query

    Microsoft Query is invoked either; While using the PivotTable and

    PivotChart wizard

    Or, directly from the Excel 2000 menu

  • 8/10/2019 5985562980

    12/41

    PivotTable InteractionWith OLAP Data Sources

    MDX

    Query

    Data Set

    Results

    Excel

    2000

    Client

    Internet

    Explorer

    Client

    OLAP Data

    Source

    OLE DB for OLAP Provider

    MDX

    Query

    Data Set

    Results

  • 8/10/2019 5985562980

    13/41

    Todays Demo Scenarios

    Northwind sales representatives needto analyze company sales data

    The Northwind IT department needs to

    broadly, easily, and securely provideaccess to the OLAP database

    Overview of the process used tocreate an OLAP database

  • 8/10/2019 5985562980

    14/41

    Demo 1

    ScenarioNorthwind salesrepresentatives need to analyzecompany sales data

    SolutionProvide interactive toolsthat allow users to view and exploreOLAP data

  • 8/10/2019 5985562980

    15/41

  • 8/10/2019 5985562980

    16/41

    PivotTable OptionsNon-OLAP

    For best performance,leave these two ExcelPivotTable Options to

    default values asfollows:

    Save table with datalayout enabled

    Refresh on opendisabled

    Consider disablingSave password

  • 8/10/2019 5985562980

    17/41

  • 8/10/2019 5985562980

    18/41

    Best Practices

    OLAP Data sources provide bestperformance for large or frequentlyrefreshed data sets

    Selecting and linking data in anOLAP data Source is not required

    Offline Cube files do not useWindows NT Security

  • 8/10/2019 5985562980

    19/41

    Pop Quiz

    What is Microsoft Query used for?

    Why do OLAP data sources generallyprovide better performance with largeor frequently accessed data sets?

    A: Connecting to an OLAP data cube

    A: They use a client / server architecture

    and return only the selected data

  • 8/10/2019 5985562980

    20/41

    OWC PivotTableAnd Chart

  • 8/10/2019 5985562980

    21/41

    Office Web Components

    Office Web Components (OWC)OWC are included in Office 2000 and behavesimilarly to other office applications, butoperate in an internet environment

    These components include:

    The Spreadsheet Component

    The Data Source Component

    The Chart Component

    The PivotTable Component

  • 8/10/2019 5985562980

    22/41

    Demo 2

    ScenarioInterest in NorthwindsOLAP data has grown within thecompany; The IT department needsto broadly, easily, and securelyprovide access to the OLAP database

    SolutionUse the Web to distributePivotTable and Chart views of

    OLAP data

  • 8/10/2019 5985562980

    23/41

    OWC And Office 2000

    No technical dependency Office 2000 does not need to be

    installed before deploying OWC

    Can coexist with Office 95 and 97 OWC components are licensed with

    Office 2000

    Compatible with Office Can be deployed before Office 2000

  • 8/10/2019 5985562980

    24/41

    OWC Component Install

    Create an Office 2000 Install Imageusing setup.exe /a or the ORK thatinstalls the OWC

    Set Codebase Attribute toMSOWC.CAB to call the Web installercontrol

    For more information see Chapter 12of Programming Microsoft Office 2000Web Components by Dave Stearns(MS Press, 1999)

  • 8/10/2019 5985562980

    25/41

    Pop Quiz

    How are Office Web ComponentsLicensed?

    Which components are used toaccess OLAP data?

    A: With Office 2000

    A: PivotTable and Chart

    Do the component require Office 2000to be installed on the workstation?

    A: No, they can be installed independently

  • 8/10/2019 5985562980

    26/41

    Overview Of Microsoft SQL ServerOLAP Services And Functionality

    Building Using

    Operational

    Sources

    Data Warehouse/Data Mart Design

    Data Warehouse Management

    Data

    Transform/

    Cleansing

    Data Marts or

    Data

    Warehouse

    Information

    Dir

    Managin

    g

    Meta -Data FlowData Flow

    Repository (Persistent Shared Meta -Data)

    Schema Transform Schedule OLAP

    End-User Tools

    Repl InfoPublish

  • 8/10/2019 5985562980

    27/41

    Northwind OLTP Schema

  • 8/10/2019 5985562980

    28/41

    Northwind Star Schema

  • 8/10/2019 5985562980

    29/41

    OLAP Sales Cube

  • 8/10/2019 5985562980

    30/41

    OLAP Process

    Cube

    Building Design Extract

    Transform

    Load

    Process

    Query

    Tools ClassicReports

    PivotTable

    PivotChart

    SecurityOLAP

    Server

    OLTP

    Sources

  • 8/10/2019 5985562980

    31/41

    Demo 3

    ScenarioProduce OLAP multi-dimensionaldatabase from OLTP data source

    SolutionProvide tools to enable thecreation of multi-dimensional databases

  • 8/10/2019 5985562980

    32/41

    OLAP Database BackupAnd Recovery

    The entire database can bebacked up with standard fileserver backup routines

    OLAP Add-in Package allows thebacking up and restoring ofindividual OLAP database

  • 8/10/2019 5985562980

    33/41

    Best Practices

    Clearly communicate to users thestructure, origin, and content of thesource data

    Learn techniques to improve build andviewing performance

    OLAP Services: Performance Implicationsof the Architecture

    http://msdn.microsoft.com/library/backgrnd/html/olapperf.htm

    http://msdn.microsoft.com/library/backgrnd/html/olapperf.htmhttp://msdn.microsoft.com/library/backgrnd/html/olapperf.htm
  • 8/10/2019 5985562980

    34/41

    Pop Quiz

    What does OLAP represent?A: Online Analytical Processing

    What happens in the back room of the

    process?A: Data is extracted, transformed, and

    loaded into a multi-dimensional schema

    What happens in the front room of theprocess?

    A: Data is presented in a secure manner to

    the end-user for analysis

  • 8/10/2019 5985562980

    35/41

    Why OLAP Services AndOffice 2000?

    Intelligentaggregations

    Significantly smaller databases for same performance Faster initial and incremental load times

    Flexiblestorage

    architecture

    Supports MOLAP, ROLAP, and HOLAP equally well

    Application requirements determine storage

    Ease-of-mgmt

    Lower TCO

    Broader accessibility of data warehousing

    PivotTable

    Service

    Client-side cache - improves performance

    Client/server architecture for Excel PivotTables

  • 8/10/2019 5985562980

    36/41

  • 8/10/2019 5985562980

    37/41

    For More Information

    Refer to the TechNet website at www.microsoft.com/technet/

    MicrosoftOfficial Curriculum

    MOC website: onwww.microsoft.com/train_cert/

    Visit our Technology Center on SQL

    Server www.microsoft.com/TechNet/SQL

    IT Professionals User Groups

    www.microsoft.com/technet/usergroup/default.asp

    http://www.microsoft.com/technet/http://www.microsoft.com/train_cert/http://www.microsoft.com/TechNet/SQLhttp://www.microsoft.com/technet/usergroup/default.asphttp://www.microsoft.com/technet/usergroup/default.asphttp://www.microsoft.com/TechNet/SQLhttp://www.microsoft.com/train_cert/http://www.microsoft.com/technet/
  • 8/10/2019 5985562980

    38/41

    Suggested Reading

    Programming Microsoft Office 2000 WebComponentsby Dave Stearns, (Aug 1999),Microsoft Press; ISBN: 073560794X

    Microsoft OLAP Unleashed

    by Tim Peterson, Jim Pinkelman, Bob Pfeiff,(Nov 1999) Sams; ISBN: 0672316714

    Microsoft OLAP Solutionsby Erik Thomsen,George Spofford, Dick Chase, (Jul 1999)

    John Wiley and Sons; ISBN: 0471332585

  • 8/10/2019 5985562980

    39/41

    Suggested Reading

    The Data Warehouse Toolkitby Ralph Kimball,(Feb 1996), John Wiley and Sons, ISBN 0471153370

    The Data Warehouse Lifecycle Toolkitby RalphKimball, Laura Reeves, Margy Ross, WarrenThornwaite, (Aug 1998), John Wiley and Sons,ISBN 0471255475

    Data Warehouse Design Solutionsby ChristopherAdamson, Michael Venerable, ( Jul 1999) JohnWiley and Sons; ISBN: 047125195X

    The Data Webhouse Toolkitby Ralph Kimball,(Jan 2000), John Wiley and Sons, ISBN 0471376809

  • 8/10/2019 5985562980

    40/41

    Session Credits

    Author: Michael L. Flakus Producer/Editor: Mike McWilliams

    Thanks to Our Microsoft Technical Field

    personnel who reviewed this session: Joel Bubeck

    Mark Steel

  • 8/10/2019 5985562980

    41/41

    TNQ400-13