Use the REDUCE LOG command to decrease the amount of space that can be used by the recovery log. To decrease the capacity of the recovery log, you must reduce the recovery log in 4MB increments. If you do not specify the reduction in 4MB increments, ADSM rounds the number to the next 4MB partition. For example, if you reduce the recovery log by 1MB, ADSM reduces the capacity of the recovery log by 4MB.
The REDUCE LOG command can be initiated while users are accessing the server. Use the QUERY LOG command to determine how much you can reduce the assigned capacity of the recovery log.
The REDUCE LOG command can be used to free up a recovery log volume for deletion. You can use the QUERY LOGVOLUME command (FORMAT=DETAILED) to display the current utilization for your recovery log volumes.
This command can generate a background process that can be canceled with the CANCEL PROCESS command. If a REDUCE LOG background process is canceled, the recovery log's assigned capacity may be partially reduced. To display information on background processes, use the QUERY PROCESS command.
Privilege Class
To issue this command, you must have system privilege or unrestricted storage privilege.
Syntax
>>-REDuce LOG--nnn---------------------------------------------><
Parameters
Examples
Task
Reduce the size of the recovery log by 16MB.
Related Commands
Table 167. Commands Related to REDUCE LOG
| Command | Description |
|---|---|
| CANCEL PROCESS | Cancels a background server process. |
| DEFINE DBBACKUPTRIGGER | Defines a trigger for automatic ADSM database backups. |
| DEFINE LOGCOPY | Creates a volume copy of a recovery log volume. |
| DEFINE LOGVOLUME | Defines a disk volume to the recovery log. |
| EXTEND LOG | Extends usable log storage within the volumes previously allocated for its use. |
| QUERY DBBACKUPTRIGGER | Displays information about the database backup trigger. |
| QUERY LOG | Displays allocation information about the recovery log. |
| QUERY LOGVOLUME | Displays information about one or more log volumes. |
| QUERY PROCESS | Displays information about one or all background server processes. |
| SET LOGMODE | Sets the mode for saving records in the recovery log. |