Presentation is loading. Please wait.

Presentation is loading. Please wait.

OPS-14: Effective OpenEdge® Database Configuration

Similar presentations


Presentation on theme: "OPS-14: Effective OpenEdge® Database Configuration"— Presentation transcript:

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

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

3 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

4 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

5 Real World Results OPS-14: Effective OpenEdge Database Configuration

6 Real World Results OPS-14: Effective OpenEdge Database Configuration

7 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

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

9 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

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

11 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

12 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

13 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

14 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

15 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

16 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

17 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

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

19 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 bytes in a 8k db block and 3900 bytes in a 4k db block OPS-14: Effective OpenEdge Database Configuration

20 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 B PUB.Department B PUB.Employee K PUB.Family K 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

21 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

22 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

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

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

25 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

26 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

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

28 Relevant Exchange Sessions
OPS-1: DBA 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

29 ? Questions OPS-14: Effective OpenEdge Database Configuration

30 Thank You OPS-14: Effective OpenEdge Database Configuration

31 OPS-14: Effective OpenEdge Database Configuration


Download ppt "OPS-14: Effective OpenEdge® Database Configuration"

Similar presentations


Ads by Google