Scalable Database Server, HiRDB Version 8 Installation and Design Guide
The system generator is the facility that enables the user to construct interactively a HiRDB system environment.
The system generator provides default values for the HiRDB system environment information. This makes it possible to construct a HiRDB system quickly when a test environment is being constructed because only applicable items need be set.
Figure 22-2 shows the system generator's screen display transitions.
Figure 22-2 System generator's screen display transitions
The OS's cd command is used to set the HiRDB directory as the current directory:
HiRDB's pdgen command is used to start the system generator. The type specification screen is displayed.
Specify your HiRDB license selection.
To specify the necessary information on the HiRDB/Single Server License selection menu screen, use the following procedure:
The Master menu is used to set main information for HiRDB system construction.
Following is the setup procedure on the Master menu screen:
This specification sets the size of the HiRDB file system area that is to be used to store system files, such as files for HiRDB database log information.
To set the size of the HiRDB file system area for system files:
Enter file name and partition size for HiRDB-file-system-area. This HiRDB-file-system-area will be used for HiRDB system files. (log and status etc...) -- Attention -- Please enter file name with complete path. If specified file are already exist pdgen will delete the file and recreate. The size of HiRDB-file-system-area will more than 150 [MB]. The HiRDB-file-system-area creates as UNIX file with specified size. Enter file name with completely path > /opt/HiRDB_S/sysfiles Enter HiRDB-file-system-area size [MB] >150 |
This specification sets the size of the HiRDB file system area that is to be used for system RDAREAs, user RDAREAs, and user LOB RDAREAs.
To set the size of the HiRDB file system area for RDAREAs:
Enter file name and partition size for HiRDB-file-system-area. This HiRDB-file-system-area will be used for rdarea. -- Attention -- Please enter file name with complete path. If specified file are already exist pdgen will delete the file and recreate. The size of HiRDB-file-system-area will more than 77 [MB]. The HiRDB-file-system-area creates as UNIX file with specified size. Enter file name with completely path >/opt/HiRDB_S/rdfiles Enter HiRDB-file-system-area size [MB] >163 |
To create the HiRDB:
Start HiRDB system generation HiRDB starting Initializing rdareas KFPX24000-I DB initialize ended, return code=0 Rdarea initialize completed A...A XX:XX:XX u001 _rdm KFPS05110-I HiRDB unit u001 initialization process complete A...A XX:XX:XX u001 _rdm KFPS05210-I HiRDB system initialization process complete Initializing rdareas for registry KFPX24600-I Pdreginit command start at XX:XX:XX on YYYY/YY/YY KFPX24225-I Processing of create rdarea statement ended, RDAREA name="REG_BASE" KFPX24225-I Processing of create rdarea statement ended, RDAREA name="REG_KEY_VALUE" KFPX24226-I Processing of create rdarea statements ended return code=0 KFPX24200-I DB modification ended, return code=0 KFPX24601-I Pdreginit command for ended return code=0 at XX:XX:XX on YYYY/YY/YY Rdarea(for registry) initialize completed Push enter key to main menu > |
Next, create a user RDAREA and user LOB RDAREAs for storing the SGML documents and plug-in index.
This example creates one user RDAREA and two user LOB RDAREAs.
To create a user RDAREA and user LOB RDAREAs:
Rdarea are added. You have to restart HiRDB to use the area. Restart now?(Y/N) >
The values listed in Table 22-9 are applicable to construction of a HiRDB system by means of the simple installation procedure. When a database is designed in detail, reference should be made to 17. Determining RDAREA Size for the appropriate size estimates.
Table 22-9 Information to be set for RDAREAs
| No. | Information to be set | User RDAREA USR1 | User LOB RDAREA | |
|---|---|---|---|---|
| 1 | RDAREA name | USR1 | ULOB1 | ULOB2 |
| 2 | Size of RDAREA [MB] | 1 | 40 | 40 |
| 3 | Segment size for RDAREA [pages] | 10 | 1 | 1 |
| 4 | Page size for RDAREA [KB] | 4 | 8 | 8 |
| 5 | Type of RDAREA | Table | Blob | Blob |
| 6 | Size of global buffer to be allocated to RDAREA | 350 | 350 | 350 |
| 7 | Absolute path name of HiRDB file that is a component of RDAREA | /opt/HiRDB_S/ rdfiles |
/opt/HiRDB_S/ rdfiles |
/opt/HiRDB_S/ rdfiles |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.