Informix Error -26451: STATCHANGE can take values in the range of 0 to 100.
Cause and resolution
STATCHANGE can take values in the range of 0 to 100.
ACTION STATCHANGE specifies a percentage of how much a table distribution can change before it is considered stale. Set STATCHANGE to an integer value in the range from 0 to 100.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26451 fires when STATCHANGE is set outside 0-100 — per the official guidance.
STATCHANGEset outside the 0-100 range, per the official guidance — the direct, only cause;STATCHANGEspecifies the percentage a table's distribution can change before being considered stale.
Solutions / Resolution
- Set
STATCHANGEto an integer between 0 and 100, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an out-of-range STATCHANGE value.
Diagnostic Checks
- Check the
STATCHANGEvalue being set, and confirm it's between 0 and 100.
Related Errors / Related Topics
- -26452 — "You cannot specify the STATLEVEL as FRAGMENT for non-fragmented tables."
A related
UPDATE STATISTICS-attribute restriction, onSTATLEVELrather thanSTATCHANGE.
STATCHANGE was set outside the 0-100 range — use a value within that range.