1 PUG Challenge Americas 2015 Click to edit Master title style PUG Challenge USA 2015 Top Performance Enhancers & Destroyers Presented by: Dan Foreman.

Slides:



Advertisements
Similar presentations
Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Progress System Tables
DB-7: OpenEdge® Database Performance Tuning
DB-03: A Tour of the OpenEdge™ RDBMS Storage Architecture Richard Banville Technical Fellow.
Strength. Strategy. Stability. The Application Profiler.
1 PUG Challenge Americas 2014 Click to edit Master title style PUG Challenge EMEA 2014 – Dusseldorf, Germany Tales from the Audit Trails Presented by:
T OP N P ERFORMANCE T IPS Adam Backman Partner, White Star Software.
Numbers, We don’t need no stinkin’ numbers Adam Backman Vice President DBAppraise, Llc.
1 PUG Challenge Americas 2013 Click to edit Master title style PUG Challenge Americas 2013 – Westford, MA The Deepest Depths of promon Presented by: Gus.
DB-13: Database Health Checks How to tell if you’re heading for The Wall Richard Shulman Principal Support Engineer.
Common Mistakes Developers Make By Bryan Oliver SQL Server Mentor at SolidQ.
1 How Healthy is Your Progress System? ( Progess DB Best Practices) Dan Foreman BravePoint, Inc.
Progress Database Setup, Maintenance and Tuning
1 PUG Challenge EU 2014 Click to edit Master title style PUG Challenge EMEA 2014 – Dusseldorf, Germany Common Database Problems Common Database Solutions.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
TEMP-TABLE Performance Tuning & Other Important Stuff
Russ Houberg Senior Technical Architect, MCM KnowledgeLake, Inc.
MOVE-4: Upgrading Your Database to OpenEdge® 10 Gus Björklund Wizard, Vice President Technology.
© 2011 IBM Corporation 11 April 2011 IDS Architecture.
Performance and Scalability. Performance and Scalability Challenges Optimizing PerformanceScaling UpScaling Out.
Database Storage Considerations Adam Backman White Star Software DB-05:
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
Top Performance Enhancers Top Performance Killers in Progress Dan Foreman Progress Expert
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Cognos TM1 Satya Mobile:
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
70-294: MCSE Guide to Microsoft Windows Server 2003 Active Directory, Enhanced Chapter 4: Active Directory Architecture.
1 Robert Wijnbelt Health Check your Database A Performance Tuning Methodology.
Top 10 Performance Hints Adam Backman White Star Software
Strength. Strategy. Stability.. Progress Performance Monitoring and Tuning Dan Foreman Progress Expert BravePoint BravePoint
DB-01 Upgrading to OpenEdge ® Practices & Initial Tuning Tom Harris, Managing Director, RDBMS Technology.
March 19981© Dennis Adams Associates Tuning Oracle: Key Considerations Dennis Adams 25 March 1998.
Improving Efficiency of I/O Bound Systems More Memory, Better Caching Newer and Faster Disk Drives Set Object Access (SETOBJACC) Reorganize (RGZPFM) w/
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
BW Know-How Call : Performance Tuning dial-in phone numbers! U.S. Toll-free: (877) International: (612) Passcode: “BW”
Selling the Storage Edition for Oracle November 2000.
Performance Dash A free tool from Microsoft that provides some quick real time information about the status of your SQL Servers.
DONE-08 Sizing and Performance Tuning N-Tier Applications Mike Furgal Performance Manager Progress Software
1 CS 430 Database Theory Winter 2005 Lecture 16: Inside a DBMS.
OPS-15: What was Happening with My Database, AppServer ™, OS... Yesterday, Last Month, Last Year? Libor LaubacherRuanne Cluer Principal Tech Support Engineer.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Progress Database Admin 1 Jeffrey A. Brown - Technical Support Consultant
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
By Shanna Epstein IS 257 September 16, Cnet.com Provides information, tools, and advice to help customers decide what to buy and how to get the.
Recovery Log Notes Gus Björklund, Progress Dan Foreman, Bravepoint 2014 Americas PUG Challenge Westford, MA June 8 – June
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Your Data Any Place, Any Time Performance and Scalability.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
20 Copyright © 2008, Oracle. All rights reserved. Cache Management.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
for all Hyperion video tutorial/Training/Certification/Material Essbase Optimization Techniques by Amit.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
1 Michigan Progress Users Group 2015 Strength. Strategy. Stability. Identifying Performance Issues in Progress Code and Queries.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Bigtable A Distributed Storage System for Structured Data.
Tales of the Secret Bunker 2016 (231) Dump and Load Edition Mike Furgal – Director MDBA and Pro2 Services Gus Bjorklund - Lackey.
What is Database Administration ?
SharePoint 2010 Performance and Capacity Planning Best Practices
Top Performance Enhancers & Destroyers
SQL Server Monitoring Overview
Introduction of Week 3 Assignment Discussion
Walking Through A Database Health Check
Presentation transcript:

1 PUG Challenge Americas 2015 Click to edit Master title style PUG Challenge USA 2015 Top Performance Enhancers & Destroyers Presented by: Dan Foreman

2 PUG Challenge Americas 2015 Dan Foreman Progress User since 1984 Author of several Progress related Publications –Progress Performance Tuning Guide –Progress Database Administration Guide –Progress VST & System Tables Author of several useful Progress DBA Tools –ProMonitor & ProCheck & LockMon –Pro Dump&Load –Balanced Benchmark Basketball & Bicycle Fanatic…which sometimes leads to unexpected trips to the Emergency Room: WARNING POTENTIALLY DISTURBING CONTENT

3 PUG Challenge Americas 2015

4 April - June Flights

5 PUG Challenge Americas 2015 I Won a Progress Earth Day Photo Contest

6 PUG Challenge Americas 2015 Audience Survey - Demographics How many have used Progress for less than one year? How many are in a company that has used Progress for less than one year?

7 PUG Challenge Americas 2015 Audience Survey - Technical Largest Single Progress DB Highest Progress Version Lowest Progress Version Are you using –Auditing –Multi-Tenancy –OE Replication –TDE –Table Partitioning

8 PUG Challenge Americas 2015 Introduction The slide titles are numbered, but that is not necessarily a rank or priority ordering

9 PUG Challenge Americas 2015 Enhancers #1 - Basic DB Tuning – Crucial -spin (-spin) DB Buffer Cache (-B) Before Image Cluster Size (proutil –bi) APWs (proapw) BIW (probiw) AIW (proaiw)

10 PUG Challenge Americas 2015 Enhancers #2 – DB Configuration Database Block Size8k or 4k –Can be controversial –My preference is 8k because it tends to reduce record fragmentation –The default empty DB Block Size has been 4k since V10 Lesser –Type 2 Storage Areas Least –Fixed Extents

11 PUG Challenge Americas 2015 Enhancers #3 - Indexing The cost of adding a new index is relatively small compared to the benefits….assuming that the index is properly utilized –Is the Index used at all? –Bracketing on all components of the key? –Proper hierarchy in the components? –Not duplicated?

12 PUG Challenge Americas 2015 Enhancers #4 – Remote Client Communication Message Size (-Mm) parameter for Remote Clients Does NOT apply to SQL/ODBC Clients Best results seen with NO-LOCK reads Must be specified on the Database and the Client (fixed in V11.6!) Default:1024 Sweet spot: (YUOMMV)

13 PUG Challenge Americas 2015 Enhancers #5 – Dump & Load Metrics to use –Scatter Factor (mainly Type 1 Areas) How many have heard that Type 2 Areas don’t require a D&L? –Fragmentation – a percent is easier to understand than Factor –Time it takes to run proutil dbanalys Use –scan in early V10 to prevent locking conflicts –Elapsed time to run a set of Killer Reports

14 PUG Challenge Americas 2015 Enhancers #6 – Reporting Database OLTP and Reporting exercise the DB Engine in somewhat contrary ways Some ad-hoc queries may not be able to take advantage of existing indexes Ad Hoc & Period Ending reports run against a Production DB with some ODBC based BI or other Reporting Tool –Copy of Production DB –Refreshed periodically (backups or AI logs) or real time (OE Replication) –Should reside on a different server BravePoint’s Pro2* Product Suite –Pro2SQL –Pro2Oracle –Pro2Pro

15 PUG Challenge Americas 2015 Enhancers #7 – SQL Regularly run UPDATE STATISTICS –Use Moderation! Separate Login Broker for SQL Clients (-m3 & - ServerType)

16 PUG Challenge Americas 2015 Enhancers #8 – Storage SSD Storage Flash Storage

17 PUG Challenge Americas 2015 Destroyers #1 – Poor Coding Techniques Code that reads the same record (or set of records) repeatedly Produces Hit Ratios that exceed 10000:1 Compare Table I/O (_tablestat) with dbanalys record counts

18 PUG Challenge Americas 2015 Destroyers #2 – Poor Coding Techniques Code that repetitively exits to the operating system –Context switch –Create sub-process –Terminate sub-process –Repeat

19 PUG Challenge Americas 2015 Destroyers #3 – Indexing Developers who don’t understand (or ignore) the Progress Indexing Rules The Rules are reasonably well documented –Progress Documentation –Progress Performance Tuning Guide

20 PUG Challenge Americas 2015 Destroyers #4 – AppServers & WebSpeed Tuning Poorly Tuned AppServers & WebSpeed Agents Depending on the State, one AS/WS might run code for thousands of users Important Parameters: –Exec Buffer (-mmax #) –Sort File Block Size (-TB 31) –Sort Memory Buffers (-TM 32) –R-Code Quick Request (-q) –Temp-Table Buffers (-Bt #) –Temp File Location (-T) –Temp File Visibility (-t) –Message Compression (-mc) WAN only

21 PUG Challenge Americas 2015 Destroyers #5 - Java Java (or processes written in Java) –WebSpeed Broker –AppServer Broker –Admin Server –Name Server –Tomcat Monitor excessive memory use and/or high CPU utilization

22 PUG Challenge Americas 2015 Destroyers #6 - Checkpoints There are several major performance issues that can Checkpoint time –Buffers Flushed –BI Cluster Formatting –sync call (old versions of Progress) –fdatasync call (new versions of Progress) –Other stuff CheckPoints will be covered in detail in another session

23 PUG Challenge Americas 2015 Destroyers #7 – Logical Scatter Factor When the physical contiguosity of the data doesn’t match the order used by the index Applies to both Type 1 and Type 2 Areas!

24 PUG Challenge Americas 2015 Destroyers #8 – Remote Client Access Versus Self-Service Client DB connections Abnormal death of a SELF Client can bring the DB down

25 PUG Challenge Americas 2015 Destroyers #9 – Accessing _Lock VST Potentially very slow High CPU activity High Latch activity

26 PUG Challenge Americas 2015 Destroyers #10 – Storage RAID 5 RAID 6 RAID DP – equals RAID 6 Lot’s of Cache only delays the inevitable NetApp

27 PUG Challenge Americas 2015 Destroyers #11 - NUMA Non-Uniform Memory Architecture If the number of CPU Cores exceeds 64 (approximately), Progress does not scale always well Latch activity needs to be propagated to the cache of each CPU

28 PUG Challenge Americas 2015 Destroyers #12 – DB Configuration Tables or Indexes stored in the Schema Area – frequently seen in custom or side DBs –The Schema Area is a Type 1 Area AI Extents not separated from DB/BI Extents (mainly for integrity, performance is secondary)

29 PUG Challenge Americas 2015 Destroyers #13 – Miscellaneous 32-Bit Database License Poorly configured or inadequately resourced Virtual Machines

30 PUG Challenge Americas 2015 Thank You! Questions? Mobile: Request: Please thank PCA organizers for their hard work in putting together an excellent conference