![]() |
![]() |
Use this command to display information about the recovery log.
Privilege Class
Any administrator can issue this command.
Syntax
.-Format--=--Standard-----.
>>-Query LOG--+-------------------------+----------------------><
'-Format--=--+-Standard-+-'
'-Detailed-'
Parameters
Examples
Task 1
Display information about the recovery log.
+--------------------------------------------------------------------------------+ |Available Assigned Maximum Maximum Page Total Used Pct Max. | | Space Capacity Extension Reduction Size Usable Pages Util Pct | | (MB) (MB) (MB) (MB) (bytes) Pages Util | |--------- -------- --------- --------- ------- ----- ----- ----- ----- | | 16 8 8 4 4,096 1,536 187 12.2 12.8 | +--------------------------------------------------------------------------------+
See Task 2 for definitions.
Task 2
Display detailed information about the recovery log.
+--------------------------------------------------------------------------------+ | Available Space (MB): 16 | | Assigned Capacity (MB): 8 | | Maximum Extension (MB): 08 | | Maximum Reduction (MB): 4 | | Page Size (bytes): 4,096 | | Total Usable Pages: 1,536 | | Used Pages: 187 | | Pct Util: 12.2 | | Max. Pct Util: 12.8 | | Physical Volumes: 3 | | Log Pool Pages: 64 | | Log Pool Pct. Util: 0.31 | | Log Pool Pct. Wait: 0.00 | | Cumulative Consumption (MB): 0.60 | | Consumption Reset Date/Time: 05/31/1996 13:02:42 | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 188. Commands Related to QUERY LOG
| Command | Description |
|---|---|
| DEFINE LOGCOPY | Creates a volume copy of a recovery log volume. |
| DEFINE LOGVOLUME | Defines a disk volume to the recovery log. |
| EXTEND DB | Extends usable database storage within the volumes previously allocated for its use. |
| EXTEND LOG | Extends usable log storage within the volumes previously allocated for its use. |
| REDUCE DB | Attempts to free up a database volume by reducing usable storage within the volumes defined. |
| REDUCE LOG | Attempts to free up a log volume by reducing usable storage within the volumes defined. |
| RESET LOGCONSUMPTION | Resets the statistic on recovery log space used. |
| RESET LOGMAXUTILIZATION | Resets the maximum utilization statistic for the recovery log. |