Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

MSAS: Optimization Tuning Part 2

By Exforsys | on April 14, 2005 |
MSAS
The SQL Server Query Analyzer is a feature rich Query Analyzer. The tool can provide a graphical representation of a query and helps the user mould queries into more efficient shapes. It also helps identify faulty queries. +To Tune the index created the user will have to open the SQL query analyzer and open a query or enter one.

On the Query menu click on Index Tuning Wizard and follow the steps of the wizard. On the Specify workload screen select SQL Query Analyzer Selection and click Next.

Select the tables and their indexes

View the recommendations made by the Wizard.

On click Analysis button the users can see the various reports on Index usage, Table Analysis etc.

Once the indexing of the dimension tables is done and optimized the cube processing becomes faster. The cubes can be further optimized using the Usage Analysis Wizard and Usage based Analysis Wizard to fine tune aggregations.

Aggregation selection is an art that has to be refined over time with usage pattern analysis and data analysis.

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:

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.

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.















« « MSAS: Optimization Tuning Part 1
Creating and consuming XML Web Services with C# » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • Designing the Dimensional Model and Preparing the data for OLAP

    March 1, 2005 - 0 Comment
  • MSAS: Introducing Member Properties

    April 7, 2005 - 0 Comment
  • MSAS – Browsing the Dependency Network

    May 6, 2005 - 0 Comment
  • MSAS : Browsing the Cube

    March 10, 2005 - 0 Comment
  • MSAS – Processing Dimensions and Cubes

    April 17, 2005 - 0 Comment
  • Understanding Dimension Basics

    March 29, 2005 - 0 Comment
  • MSAS – Defining and Creating Auctions

    April 26, 2005 - 0 Comment
  • Understanding OLAP Models

    March 2, 2005 - 0 Comment
  • MSAS: Virtual Dimensions

    April 7, 2005 - 0 Comment
  • MSAS : Microsoft Data Warehousing Overview

    March 15, 2005 - 0 Comment
  • MSAS – Browsing the Dependency Network

    May 6, 2005 - 0 Comment
  • MSAS – Building a Relational Decision Tree Model

    May 6, 2005 - 0 Comment
  • MSAS – Introduction to Data Mining

    May 6, 2005 - 0 Comment
  • MSAS – Applying security to a Dimension

    May 5, 2005 - 0 Comment
  • Tutorial 65: MSAS – Managing Cube Roles

    May 5, 2005 - 0 Comment
  • MSAS – Understanding Database Roles

    May 5, 2005 - 0 Comment
  • MSAS – Securing User Authentication

    May 2, 2005 - 0 Comment
  • MSAS – Introducing Analysis Services Security

    May 2, 2005 - 0 Comment
  • MSAS – Writebacks

    April 28, 2005 - 0 Comment
  • MSAS – Defining and Creating Drillthrough

    April 26, 2005 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • MSAS – Browsing the Dependency Network
  • MSAS – Building a Relational Decision Tree Model
  • MSAS – Introduction to Data Mining
  • MSAS – Applying security to a Dimension
  • Tutorial 65: MSAS – Managing Cube Roles

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT