Analyzing Tables by Fill Level, Size, and Extents with SAPDBA
Use
You can use SAPDBA for Informix to analyze tables by fill level, size, number of extents, and number of extents left.

If a table has very few extents left, an alert is raised in the Release 4 alert monitor in the Computing Center Management System (CCMS) of the R/3 System. For more information, see
Monitoring the Database with the Release 4 Alert Monitor (Informix).
Prerequisites
Procedure
- Tables by Fill Level
- Tables by Size
- Tables by Number of Extents
- Tables by Number of Extents left
The default is ALL, that is, tables from all dbspaces are included in the report. If you do not know the name of the dbspace you want, you can use a partial entry (for example,
ps*) and SAPDBA lists the matching dbspaces.The threshold varies according to the report you have selected, as follows:
Selection Criterion |
Report title |
Table size KB |
Tables by Fill Level |
Table size KB |
Tables by Size |
Number of extents |
Tables by Number of Extents |
Number of extents |
Tables by Number of Extents Still Available |

If possible, set a sensible threshold value to restrict reports to a single dbspace. This means that the average processing time to produce a report is usually between a few seconds and a few minutes. If you set low thresholds and include all dbspaces then the run times are significantly longer.
SAPDBA displays the report with entries similar to the following example (this report is for all dbspaces by size):
table |
fill [%] |
size [KB] |
extents |
dbspace |
1) ddxtf |
71 |
25280 |
1 |
psapddic |
2) ddprs |
71 |
20480 |
1 |
psapprot |
3) d331l |
- |
19480 |
1 |
psapload |
4) ce2s001 |
- |
17760 |
1 |
psapstab |
5) ddlog |
74 |
15000 |
1 |
psapprot |
..... |
The tables are listed in order of the report title. The entries on the report have the following meaning:
Column |
Meaning |
fill [%] |
Indicates approximately how full a table is. Consider the following when reading this value:
For information about blobpages, see the Informix documentation. |
size [KB] |
Shows the total storage used by the table, in kilobytes. This includes all space currently allocated to the table (that is, data, index and blobpages). The size given here is not necessarily full with data. See the fill [%] field for how full the table is. |
extents |
Shows the number of physical storage units occupied by the table. It is not advisable for a table to have a large number of extents. |
dbspace |
Shows where the table is stored. If the table is fragmented (possible with Informix version 7.1 or later), it is stored in a number of different dbspaces instead of in a single dbspace. This only appears when you specify ALL for the dbspace. |
Result
You now have a better picture of the storage situation for the tables in question. For more information if you want to perform a reorganization, see:
See also:
Informix documentation