Scalable Database Server, HiRDB Version 8 Description
A special file in HiRDB that stores various types of HiRDB information, such as the information needed to restore the system status in the event of a table or index error, is called a HiRDB file. An area in which HiRDB files are created is called a HiRDB file system area. A HiRDB file system area must be provided before the special HiRDB files that constitute the system files and RDAREAs are created.
A disk used by the operating system for performing I/O operations is divided into contiguous areas called partitions. A partition can be used as a file system area provided by the operating system or as a HiRDB file system area. Figure 6-1 shows the relationship between HiRDB file system areas and file system areas provided by the OS.
Figure 6-1 Relationship between HiRDB file system areas and file system areas provided by the OS
HiRDB file system areas can be created as character special files or as regular files. Character special files are recommended in order to improve the reliability of updating processes.
We recommend that you create a separate HiRDB file system area for each of the items listed and described in Table 6-2. For details about how to design the various HiRDB file system areas, see the HiRDB Version 8 Installation and Design Guide.
Table 6-2 Type of HiRDB file system area
| Type of HiRDB file system area | Option1 | Description |
|---|---|---|
| RDAREA | DB | HiRDB file system area in which RDAREAs (other than list RDAREAs) are stored. This area is always needed. |
| Shared RDAREA | SDB | HiRDB file system area in which shared RDAREAs are created. This area is needed if you use shared RDAREAs. |
| System file | SYS | HiRDB file system area in which system log files, synchronization point dump files, and status files are stored. This area is always needed. |
| Audit trail file | HiRDB file system area in which audit trail files are created. This area is needed to use the security audit facility. | |
| Work table file2 | WORK | HiRDB file system area in which work table files are stored. This area is always needed. |
| Utility | UTL | HiRDB file system area in which files used by utilities (backup files, unload data files, unload log files, index information files, or differential backup management files) are created. |
| List RDAREA3 | WORK | HiRDB file system area in which list RDAREAs are stored. This area is needed to perform narrowed searches. |
1 The value of the -k option specification that is specified when you create a HiRDB file system area with the pdfmkfs command.
The pdfmkfs command is used to create a HiRDB file system area.
For details about designing and creating HiRDB file system areas, see the HiRDB Version 8 Installation and Design Guide.
The maximum size of an ordinary HiRDB file system area is approximately 2 gigabytes. A HiRDB file system area that exceeds this size limitation must be created as a large file. The maximum size of a HiRDB file system area created as a large file depends on the operating system version of HiRDB, as shown in Table 6-3.
Table 6-3 Maximum size of a HiRDB file system area
| OS | Condition | HiRDB file system area maximum size (MB) | |
|---|---|---|---|
| HP-UX version | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 131,071 | |
| Character special file | |||
| Solaris version | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 1,048,575 | |
| Character special file | |||
| AIX 5L version | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file (JFS) | 65,411 | |
| Regular file (JFS2) | 1,048,575 | ||
| Character special file | |||
| Linux version | Large files not used | Regular file | 2,047 |
| Character special file | |||
| Large files used | Regular file | 1,048,575 | |
| Character special file | |||
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.