Nonstop Database, HiRDB Version 9 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. The following figure 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 in character special files or in regular files.
In the case of Linux, block special files can also be used. HiRDB handles block special files in the same way as character special files. If you are using block special files, note that references to character special files in this manual also apply to block special files.
Data is input to or output from regular files via the kernel buffer. By contrast, data is input to or output from character special files directly from the HiRDB buffer. Although the use of character special files is assumed for most cases, regular files provide higher performance in the following cases:
Note, however, that regular files are not robust against system failures. Therefore, the following files must be created in character special files:
Furthermore, when you use the system switchover facility, use character special files for the HiRDB file system areas to be created on a shared disk device. If you use regular files, the updated content might be lost when a system switchover occurs. Even with character special files, you can improve their large-volume search performance by using the prefetch facility.
The HiRDB file system areas are created in Windows partitions.
We recommend that you create the types of HiRDB files system areas listed and described in the table below. For details about how to design the various HiRDB file system areas, see the HiRDB Version 9 Installation and Design Guide.
Table 6-2 Type of HiRDB file system area
Type of HiRDB file system area | Option# | 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 file | 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.
|
NUTL |
|
|
List RDAREA | WORK | HiRDB file system area in which list RDAREAs are stored. This area is needed to perform narrowed searches. |
#: 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 9 Installation and Design Guide.
The following table shows the maximum size of HiRDB file system areas.
Table 6-3 Maximum size of a HiRDB file system area
HiRDB type | File type | HiRDB file system area maximum size (MB) |
---|---|---|
HP-UX edition | Regular file | 1,048,575 |
Character special file | ||
Solaris edition | Regular file | 1,048,575 |
Character special file | ||
AIX edition | Regular file (JFS) | 65,411 |
Regular file (JFS2) | 1,048,575 | |
Character special file | ||
Linux edition | Regular file | 1,048,575 |
Character special file | ||
Windows edition | Normal Windows file | 1,048,575 |
Direct disk access (raw I/O) |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.