Informix Error -26452: You cannot specify the STATLEVEL as FRAGMENT for non-fragmented tables.
Cause and resolution
You cannot specify the STATLEVEL as FRAGMENT for non-fragmented tables.
ACTION You can set the STATLEVEL attribute to the FRAGMENT option only for fragmented tables. Specify the TABLE or AUTO options for non-fragmented tables.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26452 fires when STATLEVEL FRAGMENT is used on a table that isn't fragmented — per the
official guidance.
STATLEVELset toFRAGMENTon a non-fragmented table, per the official guidance — the direct, only cause;FRAGMENTis only valid for fragmented tables.
Solutions / Resolution
- Specify
TABLEorAUTOforSTATLEVELon non-fragmented tables, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond STATLEVEL FRAGMENT on a
non-fragmented table.
Diagnostic Checks
- Check whether the target table is fragmented, and use
TABLE/AUTOforSTATLEVELif it isn't.
Related Errors / Related Topics
- -26451 — "STATCHANGE can take values in the range of 0 to 100." A related
UPDATE STATISTICS-attribute restriction, onSTATCHANGErather thanSTATLEVEL.
STATLEVEL FRAGMENT was used on a non-fragmented table — use TABLE or AUTO instead.