Nonstop Database, HiRDB Version 9 Command Reference
(1) Function
The pdfchfs command modifies, for a HiRDB file system area, the maximum number of HiRDB file system area extensions (modifies the value of the -e option in pdfmkfs).
If a shortage of the process private area occurs and the value specified in the -e option of the pdfmkfs command is too large for the estimate, you can reduce the memory requirement for the process private area by making an appropriate modification to this value.
You execute the pdfchfs command in either of the following cases:
- When a large amount of data is stored and too much time is required to recover the data when the HiRDB file system area is re-created
- When HiRDB cannot be stopped to re-create the HiRDB file system area
(2) Executor
(3) Format
pdfchfs -e maximum-number-of-extensions HiRDB-file-system-area-name
|
(4) Options
(5) Command arguments
(a) HiRDB-file-system-area-name ~<path name> ((up to 165 characters))
Specifies the name of the HiRDB file system area.
- Notes
- This command cannot be executed for a HiRDB file system area that satisfies both the conditions described below. If the command is executed with the name of such a HiRDB file system area specified, it will display KFPI21603-E and terminate with an error.
- HiRDB file system area automatic extension is specified in the -a option of the pdfmkfs command.
You can determine whether HiRDB file system area automatic extension is set by checking the value of area auto expand in the pdfstatfs command's execution results.
- The usage purpose of the HiRDB file system area as specified in the -k option of the pdfmkfs command is DB, SDB, or SYS.
You can determine the usage purpose by checking the value of initialize area kind in the pdfstatfs command's execution results.
- The pdfchfs command can be executed regardless of the HiRDB operating status. However, the command cannot be executed if the usage purpose of the HiRDB file system area is SVR.
There is no restriction on executing this command while HiRDB is stopped. If you execute the command while HiRDB is running, follow the procedure described in the table below for the usage purpose of the HiRDB file system area, as specified in the -k option of the pdfmkfs command.
No. |
Usage purpose |
pdfchfs command execution procedure |
1 |
DB or SDB |
- Place the target RDAREAs in shutdown and closed status. This applies to all RDAREAs that consist of HiRDB files stored in the target HiRDB file system area.
- Refresh the process (with pdpfresh).
- Execute the pdfchfs command.
- Release the RDAREAs from shutdown and closes status.
Notes
- This procedure is not applicable to a HiRDB file system area that stores the files that constitute the master directory RDAREA. To apply the procedure to such an RDAREA, you must first stop HiRDB.
- If a process accessing the HiRDB file system area can be refreshed forcibly, execute the pdpfresh command with the -f option specified. Otherwise, either wait until the job being executed by the process has terminated or terminate the job and then execute the command. For details about how to check for the processes accessing HiRDB files and how to use pdpfresh, see 2.90 pdpfresh (Refresh server process).
|
2 |
SYS |
- Close the target HiRDB files. This applies to all HiRDB files stored in the HiRDB file system area that is subject to the command's processing.
- Execute the pdfchfs command.
- Open the HiRDB files.
Notes
- If the HiRDB file system area contains the current HiRDB file, swap it with a HiRDB file in another area before executing the command.
- This procedure is not applicable if all generations are stored in the same HiRDB file system area. To apply the procedure, first stop HiRDB. In a HiRDB parallel server configuration, if only HiRDB files for the server are stored, the command can be executed by terminating the corresponding server.
- The procedure cannot be applied to a HiRDB file system area that stores audit trail files. To apply the procedure, first stop HiRDB.
|
3 |
WORK |
- Stop transactions that use work tables.
- Execute the pdfchfs command.
Notes
If a transaction is executed while the command is executing, the transaction will be placed in wait status until the pdfchfs command has terminated. The transaction's processing will be restarted after the pdfchfs command has terminated. |
4 |
UTL |
- Stop utilities that specify the target HiRDB file system area.
- Execute the pdfchfs command.
Notes
If a utility is executed while the command is executing, the utility will be placed in wait status until the pdfchfs command has terminated. The utility will be restarted after the pdfchfs command has terminated. |
5 |
SVR |
The command cannot be executed while HiRDB is running. Stop HiRDB and then execute the command. |
If you execute the pdfchfs command without adhering to these procedures and the target HiRDB file system area is being used by a process, the command will issue KFPI21528-E and terminate with an error. If the command terminates with an error, re-execute it using the applicable procedure described above.
- You must execute the pdfchfs command on each server machine that contains the HiRDB file system area.
- If the target HiRDB file system area is used as a shared RDAREA, execute the command from a server machine on which an updatable back-end server is located.
- The pdfchfs command cannot change the size of the management information that was created when the pdfmkfs command was executed. To avoid creating an unneeded area that is not used for management, we recommend that you re-execute the pdfmkfs command to change the size.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.