HPlogo ALLBASE/SQL Database Administration Guide: HP 3000 MPE/iX Computer Systems

Chapter 3 Physical Design

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Table of Contents

Calculating Storage for Database Objects
Understanding DBEFile Characteristics
Calculating Storage for Tables
Calculating Storage for Indexes
Arranging Tables and Indexes in DBEFileSets
Calculating Storage for Hash Structures
Calculating Storage for Integrity Constraints
Calculating Storage for the System Catalog
Storage of Definitions for Newly Created Objects
Number of Columns in Tables
Definitions of Rules, Procedures, Constraints, and Views
Storage of Sections
Calculating Space Needed for Sections
Monitoring System Catalog Size
Calculating Storage for Logging
Understanding Log File Characteristics
Log Records and Transactions
Using Archive or Nonarchive Logs
Using Single or Dual Logging
Using Multiple Log Files
Sample Log Configuration
Disk Space for the Log
Calculating Temporary Disk Space
Controlling the Use of Temporary Space
Estimating Shared Memory Requirements
Estimating Runtime Control Block Buffer Pages
Estimating Data Buffer Pages
Setting the Memory Resident Buffer Flag
Estimating Log Buffer Pages
Estimating the Number of Transactions
Implementing the Design

Physically, an ALLBASE/SQL DBEnvironment is a collection of files for the storage of databases. The physical design process helps you compute the storage requirements for the tables, indexes, and other objects that emerge at the end of the logical design process. This chapter describes several steps that are involved in developing an appropriate physical design for your DBEnvironments:

  • Calculating storage for database objects

  • Calculating storage for the system catalog

  • Calculating storage for logging

  • Calculating temporary disk space

  • Estimating shared memory requirements

  • Estimating the number of transactions

  • Implementing the design

Before designing physical storage, you must first establish the logical design of your databases. The layout of the tables, the number of columns and column sizes, the column data types, the number and types of indexes, and the estimated number of rows per table are all factors that affect physical design. You should also have an idea of how the the tables are going to be used, since you can design physical storage to optimize performance.

Physical design also requires an understanding of ALLBASE/SQL files. Therefore, this chapter also describes the characteristics of DBEFiles and log files while presenting guidelines on determining storage requirements. Familiarity with the MPE/iX file system will also help you during the physical design phase.

Feedback to webmaster