Nonstop Database, HiRDB Version 9 Command Reference

[Contents][Index][Back][Next]

2.46 pdlodsv (Reduce the size of the installation directory)

Organization of this section
(1) Function
(2) Executor
(3) Format
(4) Option
(5) Rules
(6) Notes
(7) Output format

(1) Function

If the following facilities are not used, the pdlodsv command deletes unneeded load modules from the HiRDB installation directory, thereby saving the disk space:

The pdlodsv command is supported by HP-UX 11.0 (32-bit-mode POSIX library version), Solaris (32-bit-mode POSIX library version), and AIX (32-bit-mode POSIX library version).

Once you execute the pdlodsv command, these facilities will no longer be available. Note that if you are using either one of these facilities, you cannot execute the pdlodsv command.

(2) Executor

Superuser

(3) Format

 
 pdlodsv [-r load-type]
 

(4) Option

(a) -r load-type

Specifies the load type to be deleted.

If you omit this option, the system displays the status of the current installation directory.

posix
The command deletes the POSIX library version of load modules, that is, the following directories and files. A POSIX version of the load module is created when the pdsetup -l command is executed on HP-UX 11.0 (32-bit mode), Solaris (32-bit mode), and AIX (32-bit mode).
Type Directory File
HiRDB single server configuration /opt/HiRDB_S/bin_r/
/opt/HiRDB_S/bin_nr/
/opt/HiRDB_S/lib_r/
/opt/HiRDB_S/lib_nr/
All files under the directory
HiRDB parallel server configuration /opt/HiRDB_P/bin_r/
/opt/HiRDB_P/bin_nr/
/opt/HiRDB_P/lib_r/
/opt/HiRDB_P/lib_nr/
All files under the directory

(5) Rules

  1. You can execute the pdlodsv command whether or not HiRDB is active. However, do not execute it while the pdsetup command is executing.
  2. Execute the pdlodsv command for each server machine.

(6) Notes

  1. Return code 0 for the pdlodsv command indicates normal termination, return code 1 indicates abnormal termination (such as a user privilege error), return code 8 indicates abnormal termination (such as a missing environment variable), and return code 12 indicates abnormal termination (such as an invalid option or user privilege error).
  2. If you reinstall HiRDB, the effects of size reduction will be lost. Therefore, if you have reinstalled HiRDB, execute the pdlodsv command as required.
  3. Once you execute the pdlodsv command, Java stored procedures and Java stored functions are no longer available. To use these facilities, do not execute the pdlodsv command. To use these facilities after executing the pdlodsv command, reinstall HiRDB.

(7) Output format

 
 KIND      STATUS
 aa...a    bb...b
 

Explanation

aa...a
Load type
POSIX: POSIX library version of HiRDB

bb...b
Status of the facility with the POSIX library version of HiRDB:
USE
This facility cannot be deleted because it is in use.
NOUSE
This facility is not in use.
REMOVED
This facility has already been deleted from the installation directory.

Note
If you execute the pdlodsv command with a HiRDB other than the HP-UX 11.0 (32-bit mode), Solaris (32-bit mode), or AIX edition, only the header section is displayed.