Running queries on table spaces without RUNSTATS
Use the performance queries function to view information about and work with table spaces that do not have RUNSTATS information.
Procedure
-
On the DB2 Administration Menu (ADB2)
panel, specify option 3, and press
Enter.
The DB2 Performance Queries panel is displayed.
- Locate option 1 - Table spaces without RUNSTATS within n days.
- If necessary, change the value of n.
-
Specify option 1, and press Enter.
The Table Spaces Without RUNSTATS Information (ADB231) panel is displayed, as shown in the following figure:
The following columns are on this panel:
- Select
- Selects a table space when you use the S line command.
- Name
- The name of the table space.
- Schema
- The name of the schema.
- DB name
- The name of the database.
- BP
- The name of the buffer pool used for the table space.
- L
- The locking size, which is one of the following values:
- A
- Any.
- P
- Page.
- S
- Table space.
- E
- The erase rule, which is one of the following values:
- Y
- Erase.
- N
- No erase.
- S
- The status of the table space, which is one of the following values:
- A
- Available.
- N
- Not available.
- I
- The indicator of whether the table space was created implicitly, which is one of the following
values:
- Y
- Yes.
- N
- No.
- C
- The close rule, which is one of the following values:
- Y
- Yes.
- N
- No.
- NTable
- The number of tables defined in the table space.
- N Active
- The number of active pages in the table space. If the RUNSTATS utility was not run, the value is 0.
- Space
- Number of kilobytes (KB) of storage that is allocated to the table space. If the STOSPACE utility was not run, the value is 0.
- Optional:
Work with the table spaces by using the primary commands and line commands.
Tip: For table spaces that do not have RUNSTATS information, run the RUNSTATS utility on them.
The R line command enables you to quickly move to the Batch Job Utility Parameters (ADB2UPA) panel. Entering the R line command is equivalent to entering S, UT, and R commands in succession.