Did someone say the word 'Capacity?

Similar documents
Oracle Database Capacity Planning

Capacity Management for Oracle Database Machine Exadata v2

Performance Forecasting - Introduction -

Case Study I: A Database Service

Response Time Analysis

PERFORMANCE TUNING ORACLE RAC ON LINUX

Response Time Analysis

How To Model A System

Challenges of Capacity Management in Large Mixed Organizations

<Insert Picture Here> Adventures in Middleware Database Abuse

Proactive database performance management

Deep Dive: Maximizing EC2 & EBS Performance

SQL Server Upgrading to. and Beyond ABSTRACT: By Andy McDermid

Application of Predictive Analytics for Better Alignment of Business and IT

Distributed applications monitoring at system and network level

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Quality of Service Management - Meeting Availability and SLA Requirements in the Database Cloud

Oracle Database Performance Management Best Practices Workshop. AIOUG Product Management Team Database Manageability

Q & A From Hitachi Data Systems WebTech Presentation:

Exploiting Oracle Tools and Utilities for Monitoring and Testing Oracle RAC OTN Tour

Unleash the Value of the Data in Your OEM Repository

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

Application Performance Management. Java EE.Net, Databases Message Queue Transaction, Web Servers End User Experience

Performance Testing Percy Pari Salas

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager

Analyzing IBM i Performance Metrics

White Paper. NEC Invariant Analyzer with Oracle Enterprise Manager

Transaction Performance Maximizer InterMax

Understanding Server Configuration Parameters and Their Effect on Server Statistics

Oracle Database Capacity Planning. Krishna Manoharan

Proactive Performance Monitoring Using Metric Extensions and SPA

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

A cure for Virtual Insanity: A vendor-neutral introduction to virtualization without the hype

Pipkins Hosts a Cost-effective Cloud Solution Without Compromise

Default Thresholds. Performance Advisor. Adaikkappan Arumugam, Nagendra Krishnappa

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

A Comparison of Oracle Performance on Physical and VMware Servers

Performance Tuning and Optimizing SQL Databases 2016

Web Application s Performance Testing

Tableau Server 7.0 scalability

Performance Targets for Developers

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager. Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering

ArcGIS for Server Performance and Scalability: Testing Methodologies. Andrew Sakowicz, Frank Pizzi,

SAS Application Performance Monitoring for UNIX

Job Description. Direct Reports

Customer evaluation guide Toad for Oracle v12 Database administration

A Comparison of Oracle Performance on Physical and VMware Servers

PERFORMANCE TUNING FOR PEOPLESOFT APPLICATIONS

Introduction to Analytical Modeling

Deciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run

Predictive Analytics And IT Service Management

Oracle Database 11g: RAC Administration Release 2

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

Windows Server Performance Monitoring

How To Test For A Test On A Test Server

Method General Approach Performance Profiling (Method- GAPP)

Web Performance, Inc. Testing Services Sample Performance Analysis

TRACE PERFORMANCE TESTING APPROACH. Overview. Approach. Flow. Attributes

IST 301. Class Exercise: Simulating Business Processes

Virtualization: Concepts, Applications, and Performance Modeling

Load Testing Analysis Services Gerhard Brückl

W4118 Operating Systems. Instructor: Junfeng Yang

How to Do Capacity Planning

HP Vertica Concurrency and Workload Management

Enterprise Applications in the Cloud: Virtualized Deployment

A Performance Engineering Story

Postgres performance bootcamp for Oracle DBAs

Oracle Database 10g. Page # The Self-Managing Database. Agenda. Benoit Dageville Oracle Corporation benoit.dageville@oracle.com

Quick Start Guide. Ignite for SQL Server. Confio Software 4772 Walnut Street, Suite 100 Boulder, CO CONFIO.

Diagnosing Performance and Stability Problems with Load Testing

Enterprise Applications in the Cloud: Non-virtualized Deployment

A recipe using an Open Source monitoring tool for performance monitoring of a SaaS application.

Scalability and BMC Remedy Action Request System TECHNICAL WHITE PAPER

Exploring Oracle E-Business Suite Load Balancing Options. Venkat Perumal IT Convergence

Response Time Analysis

Load DynamiX Storage Performance Validation: Fundamental to your Change Management Process

ArcGIS Server Performance and Scalability Testing Methodologies. Andrew Sakowicz, Frank Pizzi

Tips & Best Practices

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

SQL Server Performance Tuning and Optimization

OS Thread Monitoring for DB2 Server

Risk-Free Administration for Expert Database Administrators

Transcription:

December 9 th,10 th 2011, Bangalore. AIOUG SANGAM11 Did someone say the word 'Capacity? Neeraj Bhatia IT Service/Infrastructure Capacity Planner

Speaker Information 7 years of experience in Oracle Database Performance Optimization and IT Services/Infrastructure Capacity Planning. Certified Oracle DBA OCP 9i, 10g, 11g, RAC Expert Other Certifications ISO/20000 Certified Auditor, ITIL Practitioner V3, Base SAS Currently working with Barclays Bank PLC as a Service Capacity Analyst When time allows I blog at http://neerajbhatia.wordpress.com/

What is Capacity Planning Capacity Planning is the process of predicting when future load levels will saturate the system and determining the most costeffecting way of delaying system saturation as much as possible - by Daniel A. Menasce and Virgilio A.F. Almeida (Authors of Capacity Planning for Web Services: Metrics, Models & Methods)

Why Capacity Management?

You don t want Service Interruption You don t want Performance Degradation IT Infrastructure has limited Capacity

Capacity Management Activities PAST Analysis Analysis of Historical Data Tools: AWR/Statspack, OS utilities - sar, vmstat PRESENT Monitoring & Review Real-time Monitoring, Capacity Review Tools: Enterprise Manager AWR/Statspack, OS utilities - sar, vmstat FUTURE Modeling/Forecasting Future Capacity Forecasting Tools: AWR/Statspack, OS utilities - sar, vmstat Regression Models, Queuing Theory Models etc.

Capacity Management Process Overview 2L 2.5L 2.5L 2.5L 2L 2L 2L 3.5L 2.5L 4L Capacity Provisioning Capacity Review Capacity Forecasting The objective is to ensure that cost-justified capacity is always available and matched to the current and future agreed needs of the business in a timely manner.

Why my database is running sloww? The million $ Question!

Performance Tuning DBA Capacity Management & Performance Tuning Top Wait Events Sessions contributing to those wait events 10046 Trace Log files analysis Top session, Top SQLs etc in short Reactive Performance Tuning Performance Tuning DBA with Capacity Planning Skills Component Utilization Analysis Workload analysis has workload increased significantly? Scope of Workload Management? Capacity Forecasting using predefined Models. in short Proactive Performance Tuning

Capacity Planning: Methods

Linear Regression Modeling Linear Regression is a method to investigate linear relationship between one or more independent variable and a dependent variable. The objective is to develop a model of the form Y = M * X + C Here Y = dependent variable, X = Independent variable, M = Slope, C= Intercept In-built Oracle functions to Regression Coefficient estimation etc REGR_SLOPE and REGR_INTERCEPT, REGR_R2, REGR_COUNT etc Best suited for Study Questions: How much load of some particular business activity database can support, before running out of gas? If the workload grows by x percentage every quarter, when we will need to add more capacity to the system? For more details, please refer my paper Linear Regression: An approach for forecasting.

Working Example: Regression Modeling You are an Oracle DBA. The key business activity the database supports is Order management. Business wish to understand how many maximum order entries the database can support without any performance degradation. Avg CPU = 0.000019 X Order Entries per Hr + 0.048257 Max Order Entries per Hour with 75% CPU Utilization as upper limit 75% = 0.000019 X Order Entries per Hr + 0.048257 Max Order Entries per Hour ~ 36,180

Queuing Theory Modeling Queuing theory is the mathematical study of Queues. It has the ability to estimate important performance properties of computer systems like response time, waiting time, throughput etc. Arrival Rate (Txn/sec) Transaction Queue Number of Servers per Queue (M) U = S M Q = S 1 U M R = Q + S U => Utilization S => Service Time, Sec/Txn => Arrival Rate, Txn/sec M => Number of Servers Q => Queue Time or Waiting Time R =>Response Time

Working Example: Queuing Theory Modeling Can the database (with 4 CPUs) support 40K orders per hour? What will be the response time impact and how much additional processing capacity would be required to achieve the same response time? You have collected a sample and found: Arrival Rate = 12,000 Orders/Hr with Average CPU Utilization of 36% Service Time 0.00012000 Response Time 0.00012205 At 40,000 Orders/hr Utilization 120.00% Response Time -0.00011177 If we add 4 additional CPUs Utilization 60.00% Response Time 0.00012205

Further Steps Capacity Planning is a very interesting field, Believe me! There is much more into this, my presentation is just a start. Read, explore and learn Additional Resources: My blog - http://neerajbhatia.wordpress.com/ Book Forecasting Oracle Performance by Craig Shallahamer. You can reach me at neeraj.dba@gmail.com Would be happy to hear your experiences, success stories.