Site sponsored by: Idera Try Idera’s new SQL admin toolset
SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


Article Topics

All Articles
Peformance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
Developer
General DBA
ASP.NET / ADO.NET

SQL Server 2008 - Worth the Wait

SQL Server’s first significant upgrade in three years features a number of envelope-pushing enhancements and improvements. Which will have the greatest impact on SQL administration and development? More...
Latest Articles

Slowly Changing Dimensions in SQL Server 2005
Audit Data Modifications
SQL Server 2008’s Management Data Warehouse
Same Report but Different Methods in SQL Server Reporting Services ...

More     
 
Latest FAQ's

SSIS Lookups are Case Sensitive
Convert Number to Words in SSRS
After installing SP2 on SQL Server 2005 x64, when trying to ...
Remote Name Could not be Resolved in SQL Server Reporting Services ...

More     
   
Latest Software Reviews

SQL Server DBA Dashboard
SwisSQL DBChangeManager
SQLMesh - SQL Server Search Tool
SoftTreeTech SQL Assistant

More     

articles >> business intelligence >> Check List for Performance Optimisation in SQL ...

Check List for Performance Optimisation in SQL Server Analysis Service 2005

By : Dinesh Asanka
Jan 23, 2008
Printer friendly

Introduction
No matter what your platform or the tools that you are using, performance is almost always the number one feature that customers require.  In the case of SQL Server Analysis Service (SSAS), there are four areas where we can improve the performance. They are database design, processing, querying and configuring SSAS. 

Key Attribute
For each dimension, there should be a key attribute. If you have a choice between selecting a key attribute from an integer or varchar you should select an integer column as your key attribute. Allocating an integer column as a key attribute not only improves the query performance but also requires less storage. If you include an integer as the key attribute, then you need to have an integer column for the FACT table to link with dimension table. This will again assist to improve the query performance.

In addition, try to avoid composite keys for key attributes. In the case where you have multiple columns for key attributes, include a surrogate key and define it as the key attribute.

Data Types and Length
No matter whether it is Cube or just a database, you need to select appropriate size for the attributes. It is very common to see the assignment of lengthy data sizes for attributes such as customer addresses and name. The best option is to break down the attributes into several attributes so that you can predict the length of the attribute. For example in case of the address you may not be sure of the length of the address hence you may tend to assign an arbitrary length like varchar(300). Instead you can break down address into Address I, Address II, City, Town, Post Code and assign data lengths.

Removing Unnecessary Attributes
Even though you have hundreds of columns in your dimension table, it does not mean that you need to include all the columns as attributes in the cubes. Analyse the reports and queries and decide what data you need in the dimensions. Also, you can include a perspective and drop the unnecessary attributes. What you have to remember is that you can only create perspectives in the Enterprise and Developer editions of SQL Server 2005.

Attribute Hierarchy Optimized State 
Under the Advanced option for Dimension attributes you can specify the level of optimization applied to the attribute hierarchy as illustrated below:
 



    Next Page>>    








Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | QDPMA Performance Tuning | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views