jimdbrorg
- Organization of this page
Function
This command reorganizes fragmented free space in the IM Configuration Management database. Free space in use is released by reorganization. Therefore, you do not need to execute the jimdbreclaim command many times.
When you perform maintenance of JP1/IM - Manager, you can also resolve low data storage efficiency caused by fragmentation by executing database reorganization.
Format
jimdbrorg [-h logical-host-name] [-q]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In UNIX: Superuser permissions
Storage directory
- In Windows:
-
Manager-path\bin\imdb\
- In UNIX:
-
/opt/jp1imm/bin/imdb/
Arguments
- -h logical-host-name
-
When you are operating in a cluster system, this option specifies the logical host name of the host where the command is executed. The command reorganizes the database for the specified logical host. If this option is omitted, the logical host name specified in the JP1_HOSTNAME environment variable is assumed. If the JP1_HOSTNAME environment variable is not specified, the physical host name is assumed. If you are not using a cluster system, specification of this option is not needed. Note that this logical host name cannot be JP1_DEFAULT. In addition, the logical host name is case sensitive.
- -q
-
Specifies that the command is to be executed without requesting confirmation from the user.
Return values
0 |
Reorganization terminated normally |
1 |
Reorganization terminated abnormally |
Notes
-
If you execute another JP1/IM - Manager command or start a JP1/IM - Manager service while this command is executing, the requested execution might fail.
-
While this command is executing, do not press Ctrl +C or Ctrl + Break. Because the command executes database reorganization processing in the background, the database reorganization processing will continue even though Ctrl +C or Ctrl + Break is pressed. If you press Ctrl +C or Ctrl + Break and then immediately attempt to execute another JP1/IM - Manager command or start a JP1/IM - Manager service, execution of the requested command or startup of the requested service may fail.
If you have canceled command execution by pressing Ctrl +C or Ctrl + Break, you must use a method such as the Windows Task Manager to make sure that the pdrorg process is not running before you execute another JP1/IM - Manager command or use JP1/IM - Manager. If the pdrorg process is running, wait until it terminates before executing another JP1/IM - Manager command or using JP1/IM - Manager.
-
We recommend that you make a backup for error recovery before and after you execute this command.
-
This command creates a temporary file during execution. For this reason, the amount of free space needed on the drive where the IM database is to be installed is about 1 gigabyte for a small or medium-sized database and about 4 gigabytes for a large database.
-
When the IM database is used, JP1/IM - Manager must not be running.
-
In Windows, the IM database (JP1/IM3-Manager DB Server) must be running and the cluster service for the IM database (JP1/IM3-Manager DB Cluster Service_logical-host-name) must be stopped.
-
If you are using JP1/IM - MO, the JP1/IM - Message Optimizer service of JP1/IM - MO on the connection source must be stopped.
-
Before executing the command in Windows, in case of existing the Application Experience service, make sure that the startup type of the Application Experience service is not set to Disabled.