Informix Error -23908: Alter Fragment option not supported for hash fragmentation.
Cause and resolution
Alter Fragment option not supported for hash fragmentation.
The surviving table has hash fragmentation and an ALTER FRAGMENT ON TABLE option other than INIT or ATTACH was specified. INIT and ATTACH are the only supported options for hash-fragmented tables.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-23908 fires when ALTER FRAGMENT ON TABLE specifies an option other than INIT or
ATTACH against a hash-fragmented surviving table — per the official guidance, those
are the only supported options for hash-fragmented tables.
- An
ALTER FRAGMENToption other thanINIT/ATTACHon a hash-fragmented table, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use only
INITorATTACHfor hash-fragmented tables, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unsupported
ALTER FRAGMENT option.
Diagnostic Checks
- Check the
ALTER FRAGMENT ON TABLEoption used, and confirm it'sINITorATTACHfor a hash-fragmented table.
Related Errors / Related Topics
- -23907 — "Column columnname for hash fragmentation doesn't exist." A related
hash-fragmentation error, on a missing column rather than an unsupported
ALTER FRAGMENToption.
An ALTER FRAGMENT option other than INIT/ATTACH was used on a hash-fragmented
table — only those two are supported.