Chapter 10. Greystone Database Structure

Table of Contents

Database File Organization
Database File Header
File Header Data Elements
File Header Control Fields
MLOCK Space
Master Bitmap
Bitmaps
Database Structure
Tree Organization
GDS Blocks
GDS Records
GDS Keys

The database files created by MUPIP CREATE are stored on random access (disk) media as UNIX files recognized in the operating system environment by their .DAT extensions or in a raw character partition. They have a proprietary internal structure defined as the Greystone Database Structure (GDS). These files are alternately referred to as either GDS files or simply database files. Both terms describe the database files that house global variable and lock resource names. This chapter describes the internal structure of GDS files. It assumes you are acquainted with the concepts of Balanced trees (B-trees).