Informix Error -25737: Cluster Indexes cannot be created in an online environment.
Cause and resolution
Cluster Indexes cannot be created in an online environment.
ONLINE keyword isn't supported for cluster indexes.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25737 fires when CREATE ... INDEX ... CLUSTER is issued with the ONLINE
keyword — per the official guidance, ONLINE isn't supported for cluster indexes.
ONLINEspecified for a cluster index creation, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the
ONLINEkeyword when creating a cluster index, per the official guidance.
Examples
An online cluster index
CREATE CLUSTER INDEX idx1 ON tab(col1) ONLINE;
-- -25737: ONLINE isn't supported for cluster indexes
Corrected
CREATE CLUSTER INDEX idx1 ON tab(col1);
Diagnostic Checks
- Check whether the index being created is a cluster index with
ONLINEspecified, and removeONLINEif so.
Related Errors / Related Topics
- -25738 — "Index can be created online only for btree secondary access method." A related online-index restriction, on the secondary access method being non-btree rather than the index being a cluster index.
ONLINE was specified for a cluster index, which isn't supported — remove ONLINE.