Progress Database Administration Guide and Reference © 2002 Progress Software Corporation
Total Page:16
File Type:pdf, Size:1020Kb
Progress Database Administration Guide and Reference © 2002 Progress Software Corporation. All rights reserved. Progress® software products are copyrighted and all rights are reserved by Progress Software Corporation. This manual is also copyrighted and all rights are reserved. This manual may not, in whole or in part, be copied, photocopied, translated, or reduced to any electronic medium or machine-readable form without prior consent, in writing, from Progress Software Corporation. The information in this manual is subject to change without notice, and Progress Software Corporation assumes no responsibility for any errors that may appear in this document. The references in this manual to specific platforms supported are subject to change. Progress, Powered by Progress, Progress Fast Track, Progress Profiles, Partners in Progress, Partners en Progress, Progress en Partners, Progress in Progress, P.I.P., Progress Results, ProVision, ProCare, ProtoSpeed, SmartBeans, SpeedScript, and WebSpeed are registered trademarks of Progress Software Corporation in the U.S. and other countries. A Data Center of Your Very Own, Allegrix, Apptivity, AppsAlive, AppServer, ASPen, ASP-in-a-Box, Empowerment Center, Fathom, Future Proof, IntelliStream, OpenEdge, PeerDirect, POSSE, POSSENET, Progress Dynamics, Progress Software Developers Network, SectorAlliance, SmartObjects and WebClient are trademarks or service marks of Progress Software Corporation in the U.S. and other countries. SonicMQ is a registered trademark of Sonic Software Corporation in the U.S. and other countries. Vermont Views is a registered trademark of Vermont Creative Software in the U.S. and other countries. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Any other trademarks and/or service marks contained herein are the property of their respective owners. Progress Software Corporation acknowledges the use of Raster Imaging Technology copyrighted by Snowbound Software 1993- 1997, the IBM XML Parser for Java Edition, and software developed by the Apache Software Foundation (http:// www.apache.org/). © IBM Corporation 1998-1999. All rights reserved. U.S. Government Users Restricted Rights — Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Progress is a registered trademark of Progress Software Corporation and is used by IBM Corporation in the mark Progress/400 under license. Progress/400 AND 400® are trademarks of IBM Corporation and are used by Progress Software Corporation under license. The implementation of the MD5 Message-Digest Algorithm used by Progress Software Corporation in certain of its products is derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. May 2002 Product Code: 4590 Item Number: 89434;V9.1D Contents Preface . xxiii Purpose . xxiii Audience . xxiii Organization of This Manual . xxiii Part I Planning . xxiii Part II Administration . xxiv Part III Reference . xxv How To Use This Manual . xxvi Typographical Conventions . xxvi Syntax Notation . xxvii Example Procedures . xxxi Progress Messages . xxxiv Other Useful Documentation . xxxvi Getting Started . xxxvi Development Tools . xxxvii Reporting Tools . xxxviii 4GL . xxxix Database . xl DataServers. xl SQL-89/Open Access . xli SQL-92 . xli Deployment . xlii WebSpeed. xlii Reference . xliii 1. The Progress Database . 1–1 1.1 Progress Database Architecture . 1–2 1.1.1 Other Database-related Files . 1–4 1.2 Storage Design Overview . 1–5 Contents 1.2.1 Storage Objects . 1–7 1.2.2 Extents . 1–7 1.2.3 Storage Areas . 1–7 1.3 Determining Configuration Variables . 1–9 1.3.1 System Platform . 1–9 1.3.2 Connection Modes . 1–9 1.3.3 Database Location . 1–10 1.3.4 Database Configurations. 1–10 1.4 Operating System Resources . 1–12 1.5 Multi-threaded Architecture . 1–13 1.6 Multi-tier and Cluster Configurations . 1–14 1.7 Self-service and Network Clients . 1–15 1.8 Relative- and Absolute-path Databases . 1–15 2. Administrative Planning . 2–1 2.1 Block Size Considerations . 2–2 2.1.1 Guidelines For Choosing Storage Area Locations . 2–3 2.2 Calculating Database Disk Requirements . 2–3 2.3 Storing Database Extents On Raw Partitions . 2–7 3. Progress Database Limits . 3–1 3.1 Database Block Sizes . 3–2 3.2 Number and Size Of Storage Areas . 3–2 3.3 Maximum Number Of Records Per Block . 3–5 3.4 Table and Index Limits . 3–5 3.5 Number Of Sequences . 3–5 3.6 Maximum Size Of the Primary Recovery (BI) Area . 3–6 3.7 Maximum Database Size . 3–6 3.8 Number Of Connections Per Database . 3–7 3.9 Number Of Simultaneous Transactions Per Database . 3–7 3.10 Size Of Database Buffer Pool . 3–7 3.11 Progress Database Name Limits . 3–8 3.12 Applicable Operating System Limits . 3–8 3.13 Data Types and Values . 3–10 4. Creating and Deleting Databases . 4–1 4.1 Ways To Create a Progress Database . 4–2 4.2 Creating a Database With PROSTRCT CREATE . 4–2 4.2.1 Creating a Structure Description File . 4–3 4.2.2 Create a Database Structure Extent . 4–10 4.2.3 Adding Schema To a Void Database . 4–11 4.3 Creating a Database With the PRODB Utility . 4–12 4.4 Creating a Database With the Data Administration Tool . 4–14 4.5 Migrating Version 8 Databases To Version 9 Databases . 4–15 iv Contents 4.5.1 Converting a Single-volume Version 8 Database With PROCOPY . 4–16 4.5.2 Converting a Single-volume Version 8 Database With PROREST . 4–17 4.5.3 Converting a Single-volume Version 8 Database With PROSTRCT . 4–18 4.5.4 Converting a Version 8 Database To Version 9. 4–18 4.6 Using the Schema Mover After Conversion . 4–19 4.7 Copying a Database . 4–22 4.8 AutoConvert Utility . 4–24 4.9 Deleting a Database . 4–24 5. Starting Up and Shutting Down . 5–1 5.1 The Progress Explorer Framework . 5–2 5.1.1 AdminServer.