![]() |
|
© 1983, 2006 Empress Software Inc.
All rights reserved. Reproduction of this document in whole or part, by electronic or any other means, is prohibited without written consent from Empress Software Inc.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in
subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at 52.227-7013.
05/06
This manual discusses database administration using Empress. It describes the use of Empress utilities for database administrative functions, the structure of the Data Dictionary and system variables for tuning or for the system environment.
1.1 | Installing and Configuring Empress |
1.1.8.1 | Access Manuals from CD-ROM | |||
1.1.8.2 | Access Manuals from the Network |
1.1.9 | Converting Databases |
1.2 | Update Empress System |
1.2.1 | Before Installation Process | ||
1.2.2 | After Installation Process |
1.3 | Terminal Setup for Empress 4GL | |
1.4 | Empress on NFS Platforms |
1.4.1 | Installing Empress on NFS |
1.4.1.1 | System Requirements |
1.4.2 | Access to Empress Databases on NFS |
1.4.2.1 | Administrative Variables |
1.4.3 | File and Database Privileges on NFS |
1.4.3.1 | File Access Permissions | |||
1.4.3.2 | Database Privileges | |||
1.4.3.3 | Database Access under NFS |
2.1 | Introduction | |
2.2 | Data Dictionary Tables |
2.3 | Administrative Variable File for the Data Dictionary |
2.3.1 | Description of Database Administrative Variables |
2.3.1.1 | MSCOORDDISABLE | |||
2.3.1.2 | MSDBADMINISTRATOR | |||
2.3.1.3 | MSDBAUDITTERSE | |||
2.3.1.4 | MSDBAUDITTRAIL1 and MSDBAUDITTRAIL2 | |||
2.3.1.5 | MSDBBLOCKSIZE | |||
2.3.1.6 | MSDBDBAPRIVS | |||
2.3.1.7 | MSDBDFC | |||
2.3.1.8 | MSDBDICTINDEX | |||
2.3.1.9 | MSDBDICTLOCK | |||
2.3.1.10 | MSDBDICTTABLENUMBER | |||
2.3.1.11 | MSDBINDEXPRIMARY and MSDBINDEXOVERFLOW | |||
2.3.1.12 | MSDBLOCKLEVEL | |||
2.3.1.13 | MSDBLOCKSTATS | |||
2.3.1.14 | MSDBMAXPROCS | |||
2.3.1.15 | MSDBPERMS | |||
2.3.1.16 | MSDBPRIVS | |||
2.3.1.17 | MSDBRECOVERYLOG1 and MSDBRECOVERYLOG2 | |||
2.3.1.18 | MSDBSERVERPORTID | |||
2.3.1.19 | MSDBTHRESCHAINLEN | |||
2.3.1.20 | MSDBVALIDATESIZE | |||
2.3.1.21 | MSDBVERSION | |||
2.3.1.22 | MSNFSSHARE | |||
2.3.1.23 | MSDBLOGFILE | |||
2.3.1.24 | MSDBLOCKGRANULARITY | |||
2.3.1.25 | MSDBPUBLICPRIVILEGES | |||
2.3.1.26 | MSDBVERSION_FEATURES |
2.4 | Database Coordinator | |
2.5 | Data Dictionary Cache File | |
2.6 | Database Lock Directory | |
2.7 | Persistent Stored Modules Directory | |
2.8 | Database Transaction Log Directory |
3.1 | Introduction | |
3.2 | Default Values for the System Variables | |
3.3 | Description of Empress System Variables |
4.1 | Introduction | |
4.2 | Audit Trail | |
4.3 | Database Log File |
4.3.1 | Database Log Analyzer Utility |
4.4 | Recovery Log | |
4.5 | Archives and Recovery |
4.5.1 | Database Archives | ||
4.5.2 | Database Recovery from the Archives |
4.6 | On-Line Backup and Recovery |
4.6.1 | On-Line Backup |
4.6.2 | Database Recovery |
5.1 | Introduction | |
5.2 | Exporting Data from a Database | |
5.3 | Importing Data from an Empress Export File | |
5.4 | Importing Data from an Operating System File |
5.4.1 | The Specification File | ||
5.4.2 | FORMAT Clause | ||
5.4.3 | NULLIF Clause | ||
5.4.4 | Examples |
6.1 | Introduction | |
6.2 | Automatic Warm Restart Utility - empwarm | |
6.3 | Transactions Over Several Databases |
6.3.1 | Warm Restarting the Coordinator | ||
6.3.2 | Warm Restart at a Participant | ||
6.3.3 | Concurrent Transactions |
6.4 | Displaying Transaction Status | |
6.5 | Manual Overrides | |
6.6 | Recovering to a Save Point | |
6.7 | Transaction Protection | |
6.8 | Transaction Related Query Language Commands |
6.8.1 | DISPLAY WORK | ||
6.8.2 | START WORK | ||
6.8.3 | COMMIT WORK | ||
6.8.4 | ROLLBACK WORK |
6.9 | Transaction Status Messages |
6.9.1 | Database Status Messages | ||
6.9.2 | Overall Status Messages |
6.10 | Examples |
6.10.1 | Running a Transaction | ||
6.10.2 | Examining the Current Transaction | ||
6.10.3 | Interrupting the Transaction | ||
6.10.4 | Examining the Transaction | ||
6.10.5 | An Unavailable Participant | ||
6.10.6 | An Unavailable Coordinator | ||
6.10.7 | Warm Restart on a Participant | ||
6.10.8 | Warm Restarting a Coordinator | ||
6.10.9 | A Forced Rollback |
8.1 | Introduction |
8.1.1 | Lock Managers | ||
8.1.2 | Global Buffers | ||
8.1.3 | Mapped Files |
8.2 | General Guidelines on the Usage of Shared Memory | |
8.3 | Reference Guide on Setting Up Shared Memory | |
8.4 | Defining Shared Memory Partitions |
8.4.1 | Shared Memory Key | ||
8.4.2 | Partition for Data Dictionary Indicator | ||
8.4.3 | Partition Definitions |
8.4.3.1 | Parameters for Lock Manager | |||
8.4.3.2 | Parameters for Global Buffers | |||
8.4.3.3 | Parameters for Mapped Files | |||
8.4.3.4 | End Partition Definitions |
8.4.4 | End Shared Memory Definition Indicator |
8.5 | Defining Mapping Parameters to the Shared Memory |
8.6 | Managing Shared Memory - empadm |
8.7 | Mapping Default Shared Memory to Databases |
9.1 | Introduction | |
9.2 | DBA and Single User Mode |
9.2.1 | DBA Mode | ||
9.2.2 | Single User Mode |
10.1 | Introduction | |
10.2 | Database Integrity Assurance Utility Operations |
10.2.1 | Server Operations |
10.2.1.1 | Restart A Dead Server | |||
10.2.1.2 | Remove Dangling Clients |
10.2.2 | Data Dictionary Operations |
10.2.2.1 | Re-Compilation | |||
10.2.2.2 | Partial Re-Compilation | |||
10.2.2.3 | Remove Dangling Data Dictionary Entries | |||
10.2.2.4 | Remove Dangling Rel-Files | |||
10.2.2.5 | Remove Non-Database Files in the Database Directory |
10.2.3 | Resolve Transactions | ||
10.2.4 | Clear Dangling Locks | ||
10.2.5 | Repair Database Files | ||
10.2.6 | Remove Dangling Temporary Files | ||
10.2.7 | Cleanup Database Coordinator File | ||
10.2.8 | Recreate Missing Shared Memory Partitions |
10.3 | Invoking the Database Integrity Assurance Utility | |
10.4 | Database Integrity Assurance Utility Configuration File |
10.4.1 | Creating a Configuration File |
10.4.1.1 | Configuring for Local Databases | |||
10.4.1.2 | Configuring for Servers |
10.4.2 | Configuration File Layout |
10.4.2.1 | Servers | |||
10.4.2.2 | Operations | |||
10.4.2.3 | Host Configuration | |||
10.4.2.4 | Database Specific |
10.4.3 | Additional Customizations |
10.5 | Running Database Integrity Assurance Utility Program | |
10.6 | Limitations |
11.1 | Introduction | |
11.2 | Dirty Read User Specifications | |
11.3 | Checksum User Specifications | |
11.4 | Dirty Read System Variables |
11.4.1 | MSVALIDATELEVEL | ||
11.4.2 | MSVALIDATERETRY | ||
11.4.3 | MSVALIDATESLEEP |
11.5 | Dirty Read Privileges | |
11.6 | Error Codes and Error Messages |
12.1 | Introduction | |
12.2 | Basic Aspects of Locking |
12.2.1 | Operational Category Locks | ||
12.2.2 | Relational Category Locks | ||
12.2.3 | Physical Category Locks | ||
12.2.4 | Lock Managers |
12.3 | Miscellaneous Aspects of Locking |
12.3.1 | Locking and Transactions | ||
12.3.2 | Single User DBA Mode | ||
12.3.3 | Locking in the 4GL and AG |
12.4 | Managing Locks |
12.4.1 | Explicit Locking | ||
12.4.2 | Implicit Locking | ||
12.4.3 | Environment Variables | ||
12.4.4 | Clearing Locks | ||
12.4.5 | Creating Shared Memory Lock Managers |
12.5 | Monitoring Locks |
12.5.1 | Internal Lock Monitors |
12.5.1.1 | MSLOCKPLAN | |||
12.5.1.2 | MSLOCKSTATS |
12.5.2 | External Lock Monitors |
12.5.2.1 | Locking Information | |||
12.5.2.2 | Lock Statistics |
12.5.3 | Relational Level Default Locks for Selected Queries |
12.6 | Tuning Empress Locking |
12.6.1 | The Implicit Locking Scheme | ||
12.6.2 | Adjusting the Locking Parameters | ||
12.6.3 | Shared Memory vs. File Lock Managers | ||
12.6.4 | Tuning Lock Managers |