Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum DBA Videos
internet.com

» Database Journal Home
» DBA Videos
» Database Articles
» Database Tutorials
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed



follow us on Twitter

Marketplace Partners
Be a Marketplace Partner

internet.commerce
Be a Commerce Partner


















Mariposa Bot Shipped With Vodafone Smartphone

IT Job Market Heating Up: Report

Bing Makes Strides But Momentum Stalls

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

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


Database Journal | DBA Support | SQLCourse | SQLCourse2







Related Articles
Dimension Attributes: Introduction and Overview, Part IV
Dimension Attributes: Introduction and Overview, Part II
Dimensional Model Components: Dimensions Part I
Dimensional Model Components: Dimensions Part II
Dimension Attributes: Introduction and Overview, Part I

Finance Developer (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

January 9, 2006

Usage-Based Optimization in Analysis Services 2005

By William Pearson

The Set Aggregation Options page appears next. This page is familiar to those of us who have used the Aggregation Design Wizard – and varies only little from the equivalent page of the previous version of Analysis Services.

18.  Under Design aggregation until, click the checkbox labeled Performance gain reaches, to select this aggregation option.

19.  Input 75 % into the selector box to the immediate right of the Performance gain reaches label.

The Set Aggregation Options page appears as shown in Illustration 38.

Click for larger image

Illustration 38: The Set Aggregation Options Page

20.  Click Start.

Aggregation design begins, and continues until the desired optimization objective is reached. In the present case, we receive a message in the status bar at the bottom of the Set Aggregation Options page, indicating a count of the aggregations designed, along with the optimization level percentage reached and the estimated storage size of the cube, similar to that depicted in Illustration 39.

Click for larger image

Illustration 39: Indication of Successful Aggregation Design Appears ...

Keep in mind that aggregations are only designed by the Wizard; the affected partitions must be processed to physically create the aggregations that the Wizard has designed.

21.  Click Next.

The Completing the Wizard page appears, providing an opportunity to review the partitions that are about to be optimized, once processing begins. We can elect to begin processing as the final step of the Usage-Based Optimization Wizard, or to defer processing until a later time. We will elect the former option at this point.

22.  Click the checkbox labeled Process partitions immediately, in the bottom left corner of the Completing the Wizard page.

The Completing the Wizard page appears, as shown in Illustration 40.


Illustration 40: The Completing the Wizard Page

23.  Click Finish.

The Process Objects dialog opens. Here we can perform various batch settings and review, for a final time (and even remove some, or all of) the objects scheduled to be processed. The Process Objects dialog appears as depicted in Illustration 41.


Illustration 41: The Process Objects Dialog

24.  Click OK to begin processing the partitions.

The Process Progress viewer appears, logging the events of the processing of the partitions as they occur. Once all scheduled partitions are processed, we receive a Process Succeeded message in the Status bar at the bottom of the viewer, as shown in Illustration 42.


Illustration 42: Successful Processing Completion is Indicated ...

25.  Click the Close button to dismiss the Process Progress viewer.

We are returned to the SQL Server Management Studio. Usage-based optimization is completed.

26.  Discard the clone Analysis Services database, ANSYS043 Adventure Works DW, as desired. (Right-click and Delete.)

27.  Reset the Log \ QueryLog \ CreateQueryLogTable entry, within the Analysis Server Properties dialog for your local server, to "false," if desired, to disable query logging.

28.  Select File ---> Exit, when ready to close SQL Server Management Studio.

We have completed our practice steps with an Analysis Services 2005 performance tuning tool, the Usage-Based Optimization Wizard. The Wizard is similar to the tool of this name within Analysis Services 2000, with performance and utility enhancements in evidence. The Usage-Based Optimization Wizard allows us to optimize the aggregations for our MSAS cubes partitions based upon queries that have previously been executed against the cube. Our ability to discriminate between common, frequently run queries and more ad hoc, less representative queries, when deciding the population to use as a basis for tuning the cube's performance with future queries, allows us to customize the action of the tool a bit beyond what we might expect of more typical wizardry. One of numerous characteristics of the process that remains unchanged since Analysis Services 2000 is the role of the administrator within this flexible, albeit guided tuning event: making the correct selections here can certainly inject the element of artistry into what might otherwise appear to be an objective evolution.

Conclusion

In this lesson, we revisited the Usage-Based Optimization Wizard, which remains a formidable tool in our Analysis Services 2005 administration toolset. We noted that the Usage-Based Optimization Wizard embellishes the effectiveness of the Usage Analysis (going significantly farther than the generation of simple reports) and Storage Design (allowing for up-to-date, usage-based optimization) Wizards. The Usage-Based Optimization Wizard offers us the capability to base aggregation design upon a given cube's usage statistics, in combination with other factors, and to make subsequent adjustments to our existing aggregation design and storage mode as time passes, and as information is collected, from which meaningful statistics can be derived.

In this article, we examined the operation of the Usage-Based Optimization Wizard within a context of aggregation design. Our practice exercise included preparation steps, within which we created a copy of a sample Analysis Services database for use in our practice exercise, enabled the Analysis Server Query Log to capture query statistics, processed the clone database, and then manipulated data within a cube therein to create Query log entries. We then performed a procedure whereby we set aggregations for our designated practice cube with the Usage-Based Optimization Wizard. Throughout the guided steps of the Wizard, we examined each of the possible settings that it makes available to us, and commented upon general optimization concepts as we proceeded through the practice example.

» See All Articles by Columnist William E. Pearson, III

Discuss this article in the MSSQL Server 2000 Analysis Services and MDX Topics Forum.

Introduction to MSSQL Server Analysis Services Series
Part 88: Introduction to Security in Analysis Services
Part 87: Cube Storage: Planning Partitions from a SQL Server Management Studio Perspective
Part 86: Cube Storage: Planning Partitions (Business Intelligence Development Studio Perspective)
Part 85: Cube Storage: Introduction to Partitions
Part 84: Introduction to Cube Storage
Part 83: Attribute Discretization: Customize Grouping Names
Part 82: Attribute Discretization: Using the “Clusters” Method
Part 81: Attribute Discretization: Using the “Equal Areas” Method
Part 80: Attribute Discretization: Using the Automatic Method
Part 79: Introduction to Attribute Discretization
Part 78: More Exposure to Settings and Properties in Analysis Services Attribute Relationships
Part 77: Attribute Relationships: Settings and Properties
Part 76: Introduction to Attribute Relationships in MSSQL Server Analysis Services
Part 75: Attribute Member Values in Analysis Services
Part 74: MSSQL Analysis Services - Attribute Member Names
Part 73: Attribute Member Keys – Pt 2: Composite Keys
Part 72: Attribute Member Keys – Pt 1: Introduction and Simple Keys
Part 71: Dimension Attributes: Introduction and Overview, Part V
Part 70: Dimension Attributes: Introduction and Overview, Part IV
Part 69: Dimension Attributes: Introduction and Overview, Part III
Part 68: Dimension Attributes: Introduction and Overview, Part II
Part 67: Dimension Attributes: Introduction and Overview, Part I
Part 66: Dimensional Model Components: Dimensions Part II
Part 65: Dimensional Model Components: Dimensions Part I
Part 64: Manage Unknown Members in Analysis Services 2005, Part II
Part 63: Manage Unknown Members in Analysis Services 2005, Part I
Part 62: Alternatively Sorting Attribute Members in Analysis Services 2005
Part 61: Introduction to Linked Objects in Analysis Services 2005
Part 60: Distinct Counts in Analysis Services 2005
Part 59: Positing the Intelligence: Conditional Formatting in the Analysis Services Layer
Part 58: Administration and Optimization: SQL Server Profiler for Analysis Services Queries
Part 57: Mastering Enterprise BI: Time Intelligence Pt. II
Part 56: Mastering Enterprise BI: Time Intelligence Pt. I
Part 55: Design and Documentation: Introducing the Visio 2007 PivotDiagram
Part 54: Actions in Analysis Services 2005: The URL Action
Part 53: Actions in Analysis Services 2005: The Drillthrough Action
Part 52: Mastering Enterprise BI: Introducing Actions in Analysis Services 2005
Part 51: Mastering Enterprise BI: Introduction to Translations
Part 50: Mastering Enterprise BI: Introduction to Perspectives
Part 49: Introduction to the Analysis Services 2005 Query Log
Part 48: Mastering Enterprise BI: Working with Measure Groups
Part 47: Mastering Enterprise BI: Introduction to Key Performance Indicators
Part 46: Mastering Enterprise BI: Extend the Data Source with Named Calculations, Pt. II
Part 45: Mastering Enterprise BI: Extend the Data Source with Named Calculations, Pt. I
Part 44: Process Analysis Services Objects with Integration Services
Part 43: Usage-Based Optimization in Analysis Services 2005
Part 42: Named Sets Revisited
Part 41: Migrating an Analysis Services 2000 Database to Analysis Services 2005
Part 40: Introducing Data Source Views
Part 39: Reporting Options for Analysis Services Cubes: MS Excel 2003 and More ...
Part 38: Mastering Enterprise BI: Create Aging "Buckets" in a Cube
Part 37: Mastering Enterprise BI: Relative Time Periods in an Analysis Services Cube, Part II
Part 36: Mastering Enterprise BI: Relative Time Periods in an Analysis Services Cube
Part 35: Process Analysis Services Cubes with DTS
Part 34: Presentation Nuances: CrossTab View - Same Dimension
Part 33: Point-and-Click Cube Schema Simplification
Part 32: Manage Distinct Count with a Virtual Cube
Part 31: Distinct Count Basics: Two Perspectives
Part 30: Semi-Additive Measures and Periodic Balances
Part 29: Performing Incremental Cube Updates - An Introduction
Part 28: Partitioning a Cube in Analysis Services - An Introduction
Part 27: Basic Storage Design
Part 26: Derived Measures vs. Calculated Measures
Part 25: Creating a Dynamic Default Member
Part 24: Another Approach to Local Cube Design and Creation
Part 23: Introduction to Local Cubes
Part 22: Actions in Virtual Cubes
Part 21: Putting Actions to Work in Regular Cubes
Part 20: Reporting Options for Analysis Services Cubes: ProClarity Part II
Part 19: Reporting Options for Analysis Services Cubes: ProClarity Professional, Part I
Part 18: Using Calculated Cells in Analysis Services , Part II
Part 17: Using Calculated Cells in Analysis Services, Part I
Part 16: MSAS Administration and Optimization: Toward More Sophisticated Analysis
Part 15: MSAS Administration and Optimization: Simple Cube Usage Analysis
Part 14: Build a Web Site Traffic Analysis Cube: Part II
Part 13: Build a Web Site Traffic Analysis Cube: Part I
Part 12: Reporting Options for Analysis Services Cubes: Cognos PowerPlay
Part 11: Reporting Options for Analysis Services Cubes: MS FrontPage 2002
Part 10: Reporting Options for Analysis Services Cubes: MS Excel 2002
Part 9: Drilling Through to Details: From Two Perspectives
Part 8: Custom Cubes: Financial Reporting - Part II
Part 7: Custom Cubes: Financial Reporting
Part 6: Exploring Virtual Cubes
Part 5: Working with the Cube Editor
Part 4: Parent-Child Dimensions
Part 3: Handling Time Dimensions
Part 2: Working with Dimensions
Part 1: Creating Our First Cube


Go to page: Prev  1  2  3  4  5  6  7  

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








Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
Inner and outer select mussab 2 March 10th, 04:16 AM
SQL server 2008 in windows 7 pro problem theresatan 2 March 6th, 08:35 PM
code for re-build index and shrink db or file? mib 7 March 5th, 08:50 AM
sql maintenance plan fails database missing tbrownch 3 February 24th, 08:53 AM









The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers