Load Testing Analysis Services Gerhard Brückl



Similar documents
SQL Server Performance Tuning and Optimization

Big Data Scenario mit Power BI vs. SAP HANA Gerhard Brückl

Scaling Analysis Services in the Cloud

Microsoft SQL Server: MS Performance Tuning and Optimization Digital

Performance Tuning and Optimizing SQL Databases 2016

Performance And Scalability In Oracle9i And SQL Server 2000

Recommendations for Performance Benchmarking

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

PERFORMANCE TESTING. New Batches Info. We are ready to serve Latest Testing Trends, Are you ready to learn.?? START DATE : TIMINGS : DURATION :

SQL Server Administrator Introduction - 3 Days Objectives

System Requirements Table of contents

Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services. By Ajay Goyal Consultant Scalability Experts, Inc.

SafePeak Case Study: Large Microsoft SharePoint with SafePeak

ArcGIS for Server Performance and Scalability-Testing and Monitoring Tools. Amr Wahba

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Case Study: Load Testing and Tuning to Improve SharePoint Website Performance

Load Testing and Monitoring Web Applications in a Windows Environment

Case Study - I. Industry: Social Networking Website Technology : J2EE AJAX, Spring, MySQL, Weblogic, Windows Server 2008.

About Me: Brent Ozar. Perfmon and Profiler 101

Deployment Planning Guide

Course Outline: Course: Implementing a Data Warehouse with Microsoft SQL Server 2012 Learning Method: Instructor-led Classroom Learning

ProSystem fx Engagement. Deployment Planning Guide

Preparing a SQL Server for EmpowerID installation

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

Application Performance Testing Basics

Virtuoso and Database Scalability

Performance Testing. Slow data transfer rate may be inherent in hardware but can also result from software-related problems, such as:

Avoiding Common Analysis Services Mistakes. Craig Utley

Performance Test Process

Performance Testing of Java Enterprise Systems


Application of Predictive Analytics for Better Alignment of Business and IT

Hands-On Microsoft Windows Server 2008

Crank Your BI Performance up to 11 - Sizing, Tuning & Performance Testing. Innovation Center Network, Silicon Valley Active Global Support

MDM Multidomain Edition (Version 9.6.0) For Microsoft SQL Server Performance Tuning

DMS Performance Tuning Guide for SQL Server

Predicting Change Outcomes Leveraging SQL Server Profiler

Performance White Paper

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days

LearnFromGuru Polish your knowledge

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

SQL Server Business Intelligence on HP ProLiant DL785 Server

SQL Server 2012 Business Intelligence Boot Camp

Key Attributes for Analytics in an IBM i environment

Monitor and Manage Your MicroStrategy BI Environment Using Enterprise Manager and Health Center

Maximum performance, minimal risk for data warehousing

Hardware Performance Optimization and Tuning. Presenter: Tom Arakelian Assistant: Guy Ingalls

Course 10977A: Updating Your SQL Server Skills to Microsoft SQL Server 2014

Administering Microsoft SQL Server 2012 Databases

SQL Sentry Essentials

How to Configure a Stress Test Project for Microsoft Office SharePoint Server 2007 using Visual Studio Team Suite 2008.

Functionality & Performance Testing Analysis Services 2005 with Teradata v12

The safer, easier way to help you pass any IT exams. Exam : C_HANASUP_1. SAP Certified Support Associate - SAP HANA 1.0.

Agenda. Capacity Planning practical view CPU Capacity Planning LPAR2RRD LPAR2RRD. Discussion. Premium features Future

Throughput Capacity Planning and Application Saturation

Toad for Oracle 8.6 SQL Tuning

Beyond Plateaux: Optimize SSAS via Best Practices

Squeezing The Most Performance from your VMware-based SQL Server

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

Noelle A. Stimely Senior Performance Test Engineer. University of California, San Francisco

Siebel & Portal Performance Testing and Tuning GCP - IT Performance Practice

TESTING AND OPTIMIZING WEB APPLICATION S PERFORMANCE AQA CASE STUDY

Scalability and Performance Report - Analyzer 2007

SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

Performance Testing. What is performance testing? Why is performance testing necessary? Performance Testing Methodology EPM Performance Testing

MCTS Guide to Microsoft Windows 7. Chapter 10 Performance Tuning

Windows Server Performance Monitoring

Informatica Data Director Performance

Implementing Data Models and Reports with Microsoft SQL Server

SQL Server Performance Tuning for DBAs

Capacity Planning for Microsoft SharePoint Technologies

How To Test On The Dsms Application

SOFTWARE PERFORMANCE TESTING SERVICE

SSIS Scaling and Performance

SQL Server PDW. Artur Vieira Premier Field Engineer

Performance Testing. Checklist Packet. Everything you need to trigger thoughts, discussions and actions in the projects you are working on

Web Server (Step 1) Processes request and sends query to SQL server via ADO/OLEDB. Web Server (Step 2) Creates HTML page dynamically from record set

PRODUCT OVERVIEW SUITE DEALS. Combine our award-winning products for complete performance monitoring and optimization, and cost effective solutions.

XenDesktop 7 Database Sizing

Performance Testing Percy Pari Salas

SQL Server 2012 Optimization, Performance Tuning and Troubleshooting

McAfee Enterprise Mobility Management Performance and Scalability Guide

Performance Test Results Report for the Sled player

Microsoft Enterprise Search for IT Professionals Course 10802A; 3 Days, Instructor-led

Enterprise Architectures for Large Tiled Basemap Projects. Tommy Fauvell

SP Apps Performance test Test report. 2012/10 Mai Au

SQL 2016 and SQL Azure

VDI FIT and VDI UX: Composite Metrics Track Good, Fair, Poor Desktop Performance

XTM Web 2.0 Enterprise Architecture Hardware Implementation Guidelines. A.Zydroń 18 April Page 1 of 12

Empowered Self-Service with SAP HANA and SAP Lumira. Dennis Scoville BI Evangelist Business Intelligence & Technology Honeywell Aerospace

Performance Baseline of Oracle Exadata X2-2 HR HC. Part II: Server Performance. Benchware Performance Suite Release 8.4 (Build ) September 2013

MS 10977B Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

GENWARE COMPUTER SYSTEMS AUDITING SOLUTION FOR COGNOS BUSINESS INTELLIGENCE

StreamServe Persuasion SP5 Microsoft SQL Server

Harnessing the Power of the Microsoft Cloud for Deep Data Analytics

Crystal Reports Server 2008

Transcription:

Load Testing Analysis Services Gerhard Brückl

About Me Gerhard Brückl Working with Microsoft BI since 2006 Mainly focused on Analytics and Reporting Analysis Services / Reporting Services Power BI / O365 MDX / DAX SAP HANA Blog: email: blog.gbrueckl.at gerhard@gbrueckl.at http://www.pmone.com

Agenda What is Load Testing? Why Load Testing? Setting up a Load Test Load Testing Analysis Services Parameters Tools

What is Load Testing? According to Wikipedia: Load testing is the process of putting demand on a system or device and measuring its response. Load testing is performed to determine a system s behavior under both normal and anticipated peak load conditions. It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which element is causing degradation.

Unit Testing vs. Load Testing

Why Load Testing? Several Reasons: Reduce Risk Reduce Cost Identify Bottlenecks Performance Tuning Prove Scalability

Why Load Testing? Common questions: How many users can my architecture support? What is the expected average response time? When/Why does my performance decrease? What is the best hardware setup? Is an upgrade worth the investment?

Setting up a Load Test

Setting up a Load Test Define your Goals! Define the Test Set Choose your Tools Run the Load Test

Define your Goals! Hypothesis I need an average response time of X seconds I need to support X concurrent users Must be measureable and realistic! Investigation Why is my performance decreasing with X users? Why is my cube so slow?

Define the Test Set Capture from Prod System Extract from Reports Free-Form Queries Parameterize your Test Set!

Parameterizing the Test Set Page-Filters Varying Rows and Columns Varying Measures

Choose your Tools SQL Server Profiler ASCMD (with Stress Testing Scripts) AS Performance Workbench Visual Studio Self Programmed SSIS

Criterias for Choosing your Tools Serial vs. Parallel Execution Performance Measurements Easy Parametrization Multiple Users / Security Multiple Clients / Locations Result Store / Analysis

Running the Load Test Change Parameters Generate Hypothesis /Goal Run Baseline Load Test Record and Analyze Results Run Load Test

Monitoring and Benchmarking Performance Min/Max/Avg Test Duration Number of Tests Executed Number of Users Hardware Utilization CPU Memory I/O (Network)

Analyzing the Results

Expected results (1) (3) (2) Concurrent Users Avg. query response time (1) Constant test duration (2) Until saturation point is reached (3) Linear increase of test duration together with concurrent users

The Myth of Concurrent Users Defining Concurrency??? How many users can run a query at the same time How many queries can be answered / How many users can be satisfied within a given time period

Available Resources The Myth of Concurrent Users Infinite Number of Concurrent Users?!? User n User 6 User 5 User 4 User 3 User 2 User 1 Execution time

Available Resources The Myth of Concurrent Users User 4 User 3 User 2 User 1 Execution time

Available Resources The Myth of Concurrent Users User 4 User 3 User 2 User 1 Execution time

Available Resources The Myth of Concurrent Users User 4 User 3 User 2 User 1 Execution time

Finding the Bottleneck CPU > 90%? Memory Available Server Memory SSAS Memory Usage vs. Memory Limits IO Read Bytes/Sec Disk Queue Lengths SSAS Threads

Changing the Parameters

Changing Parameters Software OS Settings SSAS Configuration (Cube Design/MDX Script) Hardware / Architecture CPU Memory I/O

Common Misconfigurations Virus Scanner Windows Power Settings Slow SAN Indexed/Encrypted Data Directory SQL Server RDBMS on same Machine Bad Cube Design/MDX Script

Visual Studio Load Testing

AS Load Sim AS Load Simulation integration into VS Test Suite Framework can/has to be extended C# code For Baseline tests Fixed set of queries Random queries Variable number of users

VS Test Suite Overview

VS Test Suite Overview Test Controller Controls several Test Agents Logs results into Database Number of Tests Average Test duration Test Agent Runs queries against website / database to test (SSAS, SQL, ) Logs results into Database Local PerfMon counters Tests per Agent

VS Test Suite Test-Controllers Every Test Controller has to be configured Load test result store: relational database to store test results Agents: manage Agents that the controller owns

VS Test Suite Test-Controllers Create Load Test Store SQL Scripts Create DB: LoadTestResultsRepository.sql Upgrade DB: UpgradeLoadTestResultsRepository.sql Scripts can be found at C:\Program Files (x86)\microsoft Visual Studio 10.0\Common7\IDE

VS Test Suite Testconfiguration

VS Test Suite Testconfiguration Constant Load Always same amount of concurrent Users Step Load Increasing number of Users with each Step

VS Test Suite Testconfiguration Test Mix Add the ASLoadSim Project as a Test Mix

VS Test Suite Testconfiguration Network Mix: Originally used to run browser-tests In our case always set it to LAN and 100%

VS Test Suite Testconfiguration Counter Sets Can use predefined sets Can create custom sets

VS Test Suite Testconfiguration Run Settings Limit number of testruns By duration By number of iterations Sampling rate Frequency in which Performancecounters are logged

VS Test Suite Testconfiguration Counter Sets Collection of Performance Counters Same Counters that are also available via PerfMon

VS Test Suite Testconfiguration Assigning Counter Sets Counter Sets can be assigned to any participating Computer - Controller - Agent - Test-Server - SSAS - SQL -

VS Test Suite Running the Test

VS Test Suite Analyzing the Results Results are stored in the Load Test Store (=SQL Database) Can be accessed via Visual Studio

Live-Demo

Summary Be sure what you actually want to achieve with your Load Test Use appropriate Tools Know your System Hardware physical Limitations Cube/Model design Limitations Make tests as real as possible Security!