top performance enhancers top performance killers in progress dan foreman progress expert...

16
Top Performance Enhancers Top Performance Enhancers Top Performance Killers Top Performance Killers in Progress in Progress Dan Foreman Dan Foreman Progress Expert Progress Expert [email protected] [email protected]

Upload: merry-allen

Post on 28-Dec-2015

239 views

Category:

Documents


5 download

TRANSCRIPT

Top Performance EnhancersTop Performance EnhancersTop Performance KillersTop Performance Killers

in Progressin Progress

Dan ForemanDan Foreman

Progress ExpertProgress Expert

[email protected]@prodb.com

IntroductionIntroduction

Progress User since 1984 (V2)Progress User since 1984 (V2)

Presenter at many Progress & QAD Presenter at many Progress & QAD ConferencesConferences

Author of:Author of:Progress Performance Tuning Guide

Progress Database Administration Guide

V10 DBA Jumpstart

Virtual System Table Guide

BravePoint 2010

2

Introduction – There’s moreIntroduction – There’s more

Developed these tools for DBAs:Developed these tools for DBAs:ProMonitor – Monitor Progress DBs

ProCheck – Monitor AppServers, WebSpeed, Admin Server, Name Server, etc.

Pro Dump&Load – Dump&Load a Database of any size with nearly no downtime

Other stuff

BravePoint 2010

3

Introduction – Who Are YouIntroduction – Who Are You

Progress VersionProgress VersionV10?, V9?, V8, or ??

Largest Single DatabaseLargest Single Database

Database Operating SystemDatabase Operating System

BravePoint 2010

4

Top Destroyer #1Top Destroyer #1

Ad Hoc & Period Ending reports run Ad Hoc & Period Ending reports run against a Production DB with some against a Production DB with some ODBC based BI or Reporting ToolODBC based BI or Reporting Tool

Use a Reporting Database insteadUse a Reporting Database instead

Use OpenEdge Replication to create a Use OpenEdge Replication to create a D/R, Reporting DB Copy on another D/R, Reporting DB Copy on another ServerServer

Look @ BravePoint’s Pro2SQL ProductLook @ BravePoint’s Pro2SQL Product

Regularly run UPDATE STATISTICSRegularly run UPDATE STATISTICS

BravePoint 2010

5

Top Destroyer #2Top Destroyer #2

Developers who don’t understand the Developers who don’t understand the Progress Indexing RulesProgress Indexing Rules

They are reasonably well documentedThey are reasonably well documentedProgress Documentation

Progress Performance Tuning Guide

BravePoint 2010

6

Top Destroyer #3Top Destroyer #3

Poorly Tuned DatabasesPoorly Tuned Databases

Crucial Database Parameters & Crucial Database Parameters & Helpers:Helpers:

-spin (DB Startup)

-blocksize (prostrct create; Unix/Linux)

APW/BIW/AIW Processes

-B (DB Startup)

-bi (proutil truncate bi)

BravePoint 2010

7

Top Destroyer #4Top Destroyer #4

Poorly Configured DatabasesPoorly Configured DatabasesDatabase block size (-blocksize) of 4K (AIX/Linux) or 8K (all other IX)

Not using Type 2 Storage Areas

Tables or Indexes stored in the Schema Area

AI Extents not separated from DB/BI Extents (mainly for integrity, not performance)

BravePoint 2010

8

Top Destroyer #5Top Destroyer #5

Not using After Imaging Not using After Imaging

Although that’s more of a Database or Although that’s more of a Database or job future destroyer than a job future destroyer than a performance destroyerperformance destroyer

BravePoint 2010

9

Top Destroyer #6Top Destroyer #6

Not performing a Regular Dump & LoadNot performing a Regular Dump & Load

Using Type 2 Storage Areas does Using Type 2 Storage Areas does NOTNOT mean you’ll never need to D&L again – mean you’ll never need to D&L again – don’t trust anyone who told you thatdon’t trust anyone who told you that

Monitor Scatter & Fragmentation in Monitor Scatter & Fragmentation in proutil dbanalysproutil dbanalys reports reports

BravePoint 2010

10

Top Destroyer #7Top Destroyer #7

Poorly Tuned AppServers & WebSpeed Poorly Tuned AppServers & WebSpeed AgentsAgents

Important Parameters:Important Parameters:-mmax #

-TB 31

-TM 32

-q

-Bt #

BravePoint 2010

11

Top Destroyer #8Top Destroyer #8

RAID 5RAID 5

RAID 5 on most Disk Arrays and SANs RAID 5 on most Disk Arrays and SANs penalizes Write Performance up to penalizes Write Performance up to 50% 50% (i.e. 2X slower)(i.e. 2X slower)

BravePoint 2010

12

Top Destroyer #9Top Destroyer #9

Monitor Java (or the processes that Monitor Java (or the processes that use Java)use Java)

WebSpeed Broker

AppServer Broker

Admin Server

Name Server

Tomcat

Watch for excessive memory use or Watch for excessive memory use or high CPU utilizationhigh CPU utilization

BravePoint 2010

13

Top Enhancer #1Top Enhancer #1

Shared R-Code Libraries (also known Shared R-Code Libraries (also known as Memory Mapped Libraries)as Memory Mapped Libraries)

Conserve Memory because code is Conserve Memory because code is shared rather than in each Client’s shared rather than in each Client’s private memoryprivate memory

Code execution is much fasterCode execution is much faster

BravePoint 2010

14

Top Enhancer #2Top Enhancer #2

Stripe (RAID 0) Database DisksStripe (RAID 0) Database Disks

Not required for the AI or BI DisksNot required for the AI or BI Disks

JBOD is sooo 90’sJBOD is sooo 90’s

BravePoint 2010

15

Questions?Questions?

For further info (not free):For further info (not free):[email protected]

+1 541 908 3437 (Available 24/7)

Alternatively 770-449-9696 X3911

www.BravePoint.com

BravePoint 2010

16