Free Newsletters:
DatabaseJournal  
DBANews
Search Database Journal:
 
HOME News MS SQL Oracle DB2 Access MySQL PostgreSQL PHP SQL Etc Scripts Links Discussion
internet.com

» HOME
» NEWS
» FEATURES
» SERIES
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Products
Scripts
Links
» DISCUSSION
» TECH JOBS

Marketplace Partners
Be a Marketplace Partner




internet.commerce
Be a Commerce Partner
Compare Prices
Find Software
Baby Photo Contest
Calling Cards
Promotional Pens
Auto Insurance Quote
Shop Online
Promos and Premiums
KVM Switches
Web Hosting Directory
Best Price
Rackmount LCD Monitor
Condos For Sale
Home Improvement




MySpace Joins eBay, Yahoo in Open Profile Push

News Corp. Unit Under Fire for Ties to Hacker

Are Non-PC Devices Hurting 'Net Innovation?

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Linked Data Planet Conference & Expo

CA ERwin® Data Modeler Proven database design and modeling. Efficiently analyze, design and deploy effective database solutions. Whitepaper: Manage SQL Server Deployments
Try it free: CA ERwin® Data Modeler


Solaris 8 Migration Assistant
Rapidly move your Solaris 8 application environments to new systems running Solaris 10 with the Solaris 8 Migration Assistant. Reduce migration risk while taking advantage of increased performance, reliability and security of the latest SPARC hardware platforms and Solaris 10 OS. »

 
Sun Eco Innovation: Good for Business, Good for the Environment
A complete solution to help you optimize and refresh your datacenter while properly recycling equipment and eliminating eWaste, including money-saving promotions to lower hardware acquisition costs. »

 
Sun Eco Innovation: Power Calculators
Power consumption has increasingly become a priority in customer's minds when purchasing new systems or storage. Sun's Power Calculators provide data on power consumption of Sun products allowing IT managers to better plan the power requirements in the datacenter to achieve better energy and cost savings. »

 
Optimize the Web Tier: Consolidate to Get More Performance in Less Space and Lower Power Consumption
Expansion in the Web tier is generally accomplished by adding more servers whenever extra capacity is needed. As the pool of servers grows larger, however, the complexity of the environment can grow exponentially. »
Related Articles
Introduction to SQL Server 2000 Analysis Services: Creating Our First Cube
Introduction to SQL Server 2000 Analysis Services: Working with Dimensions
Introduction to SQL Server 2000 Analysis Services: Handling Time Dimensions

Production Manager (hands on)
Aquent
US-MA-Cambridge

Justtechjobs.com Post A Job | Post A Resume
MS SQL
February 13, 2006
Process Analysis Services Objects with Integration Services
By William Pearson

About the Series ...

This article is a member of the series Introduction to MSSQL Server Analysis Services. The series is designed to provide hands-on application of the fundamentals of MS SQL Server Analysis Services, with each installment progressively presenting features and techniques designed to meet specific real - world needs. For more information on the series, please see my initial article, Creating Our First Cube.

Note: To follow along with the steps we undertake, the following components, samples and tools are recommended, and should be installed according to the respective documentation that accompanies MSSQL Server 2005:

  • Microsoft SQL Server 2005 Database Engine
  • Microsoft SQL Server 2005 Analysis Services
  • Microsoft SQL Server 2005 Integration Services
  • Business Intelligence Development Studio
  • Microsoft SQL Server 2005 sample databases
  • The Analysis Services Tutorial sample project and other samples that are available with the installation of the above.

To successfully replicate the steps of the article, you also need to have:

  • Membership within one of the following:
    • the Administrators local group on the Analysis Services computer
    • the Server role in the instance of Analysis Services.
  • Read permissions within any SQL Server 2005 sample databases we access within our practice session, if appropriate.

Note: Current Service Pack updates are assumed for the operating system, MSSQL Server 2005 ("MSSQL Server"), MSSQL Server 2005 Analysis Services ("Analysis Services"), MSSQL Server 2005 Reporting Services ("Reporting Services") and the related Books Online and Samples. Images are from a Windows 2003 Server environment, but the steps performed in the articles, together with the views that result, will be quite similar within any environment that supports MSSQL Server 2005 and its component applications.

Introduction

In this lesson we revisit an approach to automated / scheduled processing of an Analysis Services database (and related objects), a subject that we undertook in my article Process Analysis Services Cubes with DTS (Database Journal Introduction to MSSQL Server Analysis Services series), published in May of 2005. In the earlier article, we learned that, among several tools that Microsoft SQL Server 2000 Analysis Services offered to assist us in maintaining our cubes in a state of readiness, one of two custom Data Transformation Services ("DTS") tasks that accompanied the installation of Analysis Services 2000, the Analysis Services Processing task, provided us a prefabricated mechanism for performing Analysis Services processing functions. The DTS Analysis Services Processing task, we noted, was specifically designed for the purposes of handling processing of Analysis Services databases, dimensions, cubes, or other objects that we could manually process from Analysis Manager, but which we could not easily manage using "home made" (or other pre-packaged) DTS tasks.

In this article, we will examine the processing of an Analysis Services 2005 cube via another of the integrated MSSQL Server 2005 components, Integration Services ("SSIS"). Virtually anyone who works with MSSQL Server in an RDBMS context, and especially within a data warehouse or mart design perspective and related functions, will probably interact at least occasionally with SSIS – if only as an Import / Export utility. Just like its predecessor, DTS, SSIS is best known by early adopters primarily as a set of ETL (Extraction, Transformation and Load) utilities that accompany the integrated Microsoft BI Solution of which MSSQL Server 2005, Analysis Services, and Reporting Services are component parts. While SSIS does, indeed, perform well within the context of all of the stages of data transformation (examples include type conversions, scrubbing and validation, among others, to varying degrees), it also maintains a particularly high-profile role within the creation and maintenance of data warehouses, marts, or other such sources for business intelligence and organizational reporting, among many new additional features.

The flexible utility of SSIS packages is perhaps nowhere more apparent than within the realm of automation: they can be used to perform all manner of actions, including the execution of scripts and programs written in other languages, to help us to accomplish virtually any requirement necessary to meeting objectives of data warehousing, and far, far beyond.

In this article, we will overview the Analysis Services Processing task. As a part of our examination of this useful task, we will:

  • Introduce the Analysis Services Processing task, and discuss its uses;
  • Prepare for our practice exercise by creating an Integration Services project within Business Intelligence Development Studio;
  • Create an Integration Services package to house our Analysis Services Processing task, using SSIS Designer;
  • Add, and configure, an Analysis Services Processing task within the package;
  • Execute the package to ascertain its effectiveness.

Process an Analysis Services Database with Integration Services

Overview and Discussion

As we stated in Process Analysis Services Cubes with DTS, the recurring need to process our cubes is one of the most critical administrative tasks surrounding an Analysis Services implementation. Processing is essential to keeping our OLAP data sources in sync with the data sources that they summarize. The Analysis Services Processing task exists to perform the processing options that we typically perform manually from within either the Business Intelligence Development Studio or the SQL Server Management Studio (at least initially, in the design and development of our cubes and other Analysis Services objects). We can use this prefabricated task to automate our processing cycles, and thus keep our cubes updated to reflect the latest data in their underlying sources, all with minimal manual intervention.

As most of us know, processing is the step or steps that turn data into information for business analysis. This is true for all objects that we process, although the processing steps differ among various object types. Analysis Services 2005 requires that we deploy to the server the objects or projects that we design and build locally before we can perform processing. When deployment takes place, the re-creation and execution of our project occur thanks to a script that is sent to the targeted Analysis Services instance. While deployment processes all database objects by default, we have the option to change several facets of post-deployment processing, including the objects that are processed. The Analysis Services components to which we can apply our Integration Services-driven capabilities include those detailed, hierarchically, in Table 1.

Component

Use This Option to:

Database

Process (full or default) all cubes, measure groups, partitions, dimensions, mining models and mining structures within the selected Analysis Services database.

... Cube

Perform various types of processing (see Table 2 below for details) with the selected cube(s).

.... Measure Group

Perform various types of processing (see Table 2 below for details) with the selected measure group(s).

.... Partition

Perform various types of processing (see Table 2 below for details) with the selected partition(s).

... Dimension

Perform various types of processing (see Table 2 below for details) with the selected dimension(s).

... Mining Model

Perform various types of processing (see Table 2 below for details) with the selected mining model(s).

.... Mining Structure

Perform processing (default, full or unprocess) with the selected Mining Structure(s).


Table 1: Component Selection Options for the Analysis Services Processing Task

Cascaded processing occurs when we select and process higher-level objects that contain subordinate objects. As an illustration, if we select a given cube for processing, execution will cause processing of the dimensions, measure groups and partitions that are contained within the cube.

We also have the options depicted in Table 2 with regard to the manner in which we perform processing.

Component

Use This Option to:

Database

  • Process Default
  • Process Full
  • Unprocess
  • ... Cube

  • Process Default
  • Process Full
  • Process Data
  • Process Structure
  • Unprocess
  • Process Index
  • Process Incremental
  • Process Script Cache
  • .... Measure Group

  • Process Default
  • Process Full
  • Process Data
  • Unprocess
  • Process Incremental
  • Process Index
  • .... Partition

  • Process Default
  • Process Full
  • Process Data
  • Unprocess
  • Process Incremental
  • Process Index
  • ... Dimension

  • Process Default
  • Process Full
  • Unprocess
  • Process Data
  • Process Index
  • Process Update
  • ... Mining Model

  • Process Default
  • Process Full
  • Unprocess
  • .... Mining Structure

  • Process Default
  • Process Full
  • Process Structure
  • Process Clear Structure
  • Unprocess

  • Table 2: Processing Options – and the Components to Which They Apply

    NOTE: Properties for the Analysis Services Processing task can be set using the SSIS designer (this approach with which this article concerns itself) or programmatically.

    When we process multiple objects at the same time, we can define settings that apply to the processing of all the objects in the batch, as we shall see. When working with batches of this sort, we can process the constituent objects sequentially (in series) or in parallel (assuming that order of processing of the objects is not a consideration). Processing batch members in parallel offers speedier processing in general, and the Analysis Services Processing task affords us the flexibility of directing the number of objects that can process simultaneously.

    The Analysis Services Processing task offers us more options than its Analysis Services 2000 predecessor, even when we process sequentially. We can arrange grouping of all objects within a batch as a single transaction, or establish each as a separate transaction. Moreover, anytime we undertake to process Analysis Services objects, we can take advantage of the option to process objects that depend upon our selection, in addition to the selected objects themselves.

    Additional options that the Analysis Services Processing task provides include allowing us to manage error handling within dimension keys (an "ignore" or "stop processing" choice). We can substitute custom error configurations that we construct, whereby we can direct task error conditions and handling, as well as specifying an error log path, for default error configurations. We often employ the Analysis Services Processing task in conjunction with one or more other Integration Services tasks whereby we perform some or all of extraction, transformation and loading processes to populate the data warehouse / mart upon which a cube is based. An example might be a case where we use a Data Flow task (or group of tasks) to populate the tables of our star schema using data from an online transactional (OLTP) database, and then execute the Analysis Services Processing task to process a cube we have constructed that uses the star schema as a data source.

    We will gain some hands-on familiarity with the Analysis Services Processing task in the Practice section below. As a part of walking through the addition of an Analysis Services task to an Integration Services package we create, the configuration of the task, and the subsequent execution of the Integration Services package we construct to house it, we will comment on various settings and approaches as we encounter them.

    Considerations and Comments

    For purposes of the practice exercises within this series, we will be working with samples that are provided with MSSQL Server 2005 Analysis Services. The samples with which we are concerned include, predominantly, the Adventure Works DW Analysis Services database (with member objects). The Adventure Works DW database and companion samples are not installed by default in MSSQL Server 2005. The samples can be installed during Setup, or at any time after MSSQL Server has been installed.

    The topics "Running Setup to Install AdventureWorks Sample Databases and Samples" in SQL Server Setup Help or "Installing AdventureWorks Sample Databases and Samples" in the Books Online (both of which are included on the installation CD(s), and are available from www.Microsoft.com and other sources, as well), provide guidance on samples installation. Important information regarding the rights / privileges required to accomplish samples installation, as well as to access the samples once installed, is included in these references, as well.

    Go to page: 1  2  3  4  5  6  Next  

    Tools:
    Add databasejournal.com to your favorites
    Add databasejournal.com to your browser search box
    IE 7 | Firefox 2.0 | Firefox 1.5.x
    Receive news via our XML/RSS feed

    MS SQL Archives

    Download: SQL Compare Pro 6--The fastest, easiest way to compare and synchronize two databases.
    Download: Solaris 8 Migration Assistant. Run Solaris 8 apps on the latest SPARC systems and Solaris 10.
    IT in 2018: Download Free eBook By The Author Of "Does IT Matter?" Simple Registration Is Required.
    Learn about expanding business opportunities for the reseller channel. Visit IT Channel Planet.
    HP eBook: Using Business Service Management (BSM) to Manage Your Business Applications


    Latest Forum Threads
    MS SQL Forum
    Topic By Replies Updated
    How To Transfer Access Data Records To SQL ?? ankurdjariwala 1 May 8th, 12:24 PM
    problem with federated server linking majidkhan 1 April 29th, 10:00 AM
    "SELECT rowguidcol" from tables on linked servers? brentbordelon 1 April 25th, 04:12 PM
    "SELECT rowguidcol" vs. "SELECT <actual name>" rgarrison 9 April 16th, 03:46 PM







    JupiterOnlineMedia

    internet.comearthweb.comDevx.commediabistro.comGraphics.com

    Search:

    Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

    Jupitermedia Corporate Info


    Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

    Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

    Solutions
    Whitepapers and eBooks
    Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
    Avaya Article: How to Feed Data into the Avaya Event Processor
    Microsoft Article: Install What You Need with Win Server ‘08
    HP eBook: Putting the Green into IT
    Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
    Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
    Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
    Avaya Article: Setting Up a SIP A/S Development Environment
    IBM Article: How Cool Is Your Data Center?
    Microsoft Article: Managing Virtual Machines with Microsoft System Center
    HP eBook: Storage Networking , Part 1
    Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
    MORE WHITEPAPERS, EBOOKS, AND ARTICLES
    Webcasts
    Intel Video: Are Multi-core Processors Here to Stay?
    On-Demand Webcast: Five Virtualization Trends to Watch
    HP Video: Page Cost Calculator
    Intel Video: APIs for Parallel Programming
    HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
    Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
    MORE WEBCASTS, PODCASTS, AND VIDEOS
    Downloads and eKits
    Sun Download: Solaris 8 Migration Assistant
    Sybase Download: SQL Anywhere Developer Edition
    Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
    Red Gate Download: SQL Compare Pro 6
    Iron Speed Designer Application Generator
    MORE DOWNLOADS, EKITS, AND FREE TRIALS
    Tutorials and Demos
    How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
    eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
    IBM Article: Collaborating in the High-Performance Workplace
    HP Demo: StorageWorks EVA4400
    Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
    Microsoft How-to Article: Get Going with Silverlight and Windows Live
    MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES