OPS-14: Effective OpenEdge® Database Configuration

Slides:



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

Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
DB-03: A Tour of the OpenEdge™ RDBMS Storage Architecture Richard Banville Technical Fellow.
Free Space and Allocation Issues
OPS-7: Migrating your Distributed Application from V9 to OpenEdge ® 10 with (Almost) No Downtime Roy Ellis Principal QA Engineer.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
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.
Top Performance Enhancers Top Performance Killers in Progress Dan Foreman Progress Expert
Why does my perfectly working App Crash and Burn in Production? Matt Kramer Project Manager, STL Boeing Scalability Test Lab cell.
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.
Oracle Tuning Ashok Kapur Hawkeye Technology, Inc.
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.
Chapter 4 Logical & Physical Database Design
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
11 Copyright © 2009, Oracle. All rights reserved. Enhancing ETL Performance.
Pro2SQL: BI and Reporting solution June 26 th – June 29 th Manchester, NH Greg White – Sr Consultant Progress Software.
Tales of the Secret Bunker 2016 (231) Dump and Load Edition Mike Furgal – Director MDBA and Pro2 Services Gus Bjorklund - Lackey.
The next big thing from Boyum IT
Platform and Data Migration With Little Downtime
Storage and File Organization
Databases and DBMSs Todd S. Bacastow January 2005.
Business System Development
EF Code First (Advanced)
Real Time Data with Azure and Power BI
N-Tier Architecture.
Chapter 6 - Database Implementation and Use
How Social is your data Fundamentals on database storage
Physical Changes That Don’t Change the Logical Design
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Outline Paging Swapping and demand paging Virtual memory.
Chapter 18 Maintaining Information Systems
We Have Found Nirvana with Online Dump and Load (224)
OpenEdge Standard Storage Areas
QlikView Licensing.
Finding more space for your tight environment
File System Structure How do I organize a disk into a file system?
Chapter 11: File System Implementation
COMP 430 Intro. to Database Systems
Software Architecture in Practice
Storage Virtualization
Introduction of Week 6 Assignment Discussion
Walking Through A Database Health Check
DBM 380 AID Perfect Education/ dbm380aid.com.
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Microsoft Azure P wer Lunch
Tech Inside Extended Document Management System (EDMS)
DATABASE MANAGEMENT SYSTEM
Chapter 11: File System Implementation
Data, Databases, and DBMSs
MES Migration HGP Asia Knowledge Day 2017
Chapter 11: File System Implementation
Oracle Solutions for Data Archiving
OPS-8: Effective OpenEdge® Database Configuration
ARCH-1: Application Architecture made Simple
Please thank our sponsors!
Database Systems Instructor Name: Lecture-3.
THE REALITY OF USING CONTAINERS TO BUILD PRODUCTS
Upgrading Your Private Cloud with Windows Server 2012 R2
Chapter 11: File System Implementation
Database System Architecture
Query Processing.
Using Columnstore indexes in Azure DevOps Services. Lessons learned
Using Columnstore indexes in Azure DevOps Services. Lessons learned
CSE 326: Data Structures Lecture #14
ARCH-14: Power Your Organisation with OpenEdge
Aligning Your Strategy to Microsoft
Unit 12 Index in Database 大量資料存取方法之研究 Approaches to Access/Store Large Data 楊維邦 博士 國立東華大學 資訊管理系教授.
Presentation transcript:

OPS-14: Effective OpenEdge® Database Configuration Rob Marshall Principal Solutions Consultant

Agenda Performance The Physical Layout Other Considerations OPS-14: Effective OpenEdge Database Configuration

Performance What performance gains could I expect:   By just moving to OpenEdge   By going to Type I Storage Areas   By going to Type II Storage Areas NOTE: YMMV* (Your Mileage May Vary) OPS-14: Effective OpenEdge Database Configuration

Performance Real Customer Experience: Manufacturing Industry Challenge was long running major processes Customer Statement process was taking over 25 min each (interactive process) Nightly MRP was taking over 4 hours OPS-14: Effective OpenEdge Database Configuration

Real World Results OPS-14: Effective OpenEdge Database Configuration

Real World Results OPS-14: Effective OpenEdge Database Configuration

Real World Results Why so big of a difference? Is this typical of what I can expect? How fast can I get there? OPS-14: Effective OpenEdge Database Configuration

Agenda Performance The Physical Layout Other Considerations OPS-14: Effective OpenEdge Database Configuration

Storage Areas? No adverse application effects Physical reorg does NOT change the application Object location is abstracted from the language by an internal mapping layer Different physical deployments can run with the same compiled r-code OPS-14: Effective OpenEdge Database Configuration

Determining the Layout What process is used to determine what the new layout should be? OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Every layout could be different Not every company uses the same application the same way or with the same options. OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Things to consider: Is your application from a Partner or do you maintain it? If it is from a Partner: Have you asked for their recommendations? Would they support you if you changed the layout? Do you have the capacity to re-org your database (you have the capability) OPS-14: Effective OpenEdge Database Configuration

Determining the Layout To do a layout……. Step 1: Run a dbanalys report of the full database (or on a copy of it if you have one) OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Step 1: The beginning…. Run a dbanalys report of the full database (or on a copy of it if you have one) What we look for: Large tables by record count Large tables by raw storage size Unused tables (no records) What is considered large? OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Step 2: Initial Separation…. For each of the large tables, make a separate data area for the table and a separate index area for its indices. This will add 2 new storage areas FOR EACH large table. For the tables with no records, make a small storage area for the tables and a separate storage area for the indexes. This will add 2 new storage areas total. OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Step 3: “Special” tables…. Every application has some of these: Control Tables (e.g. country codes) High Create/Destroy activity (e.g. batch report queue) Make a separate storage area for all control tables and a separate area for their indexes Make a separate storage area for all high create / destroy tables and a separate area for their indexes OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Step 4: The rest…. Group the remaining tables by mean record size into 32, 64, 128 and 256 record per block groups. Make a separate storage area for each grouping and a separate area for their indexes OPS-14: Effective OpenEdge Database Configuration

Determining the Layout How to select the record per block and cluster setting? OPS-14: Effective OpenEdge Database Configuration

Determining the Layout How to select the record per block, and why do I care? Incorrect settings waste recid pointers and can cause internal block fragmentation You have approx. 8000 bytes in a 8k db block and 3900 bytes in a 4k db block OPS-14: Effective OpenEdge Database Configuration

Determining the Layout RECORD BLOCK SUMMARY FOR AREA "Employee" : 7 -----------------------------------------------Record Size (B)----Fragments------Scatter Table Records Size Min Max Mean Count Factor Factor PUB.Benefits 21 848.0B 39 41 40 21 1.0 1.0 PUB.Department 7 211.0B 26 35 30 7 1.0 2.7 PUB.Employee 55 6.2K 99 135 115 55 1.0 0.8 PUB.Family 72 3.1K 38 51 44 72 1.0 1.1 So, in a 4k db block we could put 100 Benefits records, in a 8k db block we could put 200. However, neither of these are allowed values; WHAT DO WE DO? OPS-14: Effective OpenEdge Database Configuration

Determining the Layout Do we choose based on Performance or Storage requirements? Choose the higher rpb setting for better performance Choose the lower rpb setting for better Storage needs OPS-14: Effective OpenEdge Database Configuration

Determining the Layout How to select the cluster setting? Tables 64 or 512 block clusters Indexes 8 or 64 block clusters OPS-14: Effective OpenEdge Database Configuration

Agenda General Migration Strategy The Fast and Easy Upgrade Other Considerations OPS-14: Effective OpenEdge Database Configuration

Other Considerations The physical layout Combining Databases ? RAID considerations Separating files Fixed or Fixed/Floating Extents   Combining Databases ? OPS-14: Effective OpenEdge Database Configuration

Other Considerations The Database rules of normalization and the impact on performance   Index considerations Many single component keys or fewer multi-component keys OPS-14: Effective OpenEdge Database Configuration

Other Considerations Impact to startup parameters -B is number of db blocks   Impact to other environments Not just Production is impacted SQL Verify your SQL Width values using dbtool Don’t forget to UPDATE STATISTICS OPS-14: Effective OpenEdge Database Configuration

In Summary Huge Performance Gains Possible Can be done in Phases You can do this ! OPS-14: Effective OpenEdge Database Configuration

Relevant Exchange Sessions OPS-1: DBA 101 - How Healthy is Your Database Today? OPS-8: Alerts, Alarms, Pages and Harbingers of Trouble… OPS-10: Moving V8/V9 RDBMS to OpenEdge 10 OPS-18: Data Management and Platforms Roadmap OPS-19: What is IPv6 and Why Should I Care OPS-20: Data Management and Platforms Info Exchange OPS-23: OpenEdge Performance Basics OPS-28: A New Spin on Some Old Latches OPS-14: Effective OpenEdge Database Configuration

? Questions OPS-14: Effective OpenEdge Database Configuration

Thank You OPS-14: Effective OpenEdge Database Configuration

OPS-14: Effective OpenEdge Database Configuration