Numbers, We don’t need no stinkin’ numbers Adam Backman Vice President DBAppraise, Llc.

Slides:



Advertisements
Similar presentations
Advanced Oracle DB tuning Performance can be defined in very different ways (OLTP versus DSS) Specific goals and targets must be set => clear recognition.
Advertisements

Unix Systems Performance Tuning Project of COSC 513 Name: Qinghui Mu Instructor: Prof. Anvari.
Exadata Distinctives Brown Bag New features for tuning Oracle database applications.
DB-7: OpenEdge® Database Performance Tuning
DB-03: A Tour of the OpenEdge™ RDBMS Storage Architecture Richard Banville Technical Fellow.
Some More Database Performance Knobs North American PUG Challenge
T OP N P ERFORMANCE T IPS Adam Backman Partner, White Star Software.
ProTop version 3 – An open source Progress database performance monitor ProTop is a free, Open Source database monitor for Progress OpenEdge databases.
ProTop version 3 – An open source Progress database performance monitor ProTop is a free, Open Source database monitor for Progress OpenEdge databases.
Database Storage for Dummies Adam Backman President – White Star Software, LLC.
DB-13: Database Health Checks How to tell if you’re heading for The Wall Richard Shulman Principal Support Engineer.
Oracle Architecture. Instances and Databases (1/2)
Virtual Machines What Why How Powerpoint?. What is a Virtual Machine? A Piece of software that emulates hardware.  Might emulate the I/O devices  Might.
IT Systems Multiprocessor System EN230-1 Justin Champion C208 –
CS CS 5150 Software Engineering Lecture 19 Performance.
Queueing Systems They’re EVERYWHERE!. Basic Concept Service Request... Done Numerous requests made for service Lines back up waiting for service Waiting.
File System Implementation: beyond the user’s view A possible file system layout on a disk.
Chapter 14 Chapter 14: Server Monitoring and Optimization.
Measuring Performance Chapter 12 CSE807. Performance Measurement To assist in guaranteeing Service Level Agreements For capacity planning For troubleshooting.
Computer Organization and Architecture
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
What Can You do With BTM? Business Transaction Management touches the following disciplines:  Performance Management  Application Management  Capacity.
RESOURCE MANAGEMENT System Resources. What resources are managed in a computer system?
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Database Storage Considerations Adam Backman White Star Software DB-05:
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
Disk Access. DISK STRUCTURE Sector: Smallest unit of data transfer from/to disk; 512B 2/4/8 adjacent sectors transferred together: Blocks Read/write heads.
Introduction to Database Systems 1 Storing Data: Disks and Files Chapter 3 “Yea, from the table of my memory I’ll wipe away all trivial fond records.”
Review of Memory Management, Virtual Memory CS448.
Top 10 Performance Hints Adam Backman White Star Software
Strength. Strategy. Stability.. Progress Performance Monitoring and Tuning Dan Foreman Progress Expert BravePoint BravePoint
March 19981© Dennis Adams Associates Tuning Oracle: Key Considerations Dennis Adams 25 March 1998.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
Improving Efficiency of I/O Bound Systems More Memory, Better Caching Newer and Faster Disk Drives Set Object Access (SETOBJACC) Reorganize (RGZPFM) w/
Test Loads Andy Wang CIS Computer Systems Performance Analysis.
Oracle Advanced Compression – Reduce Storage, Reduce Costs, Increase Performance Session: S Gregg Christman -- Senior Product Manager Vineet Marwah.
Cosc 2150: Computer Organization Chapter 6, Part 2 Virtual Memory.
Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software.
Memory Management – Page 1 of 49CSCI 4717 – Computer Architecture Memory Management Uni-program – memory split into two parts –One for Operating System.
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
DONE-08 Sizing and Performance Tuning N-Tier Applications Mike Furgal Performance Manager Progress Software
By Phani Gowthami Tammineni. Overview This presentation is about the issues in real-time database systems and presents an overview of the state of the.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Jason Wong Applications Manager DBA/Developer Programmer …. 20+ years IS&T, DEV,
Buying Database Hardware Adam Backman – President White Star Software, LLC.
File management and Performance. File Systems Architecture device drivers physical I/O (PIOCS) logical I/O (LIOCS) access methods File organization and.
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
Abstract Increases in CPU and memory will be wasted if not matched by similar performance in I/O SLED vs. RAID 5 levels of RAID and respective cost/performance.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 7 – Buffer Management.
for all Hyperion video tutorial/Training/Certification/Material Essbase Optimization Techniques by Amit.
Copyright ©: Nahrstedt, Angrave, Abdelzaher1 Memory.
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
Virtual Memory By CS147 Maheshpriya Venkata. Agenda Review Cache Memory Virtual Memory Paging Segmentation Configuration Of Virtual Memory Cache Memory.
Test Loads Andy Wang CIS Computer Systems Performance Analysis.
No more waiting. Sponsors About me  Database Technology Specialist  MVP  Blogger  Author 3
Oracle Database Architectural Components
Computer Architecture Chapter (8): Operating System Support
Damian Gordon.  What are good policies to schedule processes?
Who, What, Where, When, Why and How
Adam Backman Chief Cat Wrangler – White Star Software
SharePoint Solutions Architect, Protiviti
Oracle 11g Real Application Clusters Advanced Administration
Andy Wang CIS 5930 Computer Systems Performance Analysis
Operating Systems Chapter 5: Input/Output Management
Persistence: hard disk drive
Troubleshooting Techniques(*)
Virtual Memory: Working Sets
Database administration
Presentation transcript:

Numbers, We don’t need no stinkin’ numbers Adam Backman Vice President DBAppraise, Llc

About the Presenter Progress user from when dinosaurs roamed the earth (nearly) President - White Star Software – Consulting: performance, coding, problem solving – Training: Programming, System and Database Administration Vice President – DBAppraise – Managed database services

Agenda Why performance is important? Components of performance Perception vs. reality Who is most important?

Why is performance important? Time is literally money Many idle hands cost real money A delayed customer is a lost customer Delayed support equals lost confidence

Put a value on performance Users wait 10 seconds Does not sound bad Users do the operation many times per day 10 seconds per transaction, 10 per hour, 8 hours a day. 800 seconds wasted per user per day. 13 minutes wasted per user per day times then number of users (500 users) That is over 100 hours of wasted time per day

Components of performance Network Disk Memory CPU Goal: Push the bottleneck to the fastest resource

Network Slowest resource Temp files going to network drive Need to minimize traffic – -Mm (Remember to increase frame size everywhere when increasing –Mm) – -Mn, -Mpb, -Mi, -Ma

Disk Most frequent offender People focus on wrong metrics Queue depth and service time are generally good indicators of congestion

Memory Move things off disk into memory -B (DB to shared memory) -Bt (temp disk files to temp buffers) OS and Disk array caches

CPU The “right” type of CPU activity – User – what you paid for – System – System overhead – Wait – Waiting on I/O (What type of I/O) – Idle – You need idle but having zero does not mean there is an issue

Numbers are good but … Performance stinks Performance is perception User experience is king

First, look for record locks or other application issues ProTop has a screen for blocked sessions Record locks can completely stop activity The user sees record in use by …. The administrator does not Additionally, I look for very high db requests from a single connection

ProTop: Blocked Sessions Blocked Sessions Usr Name Note tom REC XQH 102 [Order] Adam

Promon: Block Access Block Access: Type Usr Name DB Requests DB Reads BI Reads \Writes \Writes Acc 999 TOTAL Acc 0 adam Acc 5 adam Acc 6 adam Acc 7 dbapprai

Buffer Hit Percentage Generally a good metric But … – A single table small table scan can vastly skew results – Low volume buffer hit percentage is nearly meaningless

How to Make Buffer Hit Rate Useful Know which tables are being read – Large tables – Small tables Know what is “normal”

How to Make Buffer Hit Rate Less Useful Bring up promon activity screen and only use the first sample Use really small sample sizes (seconds vs. minutes) Use really large sample sizes (hours vs. minutes)

Benchmarks Lie Do not test real-world – All read (Readprobe) – All write (ATM) – Wrong mix of read and write Time slicing can make results more attractive

CPU – Wait The CPU always blames everyone else If you have wait and idle it is generally no issue If you have wait and no idle you likely have an issue. Look at disk first

CPU - Idle If you have a single core then a single program can use 100% of the CPU This is a good thing. The process will use it’s CPU and complete

The network is never more than 10% busy Every network admin in the world uses this line They get this from the manufacturers They sample and provide a single sample for a large time frame. How about 100% busy 10% of the time

Setting –spin based on a calculation Gus said that it should be … Unless Gus is at your site any calculation is wrong Gus said this some time ago and was misquoted at that time Generally stated as # * CPUs This is nearly always wrong (you could get lucky by accident)

Percentage full on extents Is it 99% full or 327% full Important to look at allocated (actual growth) versus percentage fill of the last extent Hint it never shows 100% as it preallocates space for future extends of the area

Now we know how people lie but how do I determine if our performance is acceptable?

Ask the users

Method: Measuring Performance Determine your 5-10 most time critical portions of the application Time them in isolation Time them during the day when everyone says performance is OK. They will never say it’s good. These timings should be close if not exactly the same

Method: Determine importance Customer visible Done many (thousands+) times a day Users “wait” for screen/output

Timings Need not be exact Wrist watch or cell phone timer is fine Keep track of these timings When people complain about performance redo the timings

If the timings are bad Look for bottlenecks – Network – Disk – Memory – CPU It will likely be one of the first two solved by using more of the second two

If the timings are good Smack the users around for wasting your time or Reevaluate timings, no really just smack the users

Conclusion Performance is perception – Reason for “working …” Focus on user experience Know what is normal – In stored statistics – In response times

Still more Conclusion Know what is important – Customer facing Benchmarks lie Buffer Hit Rate – You can make it whatever you want – Need to understand how to make it useful

Questions? Adam Backman

Thank you for your time!