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

Chapter 7 Maintenance

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Table of Contents

Using Simple and Complex Maintenance Operations
Maintaining the DBEnvironment
Adjusting Startup Values
Determining Behavior of Rules in a DBEnvironment Session
Updating System Catalog Statistics
Changing System Table Lock Types
Managing DBEFiles and DBEFileSets
Adding a New DBEFile
Changing DBEFile Type
Dropping a DBEFile
Maintaining Tables
Changing a Table's Locking Behavior
Dropping Tables
Adding Columns
Deleting Columns
Removing Rows from a Table
Merging Tables
Dividing Tables
Renaming Tables or Columns
Dropping and Recreating Hash Structures
Maintaining Indexes
Monitoring Index Space
Monitoring the Cluster Count
Dropping and Recreating an Index
Reloading a Table to Improve Index Performance
Altering the Index Key
Maintaining Constraints
Adding Constraints
Dropping Constraints
Maintaining Rules and Procedures
Granting and Revoking Procedure Authorities
Examining the Inventory of Rules and Procedures
Dropping and Recreating Rules and Procedures
Validating Procedure Sections
Maintaining Sets of Interrelated Objects
Maintaining Applications
Invalidation and Revalidation of Sections
Monitoring File Space for Modules and Sections
Module Related Authorities
Sharing Modules Between DBEnvironments
Dropping Modules
Maintaining a Nonstop Production System
DBEFiles in Different Groups and Volumes
Detaching and Attaching Database Files
Using a Host Variable with the CHECKPOINT Statement
Using Console Message Files
Making Changes to a New Log File
Checking the System Catalog
Maintaining Security
Disabling Data Definition
Judging Maintenance Expenses
Cleaning Up after Abnormal Termination

Maintenance is a composite of activities that let you adjust the DBEnvironment to the changing needs of your system's users. The following are presented in this chapter:

  • Using simple and complex maintenance operations

  • Maintaining the DBEnvironment

  • Maintaining tables

  • Dropping and recreating hash structures

  • Maintaining indexes

  • Maintaining constraints

  • Maintaining rules and procedures

  • Maintaining sets of interrelated objects

  • Maintaining applications

  • Maintaining a nonstop production system

  • Maintaining security

  • Disabling data definition

  • Judging maintenance expenses

  • Cleaning up after abnormal termination

For most maintenance operations, you use the data definition statements in SQL. For some maintenance operations, you use SQLUtil and SQLGEN, which are described in the "DBA Tasks and Tools" chapter, or the ISQL LOAD and UNLOAD commands. Complete command syntax for SQLUtil and SQLGEN appears in the appendix of this manual. ISQL commands are described in the ISQL Reference Manual for ALLBASE/SQL and IMAGE/SQL. To monitor DBEnvironment performance, you use SQLMON, which is described in the ALLBASE/SQL Performance and Monitoring Guidelines.

Feedback to webmaster