pdlodsv (Reduce the size of the installation directory)

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 5L (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.

Executor

Superuser

Format

pdlodsv [-r load-type]

Option

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 5L(32-bit mode).
TypeDirectoryFile
HiRDB/Single Server/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/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

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.

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. If you execute the pdlodsv command, the Java stored procedures, Java stored functions, and Directory Server linkage facility 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.

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 5L version, only the header section is displayed.