![]() |
![]() |
Use this command to display statistical information about the database.
Privilege Class
Any administrator can issue this command.
Syntax
.-Format--=--Standard-----.
>>-Query DB--+-------------------------+-----------------------><
'-Format--=--+-Standard-+-'
'-Detailed-'
Parameters
Examples
Task 1
Display statistical information about the database.
+--------------------------------------------------------------------------------+ |Available Assigned Maximum Maximum Page Total Used Pct Max. | | Space Capacity Extension Reduction Size Pages Pages Util Pct | | (MB) (MB) (MB) (MB) (bytes) Util | |--------- -------- --------- --------- ------- ------ ----- ----- ----- | | 8 4 4 0 4,096 1,024 94 9.2 9.2 | +--------------------------------------------------------------------------------+
See Task 2 for parameter definitions.
Task 2
Display statistical information about the database in detail.
+--------------------------------------------------------------------------------+ | Available Space (MB): 8 | | Assigned Capacity (MB): 4 | | Maximum Extension (MB): 4 | | Maximum Reduction (MB): 0 | | Page Size (bytes): 4,096 | | Total Usable Pages: 1,024 | | Used Pages: 94 | | Pct Util: 9.2 | | Max. Pct Util: 9.2 | | Physical Volumes: 3 | | Buffer Pool Pages: 64 | | Total Buffer Requests: 4,702 | | Cache Hit Pct.: 97.68 | | Cache Wait Pct.: 0.00 | | Backup in Progress?: No | | Type of Backup In Progress: | | Incrementals Since Last Full: 0 | |Changed Since Last Backup (MB): 0.37 | | Percentage Changed: 100.00 | |Last Complete Backup Date/Time: | +--------------------------------------------------------------------------------+
where:
Related Commands
Table 172. Commands Related to QUERY DB
| Command | Description |
|---|---|
| BACKUP DB | Backs up the Tivoli Storage Manager database to sequential access volumes. |
| DEFINE DBCOPY | Creates a volume copy of a database volume. |
| DEFINE DBVOLUME | Assigns a volume to be used for database storage. |
| 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 BUFPOOL | Resets the buffer pool statistics for the database. |
| RESET DBMAXUTILIZATION | Resets the maximum utilization statistic for the database. |