Exforsys

Analysis Services Training

  1. MSAS - Browsing the Dependency Network
  2. MSAS - Building a Relational Decision Tree Model
  3. MSAS - Introduction to Data Mining
  4. MSAS - Applying security to a Dimension
  5. Tutorial 65: MSAS - Managing Cube Roles
  6. MSAS - Understanding Database Roles
  7. MSAS - Securing User Authentication
  8. MSAS - Introducing Analysis Services Security
  9. MSAS - Writebacks
  10. MSAS - Defining and Creating Drillthrough
  11. MSAS - Defining and Creating Auctions
  12. MSAS - Creating and Maintaining Calculated Members in Virtual Cubes
  13. MSAS - Building a Virtual Cube
  14. MSAS - Understanding Virtual Cubes
  15. MSAS - Introducing Solve Order
  16. MSAS - Implementing Calculations Using MDX Part 2
  17. MSAS - Implementing Calculations Using MDX Part 1
  18. MSAS - Merging Partitions
  19. MSAS - Introduction and Managing Partitions
  20. MSAS - Troubleshooting Cube Processing
  21. MSAS - Optimizing Cube Processing
  22. MSAS - Processing Dimensions and Cubes
  23. MSAS - Introducing Dimension and Cube Processing
  24. MSAS: Optimization Tuning Part 2
  25. MSAS: Optimization Tuning Part 1
  26. MSAS: Usage-Based Optimization
  27. MSAS: Analysis Services Aggregations
  28. MSAS: The Storage Design Wizard
  29. MSAS: Analysis Server Cube Storage
  30. MSAS: Defining Cube Properties
  31. MSAS: Introduction and Working with Measures
  32. MSAS: Introduction and Working with Cubes
  33. MSAS: Virtual Dimensions
  34. MSAS: Introducing Member Properties
  35. MSAS: Creating Custom Rollups
  36. MSAS: Creating a Time Dimension
  37. MSAS: Understanding Hierarchies
  38. MSAS: Dimension Storage Modes and Levels
  39. MSAS: Working with Levels and Hierarchies
  40. MSAS: Working with Parent-Child Dimensions
  41. MSAS : Basics of Levels
  42. MSAS : Working with Standard Dimensions
  43. MSAS : Shared vs Private Dimensions
  44. Understanding Dimension Basics
  45. MSAS : Office 2000 OLAP Components
  46. MSAS : Client Architecture
  47. MSAS : Cube Storage options
  48. MSAS : Meta data Repository
  49. MSAS : Analysis services Tools for Extended Functionality
  50. MSAS : The Wizards
  51. MSAS : The Analysis Manager and Analysis Server
  52. MSAS : The Data warehousing framework of SQL Server 2000 - Part 2
  53. MSAS : The Data warehousing framework of SQL Server 2000 - Part 1
  54. MSAS : Microsoft Data Warehousing Overview
  55. MSAS : Browsing the Cube
  56. MSAS : Designing Storage and Processing the Cube
  57. MSAS : Building the Cube Part #3
  58. MSAS : Building the Cube Part #2
  59. MSAS : Building the Cube Part #1
  60. MSAS : Setting up the Database in Analysis Server
  61. MSAS : Preparing to Create the Cube
  62. MSAS : Introducing Analysis Manager Wizards
  63. Microsoft Analysis Services Installation
  64. MSAS - Applying OLAP Cubes
  65. Understanding OLAP Models
  66. Designing the Dimensional Model and Preparing the data for OLAP
  67. Design of the data warehouse: Kimball Vs Inmon
  68. Defining OLAP Solutions and Data Warehouse design
  69. Microsoft Analysis Services Training
  70. Data Warehouse database and OLTP database
  71. Introduction to Data Warehousing

Ads


Home arrow Technical Training arrow Analysis Services Training

MSAS: Optimization Tuning Part 2 Page - 2

Page 2 of 2
Author : Exforsys Inc.     Published on: 14th Apr 2005

MSAS: Optimization Tuning Part 2

Analyzing Usage patterns

To produce on screen report of the cubes query patterns, Analysis Services provides the user with a tool called the Usage Analysis Wizard. We have discussed how this tool is used in the above sections, so we will not go into the details of it here. We will be content with a reiteration of its features. The tool is used in conjunction with the Usage Based Analysis Wizard. The content of the reports are drawn from the Log files and the same can be tailored by setting the criteria of selection of data from the Log. The reports that can be generated by the Usage Analysis Wizard are:

Ads

1. Query Run Time table: This report gives details of the run time of queries from the longest to the shortest run time

2. Query Frequency Table: The frequency of queries ordered from the most to the least are displayed
3. Active User table: Reports on details of users and the number of queries sent by them ordered from the most to the least.

4. Query response Graph: A graphical representation of response time

5. Query By Hour Graph: The total number of queries processes, grouped by the hour, graphically presented.

6. Query By Date Graph: Graphical presentation of queries sent, grouped by date.

The next tool is the Usage Based Optimization Wizard. This has also been discussed in detail in the foregoing sections. This is used to optimize aggregations based on usage by end users. It is used in tandem with the Usage Analysis Wizard. It is helpful in optimizing all the partitions of the cube individually. Existing aggregations can be replaced or new aggregations can be created using this wizard. The storage mode of the partition or cube can also be changed using this wizard. The partitions/cubes can be processed after the aggregations are set and the partitions are optimized. The Usage Based Optimization Wizard is nothing but the Storage Design Wizard with a few screens built into its front.

Query Enhancements also help in optimizing server performance and cube data analysis. Use of stored procedures, refinement of SQL statements, Creation of surrogate keys on tables with multipart primary keys, use of hints, Ad hoc caching, scheduling of events in the usage trough and inspection of triggers could go a long way in enhancing query performance.

Tuning up Windows 2000 and fine tuning SQL Server settings also help enhance performance.

1. Windows 2000 should be set to maximize data throughput for network applications. This can be done by navigating to Settings>Network and Dialup connections> Local Area Connections>Properties>File and Printer Sharing and selecting Maximize data throughput by clicking on Server Optimization.

2. Performance boost for front end applications should be disabled. Click Control Panel>System>Advanced tab> Performance Options button. Change the Application Response to Background services.

3. Select a different virtual memory for Windows and SQL Server. Navigate to Performance Options as above and under Virtual memory select Change and make the adjustment.

4. Increase receive buffers of the Network Interface card. Navigate to Computer Management MMC >Device Manager>Network card and select Advanced Tab. Select Property: Receive Buffers and set the value to 1024 or whichever is the highest value available.

Ads

Fine tune SQL Server settings by doing the following

1. In the Enterprise manager Right click on the server instance and select properties. The minimum memory for a query is set at 1024 at the bottom of the default setting for minimum memory for a query. This has to be advanced upto 2GB. The default max server memory option need not be tampered with as it is set at maximum anyway.

2. In the Database settings tab, the Recovery Interval default is set to 1 minute. This is ideal for the development environment but should be 8-16 minutes for production environment.

3. Set the Priority boost to 1 on a dedicated server

4. Tune Network packet size depending on the size of the end user packets. Use 1024 byte increments.

5. AWE enabled in server is to be set to 1. This enables the server to use Windows 2000 Address Windowing Extensions to support large address spaces.

To summarize Optimization tuning involves refinement at every level. The hardware, the software and the databases have all to be tuned to give optimum performance. The data warehouse tables have to be indexed, an intelligent storage strategy will have to be framed, the correct and considered level of aggregations will have to be selected, good high quality SQL statements and query parameters will have to be used and so on… The list can be endless, depending on the issues encountered and the environment and usage intensity etc. The above covers only a few aspects of optimization tuning in the SQL Server 2000 Analysis Services.

In the lessons that follow we will be going into greater detail on different aspects of cubes and dimensions and also touching upon MDX queries to enhance queries.

















 
This tutorial is part of a Analysis Services Training tutorial series. Read it from the beginning and learn yourself.

Analysis Services Training

  1. MSAS - Browsing the Dependency Network
  2. MSAS - Building a Relational Decision Tree Model
  3. MSAS - Introduction to Data Mining
  4. MSAS - Applying security to a Dimension
  5. Tutorial 65: MSAS - Managing Cube Roles
  6. MSAS - Understanding Database Roles
  7. MSAS - Securing User Authentication
  8. MSAS - Introducing Analysis Services Security
  9. MSAS - Writebacks
  10. MSAS - Defining and Creating Drillthrough
  11. MSAS - Defining and Creating Auctions
  12. MSAS - Creating and Maintaining Calculated Members in Virtual Cubes
  13. MSAS - Building a Virtual Cube
  14. MSAS - Understanding Virtual Cubes
  15. MSAS - Introducing Solve Order
  16. MSAS - Implementing Calculations Using MDX Part 2
  17. MSAS - Implementing Calculations Using MDX Part 1
  18. MSAS - Merging Partitions
  19. MSAS - Introduction and Managing Partitions
  20. MSAS - Troubleshooting Cube Processing
  21. MSAS - Optimizing Cube Processing
  22. MSAS - Processing Dimensions and Cubes
  23. MSAS - Introducing Dimension and Cube Processing
  24. MSAS: Optimization Tuning Part 2
  25. MSAS: Optimization Tuning Part 1
  26. MSAS: Usage-Based Optimization
  27. MSAS: Analysis Services Aggregations
  28. MSAS: The Storage Design Wizard
  29. MSAS: Analysis Server Cube Storage
  30. MSAS: Defining Cube Properties
  31. MSAS: Introduction and Working with Measures
  32. MSAS: Introduction and Working with Cubes
  33. MSAS: Virtual Dimensions
  34. MSAS: Introducing Member Properties
  35. MSAS: Creating Custom Rollups
  36. MSAS: Creating a Time Dimension
  37. MSAS: Understanding Hierarchies
  38. MSAS: Dimension Storage Modes and Levels
  39. MSAS: Working with Levels and Hierarchies
  40. MSAS: Working with Parent-Child Dimensions
  41. MSAS : Basics of Levels
  42. MSAS : Working with Standard Dimensions
  43. MSAS : Shared vs Private Dimensions
  44. Understanding Dimension Basics
  45. MSAS : Office 2000 OLAP Components
  46. MSAS : Client Architecture
  47. MSAS : Cube Storage options
  48. MSAS : Meta data Repository
  49. MSAS : Analysis services Tools for Extended Functionality
  50. MSAS : The Wizards
  51. MSAS : The Analysis Manager and Analysis Server
  52. MSAS : The Data warehousing framework of SQL Server 2000 - Part 2
  53. MSAS : The Data warehousing framework of SQL Server 2000 - Part 1
  54. MSAS : Microsoft Data Warehousing Overview
  55. MSAS : Browsing the Cube
  56. MSAS : Designing Storage and Processing the Cube
  57. MSAS : Building the Cube Part #3
  58. MSAS : Building the Cube Part #2
  59. MSAS : Building the Cube Part #1
  60. MSAS : Setting up the Database in Analysis Server
  61. MSAS : Preparing to Create the Cube
  62. MSAS : Introducing Analysis Manager Wizards
  63. Microsoft Analysis Services Installation
  64. MSAS - Applying OLAP Cubes
  65. Understanding OLAP Models
  66. Designing the Dimensional Model and Preparing the data for OLAP
  67. Design of the data warehouse: Kimball Vs Inmon
  68. Defining OLAP Solutions and Data Warehouse design
  69. Microsoft Analysis Services Training
  70. Data Warehouse database and OLTP database
  71. Introduction to Data Warehousing
 

Comments