New Generation of OpenEdge ® RDBMS Advanced Storage Architecture II Tomáš Kučera Principal Solution Engineer / EMEA Power Team.

Slides:



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

9 Creating and Managing Tables. Objectives After completing this lesson, you should be able to do the following: Describe the main database objects Create.
CC SQL Utilities.
More on File Management
DB-7: OpenEdge® Database Performance Tuning
DB-03: A Tour of the OpenEdge™ RDBMS Storage Architecture Richard Banville Technical Fellow.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
Chapter 4 : File Systems What is a file system?
OPS-10: Moving V8/V9 RDBMS to OpenEdge® 10
The Next Generation OpenEdge® IDE
DB-13: Database Health Checks How to tell if you’re heading for The Wall Richard Shulman Principal Support Engineer.
1 Introduction to Database Systems CSE 444 Lectures 19: Data Storage and Indexes November 14, 2007.
OPS-7: Migrating your Distributed Application from V9 to OpenEdge ® 10 with (Almost) No Downtime Roy Ellis Principal QA Engineer.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
1 PUG Challenge EU 2014 Click to edit Master title style PUG Challenge EMEA 2014 – Dusseldorf, Germany Common Database Problems Common Database Solutions.
Chapter 11: File System Implementation
CS 4432lecture #61 CS4432: Database Systems II Lecture #6 Professor Elke A. Rundensteiner.
Harvard University Oracle Database Administration Session 2 System Level.
Harvard University Oracle Database Administration Session 5 Data Storage.
MOVE-4: Upgrading Your Database to OpenEdge® 10 Gus Björklund Wizard, Vice President Technology.
CHAPTER 11 Large Objects. Need for Large Objects Data type to store objects that contain large amount of text, log, image, video, or audio data. Most.
Database Storage Considerations Adam Backman White Star Software DB-05:
9/11/2015ISYS366 - Week051 ISYS366 – Week 5-6 Database Tuning - User and Rollback Data Spaces, Recovery, Backup.
Oracle Database Architecture An Oracle server: –Is a database management system that provides an open, comprehensive, integrated approach to information.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Top Performance Enhancers Top Performance Killers in Progress Dan Foreman Progress Expert
COMP-10: OpenEdge ® Management & Replication – Divide et impera! Cyril Gleiman & Libor Laubacher Principal Technical Support Engineers.
CSE 781 – DATABASE MANAGEMENT SYSTEMS Introduction To Oracle 10g Rajika Tandon.
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.
7202ICT Database Administration Lecture 7 Managing Database Storage Part 2 Orale Concept Manuel Chapter 3 & 4.
Extents, segments and blocks in detail. Database structure Database Table spaces Segment Extent Oracle block O/S block Data file logical physical.
A first look at table partitioning PUG Challenge Americas Richard Banville & Havard Danielsen OpenEdge Development June 9, 2014.
Object-Oriented Programming and the Progress ABL Tomáš Kučera Principal Solution Engineer / EMEA Power Team.
Architecture Rajesh. Components of Database Engine.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
OPS-1: DBA How Healthy is Your Database Today? Libor LaubacherRuanne Cluer Principal Tech Support Engineer.
Horizontal Table Partitioning Dealing with a manageable slice of the pie. Norwegian PUG Event Richard Banville Fellow, OpenEdge Development April 8, 2014.
1 File Management Chapter File Management n File management system consists of system utility programs that run as privileged applications n Concerned.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
D Copyright © Oracle Corporation, All rights reserved. Loading Data into a Database.
1/14/2005Yan Huang - CSCI5330 Database Implementation – Storage and File Structure Storage and File Structure II Some of the slides are from slides of.
COSC 2007 Data Structures II Chapter 13 Advanced Implementation of Tables IV.
DB-08: A Day in the Life of a Type II Record Richard Banville Progress Fellow.
Chapter 4 Logical & Physical Database Design
Common Database Problems Common Database Solutions Mike Furgal Managed Database Service EMEA PUG Challenge 2015, Copenhagen, Denmark 4 – 6 November, 2015.
Using Progress® Analytical Tools Adam Backman White Star Software DONE-05:
Physical Database Structure .
CS4432: Database Systems II
W4118 Operating Systems Instructor: Junfeng Yang.
Select Operation Strategies And Indexing (Chapter 8)
Tales of the Secret Bunker 2016 (231) Dump and Load Edition Mike Furgal – Director MDBA and Pro2 Services Gus Bjorklund - Lackey.
Platform and Data Migration With Little Downtime
Module 11: File Structure
How Social is your data Fundamentals on database storage
We Have Found Nirvana with Online Dump and Load (224)
Mike Furgal Director – DB and Pro2 Services March 20th, 2017
26 - File Systems.
Chapter Overview Understanding the Database Architecture
Walking Through A Database Health Check
OPS-8: Effective OpenEdge® Database Configuration
Lecture 19: Data Storage and Indexes
Introduction to Database Systems CSE 444 Lectures 19: Data Storage and Indexes May 16, 2008.
OPS-14: Effective OpenEdge® Database Configuration
Large Object Datatypes
Chapter 14: File-System Implementation
Database administration
The File Manager Implementation issues
Presentation transcript:

New Generation of OpenEdge ® RDBMS Advanced Storage Architecture II Tomáš Kučera Principal Solution Engineer / EMEA Power Team

© 2007 Progress Software Corporation2 > whoami  Started with Progress Software Czech Republic – Dec 19, 1994  2 Technical Support (1996 at ETSC)  Since Dec 1996 – Consultant, Presales, Trainer, Project Manager  Currently – GFS Mgmt responsibilities for Cze&Pol, member of the EMEA Power Team – primary responsibility for SAND  Product Areas: OpenEdge, Sonic, some Apama and Actional  Contact: Skype: tomas_kucera TKU

© 2007 Progress Software Corporation3 Audience Survey ReleaseWhenAge 7.2Along agoancient 8.2Along agoancient 8.3Along agoancient 9.0ADec 1998over 8 years 9.1ADec 1999over 7 years 10.0ADec 2004over 2 years 10.1AJan 2006over 1 year 10.1BJan months

© 2007 Progress Software Corporation4 Audience Survey ReleaseWhenAge 7.2Along agoancient 8.2Along agoancient 8.3Along agoancient 9.0ADec 1998over 8 years 9.1ADec 1999over 7 years 10.0ADec 2004over 2 years 10.1AJan 2006over 1 year 10.1BJan months

© 2007 Progress Software Corporation5 Agenda  Summary of Advanced Storage Architecture  Advanced Storage Architecture II  Migrating to ASA II  Bonus

© 2007 Progress Software Corporation6 What‘s Advanced Storage Architecture II  ASA I Implemented in Progress V9 Data Storage Areas RECID unique per area  ASA II Implemented in OpenEdge 10 A brand new space allocation mechanism RECID unique per area and object block  OE10 RDBMS can have objects from both ASAI&II Summary

© 2007 Progress Software Corporation7 Agenda  Summary of Advanced Storage Architecture  Advanced Storage Architecture II  Migrating to ASA II

© 2007 Progress Software Corporation8 Advanced Storage Architecture II  Data Clusters  Database „Objects“  Storage Area Type II What‘s in the box?

© 2007 Progress Software Corporation9 Data Clusters  A group of 8 or more adjacent blocks – fixed size for area  A unit of space allocation for objects  A unit of space allocation for extents  All blocks in cluster belong to same object  Entire cluster can be read in a single IO operation

© 2007 Progress Software Corporation10 Database „Objects“  Composed of one or more clusters  Object types: Table Index Sequence generators Large objects: binary - BLOB, character - CLOB, character – XML Empty

© 2007 Progress Software Corporation11 Storage Area Type II  Data Storage Area is made up of one or more extents and contains one or more database objects  Extent contains one or more data clusters  Data clusters have fixed size of 8, 64 or 512 database blocks and are unit of space allocation  Blocks in a cluster are contiguous and belong to the same database object

© 2007 Progress Software Corporation12 Areas, Extents, Clusters, Blocks Area root cluster A Table An Index Another Table Free clusters Empty clusters Extent header Free blocks Extent 1 Extent 0 Area cl 0 cl 1 cl 2 cl 3 cl 4 cl 5 cl 6 cl 7 cl 8 cl 9 cl 10 cl 11 cl 12 cl 13 cl 14 cl 15

© 2007 Progress Software Corporation13 New Database Block Types Block TypeContents Extent HeaderExtent type, current extent size, maximum extent size, cluster size, area id, block size, control file name Area Rootcluster size, link to free cluster map cluster highwater mark Free Cluster Mapbitmap of clusters in use or free, next and prev links Object Listlist of object id’s and their root cluster id’s Object Rootobject id, object type, link to free map, link to row space map Cluster Listlist of clusters belonging to an object

© 2007 Progress Software Corporation14 ASA Performance FeatureBenefit Unnecessary elimination of table and index fragmentation Reduced need for data reorganization providing less frequent and shorter downtimes Allocated space for objects in contiguous chunks that can be read (and written) using large i/o operations Enhanced overall performance Better utilization of available disk bandwidth Enhanced overall database i/o performance Enhanced maintenance utility performance for “bulk” operations Full object scans possibleEnhanced online application performance

© 2007 Progress Software Corporation15 Agenda  Summary of Advanced Storage Architecture  Advanced Storage Architecture II  Migrating to ASA II

© 2007 Progress Software Corporation16 Migrating to ASA II  Backup your database  Keep dbanalys & promon data for reference  Install OpenEdge 10 (no need to delete / overwrite Progress V9)  Upgrade database to OE10  Run UPDATE STATISTICS for SQL  Backup your database again!  Recompile application code  Ready... Steady... GO!!! General Upgrade Strategy

© 2007 Progress Software Corporation17 Migrating to ASA II  Backup your database  Keep dbanalys & promon data for reference  Install OpenEdge 10 (no need to delete / overwrite Progress V9)  Upgrade database to OE10  Run UPDATE STATISTICS for SQL  Backup your database again!  Recompile application code  Ready... Steady... GO!!! General Upgrade Strategy

© 2007 Progress Software Corporation18 Upgrading Database to OpenEdge 10  The 5-Minute Rule  We Want More Rule You have a choice

© 2007 Progress Software Corporation19 Upgrading Database to OpenEdge 10  proutil -C conv910 -B 512  Conversion utility runs in place, in 5 minutes or less  Mostly we upgrade the schema tables  No changes to records or indexes  No changes to physical structures The 5-Minute Rule

© 2007 Progress Software Corporation20 Upgrading Database to OpenEdge 10  Pros: It is extremely quick and easy You can run the database It will very likely run better than before Most of your DBA scripts should work fine  Cons: Fragmentation may still exist All data in Type I data storage areas The 5-Minute Rule

© 2007 Progress Software Corporation21 Upgrading Database to OpenEdge 10  Do some more work – move data to Data Storage Areas Type II  Upgrade with conv910 utility  Move schema tables  Create Data Storage Areas Type II  Move tables and indexes  Truncate old data storage areas  Delete old data storage areas We Want More Rule

© 2007 Progress Software Corporation22 Upgrading Database to OpenEdge 10  Moving schema tables proutil -C mvsch Renumbers existing schema area Creates new schema area #6 Copies schema tables Deletes old schema tables We Want More Rule

© 2007 Progress Software Corporation23 Upgrading Database to OpenEdge 10  Create Data Storage Areas Type II prostrct add Use database block size 4K or 8K BI & AI block size should match each other Type II Data Storage Area Cluster sizes: –Tables areas: 512 –Index areas: 512 Note: D&L required to change database block size We Want More Rule

© 2007 Progress Software Corporation24 Upgrading Database to OpenEdge 10  Moving tables and indexes proutil -C tablemove | idxmove Can move just table, or table and its indexes We Want More Rule

© 2007 Progress Software Corporation25 Upgrading Database to OpenEdge 10  Truncate and delete old data storage areas proutil -C truncate bi proutil -C truncate area After that data storage area is logically truncated and its extents can now be removed prostrct remove We Want More Rule

© 2007 Progress Software Corporation26 Upgrading Database to OpenEdge 10  If you don‘t like this approach, you still can do the famous Dump & Load  You will have to do it if you are changing database block size  D&L options: Dictionary D&L Custom D&L Custom BUFFER-COPY Binary D&L We Want More Rule

© 2007 Progress Software Corporation27 Agenda  Summary of Advanced Storage Architecture  Advanced Storage Architecture II  Migrating to ASA II  Bonus

© 2007 Progress Software Corporation28 What‘s new in OpenEdge 10.1B  Implemented INT64 data type  64-bit Database Keys – applies to Data Storage Areas Type II only Removes 2 billion row limit – pushed to more than 9 quintillion ROWID format has to have 8 additional characters (0x )  Database Limits pushed farther again areas * 1 petabyte per area = ~32 exabytes of data Summary

© 2007 Progress Software Corporation29 What‘s new in OpenEdge 10.1B  64-bit Sequences  Large Index Key Entries Removes ~192 byte limit Allows ~1970 bytes of user data  1000 Area Limit areas assumed Can be restricted by using -maxAreas startup parameter Summary

© 2007 Progress Software Corporation30 What‘s new in OpenEdge 10.1B  proutil -C describe  proutil -C enableseq64  proutil -C enablelargekeys  proutil -C updatevst  proutil -C revert Summary

© 2007 Progress Software Corporation31 What‘s new in OpenEdge 10.1B  Shared memory segment size on 32-bit platforms Summary Shared Memory2GB Max shmsegsize128MB Max #Segments21 Shared Memory4GB Max shmsegsize4GB #Segments32 Prior 10.1B 10.1B

© 2007 Progress Software Corporation32 What‘s new in OpenEdge 10.1B  Enable After-Imaging Online probkup online enableai AI files must already exist (but can be added online too!) Online backup used as basis for roll-forward AI writers and replication must be enabled manually  Enable AI Online with AI Management Summary

© 2007 Progress Software Corporation33 Question? Tomáš Kučera Skype: tomas_kucera

© 2007 Progress Software Corporation34