DB-7: OpenEdge® Database Performance Tuning

Slides:



Advertisements
Similar presentations
B3: Putting OpenEdge Auditing to Work: Dump and Load with (Almost) No Downtime David EDDY Senior Solution Consultant.
Advertisements

XIr2 Recommended Performance Tuning Andy Erthal BI Practice Manager.
DB-03: A Tour of the OpenEdge™ RDBMS Storage Architecture Richard Banville Technical Fellow.
Strength. Strategy. Stability. The Application Profiler.
T OP N P ERFORMANCE T IPS Adam Backman Partner, White Star Software.
Progress Database Internals Duc Chu. DB Broker Shared Memory Database Before Image Shared Memory APW BIW Servers.
MODULE 4: DESKTOP MANAGEMENT. Agenda Desktop deployment – Options and process Persistent vs Non-Persistent Desktops Template Usage Desktop Configuration.
Database Storage for Dummies Adam Backman President – White Star Software, LLC.
Numbers, We don’t need no stinkin’ numbers Adam Backman Vice President DBAppraise, Llc.
DB-13: Database Health Checks How to tell if you’re heading for The Wall Richard Shulman Principal Support Engineer.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
WSUS Presented by: Nada Abdullah Ahmed.
1 How Healthy is Your Progress System? ( Progess DB Best Practices) Dan Foreman BravePoint, Inc.
Best Practice for Performance Edward M. Kwang President.
DB-14: Tales of the Bunker Gus Björklund, Progress Software Corporation John Harlow, Bravepoint, Inc. Dan Foreman, Bravepoint, Inc. Rich Banville,
SharePoint is only an application so it has to run on top of Windows Server Windows 2008 R2 SP1 or Windows 2012 Standard, Enterprise, or Data Center Still.
VMware vCenter Server Module 4.
Simplify your Job – Automatic Storage Management Angelo Session id:
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
New Generation of OpenEdge ® RDBMS Advanced Storage Architecture II Tomáš Kučera Principal Solution Engineer / EMEA Power Team.
MOVE-4: Upgrading Your Database to OpenEdge® 10 Gus Björklund Wizard, Vice President Technology.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 PUG Challenge Americas 2015 Click to edit Master title style PUG Challenge USA 2015 Top Performance Enhancers & Destroyers Presented by: Dan Foreman.
DB-12: Achieving High Availability with Clusters and OpenEdge® Replication Combining the two technologies Hugo Loera Chávez Senior Tech Support Engineer.
Windows Server MIS 424 Professor Sandvig. Overview Role of servers Performance Requirements Server Hardware Software Windows Server IIS.
DB-13: Understanding VSTs By Paul Guggenheim. Copyright © 2005 Paul Guggenheim & Associates 2 DB-13: Understanding VSTs 2 About PGA  Working in Progress.
Birth, Death, Infinity Gus Björklund. Progress. Dan Foreman. BravePoint. PUG Challenge Americas, 9-12 June 2013.
Database Storage Considerations Adam Backman White Star Software DB-05:

DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
Top Performance Enhancers Top Performance Killers in Progress Dan Foreman Progress Expert
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
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.
PROGRESS S O F T W A R E Linux And The Progress RDBMS Gus Björklund Wizard Progress Software PUG Challenge 2002, Veldhoven, the Netherlands.
OPS-6: Beginners Guide to OpenEdge ® SQL via ODBC or JDBC Brian Werne Sr. Engineering Manager OpenEdge SQL and OpenEdge Management.
Chapter 3 Managing Disk and File Systems. File Storage Basics Windows XP supports two types of storage Basic Dynamic Basic storage system Centers on partitioning.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Sys Admin Course Physical Storage and File Systems Fourie Joubert.
DONE-08 Sizing and Performance Tuning N-Tier Applications Mike Furgal Performance Manager Progress Software
DB-1: OpenEdge ® SQL in a 10.1B multi- database environment for ODBC and JDBC Brian Werne Sr. Engineering Manager, OpenEdge SQL and OpenEdge Management.
OPS-15: What was Happening with My Database, AppServer ™, OS... Yesterday, Last Month, Last Year? Libor LaubacherRuanne Cluer Principal Tech Support Engineer.
Progress Database Admin 1 Jeffrey A. Brown - Technical Support Consultant
Windows Server 2003 硬碟管理與磁碟機陣列 林寶森
Progress Database Admin Jeffrey A. Brown – Engineering Support, Technical Consultant
What’s new in OpenEdge 10.2B OpenEdge Management OpenEdge Replication
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
Install, configure and test ICT Networks
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
1 Introduction to Shared Folders Shared folders provide network users access to files. Users connect to the shared folder over the network. Users must.
Web Server Security: Protecting Your Pages NOAA OAR WebShop 2001 August 2 nd, 2001 Jeremy Warren.
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
AA202: Performance Enhancers for Laserfiche Connie Anderson, Technical Writer.
Top 10 Non-SharePoint Technical Issues That Can Doom Your Implementation Robert Bogue (317)
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Tales of the Secret Bunker 2016 (231) Dump and Load Edition Mike Furgal – Director MDBA and Pro2 Services Gus Bjorklund - Lackey.
Hitting the SQL Server “Go Faster” Button
Top Performance Enhancers & Destroyers
Mike Furgal Director – DB and Pro2 Services March 20th, 2017
Introduction of Week 6 Assignment Discussion
5 SYSTEM SOFTWARE CHAPTER
Introduction of Week 3 Assignment Discussion
Walking Through A Database Health Check
Hitting the SQL Server “Go Faster” Button
OPS-8: Effective OpenEdge® Database Configuration
5 SYSTEM SOFTWARE CHAPTER
OPS-14: Effective OpenEdge® Database Configuration
Presentation transcript:

DB-7: OpenEdge® Database Performance Tuning Gus Björklund Wizard, Vice President Technology

Topics Easy Stuff: The Basics Disk Layout Esoterica DB-7: OpenEdge Database Performance Tuning

First Things First > > probkup foo > DB-7: OpenEdge Database Performance Tuning

“Out of the Box” Performance > > proserve foo > DB-7: OpenEdge Database Performance Tuning

“Out of the box” Performance DB-7: OpenEdge Database Performance Tuning

“Nine Easy Pieces” for Better Results DB-7: OpenEdge Database Performance Tuning

1: Buffer Pool Size > > proserve foo -B 32000 > DB-7: OpenEdge Database Performance Tuning

2: Spinlock retry count > > proserve foo -B 32000 -spin 50000 > DB-7: OpenEdge Database Performance Tuning

3: Start BI Log Writer (BIW) > > proserve foo -B 32000 -spin 50000 > probiw foo > DB-7: OpenEdge Database Performance Tuning

4: Start Async Page Writer (APW) > > proserve foo -B 32000 -spin 50000 > probiw foo > proapw foo > proapw foo > DB-7: OpenEdge Database Performance Tuning

5: Increase BI Log Block Size > > proutil foo -C truncate bi \ > -biblocksize 8 > proserve foo -B 32000 -spin 50000 > probiw foo > proapw foo > proapw foo > DB-7: OpenEdge Database Performance Tuning

6: Increase BI Log Cluster Size > > proutil foo -C truncate bi \ > -biblocksize 8 -bi 4096 > proserve foo -B 32000 -spin 50000 > probiw foo > proapw foo > proapw foo > DB-7: OpenEdge Database Performance Tuning

7: Add BI Log buffers > > proutil foo -C truncate bi \ > -biblocksize 8 -bi 4096 > proserve foo -B 32000 -spin 50000 \ > -bibufs 25 > probiw foo > proapw foo > proapw foo > DB-7: OpenEdge Database Performance Tuning

8: Initial Database Layout d "Schema Area" /users/gus/atm.d1 d "atm":7,64;512 /users/gus/atm_7.d1 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d2 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d3 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d4 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d5 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d6 f 2000000 d "atm":7,64;512 /users/gus/atm_7.d7 b /users/gus/atm.b1 DB-7: OpenEdge Database Performance Tuning

8: Move Data Extents to Striped Array d "Schema Area" /users/gus/atm.d1 d "atm":7,64;512 /array/atm_7.d1 f 2000000 d "atm":7,64;512 /array/atm_7.d2 f 2000000 d "atm":7,64;512 /array/atm_7.d3 f 2000000 d "atm":7,64;512 /array/atm_7.d4 f 2000000 d "atm":7,64;512 /array/atm_7.d5 f 2000000 d "atm":7,64;512 /array/atm_7.d6 f 2000000 d "atm":7,64;512 /array/atm_7.d7 b /users/gus/atm.b1 DB-7: OpenEdge Database Performance Tuning

9: BI Log On Separate Disk d "Schema Area" /users/gus/atm.d1 d "atm":7,64;512 /array/atm_7.d1 f 2000000 d "atm":7,64;512 /array/atm_7.d2 f 2000000 d "atm":7,64;512 /array/atm_7.d3 f 2000000 d "atm":7,64;512 /array/atm_7.d4 f 2000000 d "atm":7,64;512 /array/atm_7.d5 f 2000000 d "atm":7,64;512 /array/atm_7.d6 f 2000000 d "atm":7,64;512 /array/atm_7.d7 b /bidisk/atm.b1 DB-7: OpenEdge Database Performance Tuning

Can you predict the results ? DB-7: OpenEdge Database Performance Tuning

Now Our Results Are DB-7: OpenEdge Database Performance Tuning

Effect of Tuning -spin DB-7: OpenEdge Database Performance Tuning

Effect of Tuning -B DB-7: OpenEdge Database Performance Tuning

Disk Layout DB-7: OpenEdge Database Performance Tuning

About disks Inexpensive !! One drive can do only one thing at a time Many smaller drives better than one large 15,000 rpm drives SCSI still better than SATA II Desktop drives rated 8 hours on, 16 off Avoid cheesy controllers Spares DB-7: OpenEdge Database Performance Tuning

Multiple Disk Drives DB-7: OpenEdge Database Performance Tuning

Stripe and Mirror DB-7: OpenEdge Database Performance Tuning

Put BI Log on own disk DB-7: OpenEdge Database Performance Tuning

Use Type II Data Areas DB-7: OpenEdge Database Performance Tuning

Type I vs Type II Areas DB-7: OpenEdge Database Performance Tuning

Esoterica DB-7: OpenEdge Database Performance Tuning

Networking Raise message size (-Mm) to 16k Use Gigabit Ethernet Configure Ethernet for FDX Multiple brokers One for 4GL, one for SQL Others Raise max servers (-Mn) and (-Mpb) Lower clients per server (-Ma) DB-7: OpenEdge Database Performance Tuning

Temporary files (-T) Local drives, not on network Spread users over multiple disks DB-7: OpenEdge Database Performance Tuning

Use Shared Procedure Libraries One copy of r-code for many users Use saved memory for other things like higher -B All sharers have to be on same machine Don’t need on client machines DB-7: OpenEdge Database Performance Tuning

Creating Records Template holds default column values Creating a record makes a copy of template CREATE cust Fill in all column values immediately Use one ASSIGN Avoids an update later Avoids fragmentation if default record is very small DB-7: OpenEdge Database Performance Tuning

Linux File Systems ReiserFS results wildly erratic - don’t use ! DB-7: OpenEdge Database Performance Tuning

Other filesystems Operating system File system Solaris VxFS or UFS AIX JFS or JFS2 HP-UX NOT HFS Windoze NTFS Linux ext3, XFS, JFS DB-7: OpenEdge Database Performance Tuning

Windows Tips (part 1) Remove crapware Turn off Black screensaver only use Ad-Aware or Spybot S&D use Firefox, NOT IE Turn off services you don’t need http://majorgeeks.com/page.php?id=12 startup items you don’t need Black screensaver only Get rid of Office (at least indexer) DB-7: OpenEdge Database Performance Tuning

Windows Tips (part 2) NTFS filesystem Increase NTFS cluster size Never FAT-32 or FAT-16 Increase NTFS cluster size format <drive>:/fs:ntfs /A:8k Turn off short filenames file sharing virus scanner ! all GUI decorations “Maximize Throughput for Network Applications” DB-7: OpenEdge Database Performance Tuning

SQL Tips Add more indexes Run UPDATE STATISTICS Use ODBC and JDBC API’s well See DataDirect.com/developer for technical papers Upgrade to 10.1 DB-7: OpenEdge Database Performance Tuning

More Esoterica Buy more memory - cheapest way to improve Use 64-bit OpenEdge Mount filesystems with noatime Lock shared memory (-pinshm) Use “deadline” i/o scheduler on Linux We like 3ware controllers for mid-size boxen Set shmmax to 134,217,728 DB-7: OpenEdge Database Performance Tuning

Summary Getting good database performance is easy DB-7: OpenEdge Database Performance Tuning

More info My tuning guide on Conference CD PEG (www.peg.com) Dan Foreman’s guides (info at expo) Related sessions: COMP–12: Load/Performance Testing Tools and Techniques DB–2: Tuning OpenEdge SQL: Boosting Your SQL Application Performance DB–5: OpenEdge Database Performance Made Easy DB–8: Highly Parallel Dump and Load DB–9: Pick an Index, Any Index... DB-7: OpenEdge Database Performance Tuning

? Want Answers DB-7: OpenEdge Database Performance Tuning

DB-7: OpenEdge Database Performance Tuning