
The Db2 catalog contains table statistics used by the optimizer. CARD, NPAGES and FPAGES can help explain unexpected access plans or changes in table allocation.
Read the catalog
SELECT TABSCHEMA, TABNAME, CARD, NPAGES, FPAGES, STATSTIME
FROM SYSCAT.TABLES
WHERE TABSCHEMA = 'SAPSCHEMA'
AND TABNAME = 'TABLENAME';Replace both placeholders with the actual catalog names, observing case sensitivity. CARD is the recorded row count; NPAGES describes pages containing rows, while FPAGES describes pages allocated to the table. Negative sentinel values indicate unavailable or inapplicable statistics, not negative physical usage.
Interpret the result
These figures are catalog statistics rather than a live count or a complete measurement of disk space. Check STATSTIME and the workload before deciding whether statistics maintenance is required. In SAP landscapes, coordinate RUNSTATS through the approved DBA procedure rather than updating catalog values manually.
Documentation: IBM – Catalog statistics tables
SAP Note: 3704166 (related topic).

