- Table name
- Free space percentage (FSP), the amount of unused storage space on the cylinders used by the table
- Number of cylinders currently occupied by tables meeting SHOWFSP filtering criteria
- Number of cylinders that would be occupied by each of these tables after a PACKDISK command
SHOWFSP shows the number of cylinders that will be recovered or consumed if PACKDISK is run to achieve a given percentage of free space on table cylinders.
The scope of SHOWFSP depends on the most recent options set by the SCOPE command, and can include one or more specific tables, one or more specific vprocs, or all tables in the system.
Syntax
{ SHOWFSP | SHOWF } [ /Y ] [ -A ] [ -C cyls ] [ -D fsp ] [ -M fsp ] [ -R fsp ] [ -V ]
Syntax Elements
- /Y
- Prevents Ferret from displaying a confirmation message.
- -A
- All tables option displays all tables meeting the criteria of -C, -D, and -M options. If you do not specify any of those options, they will use their default values. The -R option is always automatically overridden and set to the most negative integer known to Ferret.
- -C cyls
- The number of cylinders per AMP that must be exceeded by a table to be considered for display.
- -D fsp
- The desired FSP after packing.
- -M fsp
- minimum current FSP a table must exceed to qualify for display.
- -R cyls
- the number of recoverable cylinders that must be exceeded to qualify the table for display.
- -V
- verbose mode.
Usage Notes
All arguments and displays are on a per-AMP basis. Without parameters, SHOWFSP displays all tables with recoverable cylinders, assuming the defaults used by PACKDISK. For more details as to how the defaults of each option are determined, see their respective sections.
SHOWFSP provides an approximation of the number of cylinders that can be freed or consumed by PACKDISK. The actual number of cylinders freed or consumed by a PACKDISK operation may be slightly different.
Example: SHOWFSP output
The following example shows the basic output of SHOWFSP.
> showfsp showfsp Tue May 15, 2018 09:55:59 : ShowFsp will be started for Table(s) 0 3398 */*/* AMP vproc(s) 0 - 3 Tue May 15, 2018 09:55:59 : to find all the tables specified greater than 0 cylinders Tue May 15, 2018 09:55:59 : which could free up more than 0 cylinders Tue May 15, 2018 09:55:59 : only tables with a current FSP greater than 0% Tue May 15, 2018 09:55:59 : will be considered Do you wish to continue based upone this scope?? (Y/N) > y y Tue May 15, 2018 09:56:02 : ShowFsp has been started for Table(s) 0 3398 */*/* AMP vproc(s) 0 - 3 vproc 0 (0000) response There are 1 tables larger than 0 cylinders on amp 0 Database Table Map fsp Recoverable Current Name Name Name % Cylinders Cylinders ----------------------------- ----------------------------- ----------------------------- ---- ----------- --------- MYTEST tabclobsdataindes TD_MAP1 65 3 5 * Reported in units of large Cylinders (A Large Cylinder is 6 times the size of a small cylinder)
Examples: SHOWFSP command syntax examples
These examples demonstrate how you can use SHOWFSP to answer different questions.
The following SHOWFSP command shows all tables that would free up or consume any amount of cylinders per AMP if executing a PACKDISK command with an FSP of 10%.
showfsp -a -d 10
The following SHOWFSP command shows all tables that would free up more than one cylinder per AMP if executing a PACKDISK with an FSP of 10%.
showfsp -d 10 -r 1
The following SHOWFSP command shows all tables that would free up or consume any amount of cylinders per AMP if executing a PACKDISK command with an FSP of 5%. It considers only tables which currently occupy more than 10 cylinders per AMP and have a current FSP greater than 5%.
showfsp -a -d 5 -c 10 -m 5
The following SHOWFSP command shows all tables that would free up more than three cylinders per AMP if executing a PACKDISK command with an FSP of 7%. It considers only tables with a current FSP of more than 10%, and those that currently occupy more than three cylinders per AMP.
showfsp -d 7 -c 3 -m 10 -r 3