Informix Error -26017: External indices are not supported with non-default pagesizes.
Cause and resolution
External indices are not supported with non-default pagesizes.
Virtual-Index Interface (VII) does not support creating index on non-default pagesize dbspaces. This error can occur while creating a R-Tree index (which is part of the server and internally implemented using VII), or when creating any index which was implemented using VII.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26017 fires when an index implemented via the Virtual-Index Interface (VII) is created on a non-default-pagesize dbspace — per the official guidance.
- Creating a VII-based index (including an internally-implemented R-Tree index) on a dbspace whose pagesize isn't the server's default, per the official guidance — the direct, only cause; VII doesn't support this.
Solutions / Resolution
- Create the index on a default-pagesize dbspace, per the official guidance's implication.
Examples
An R-Tree index on a non-default-pagesize dbspace
CREATE INDEX geo_idx ON parcels (shape) USING RTREE IN big_page_dbspace;
-- -26017: big_page_dbspace uses a non-default pagesize
Diagnostic Checks
- Check the target dbspace's pagesize (
onstat -d), and use a default-pagesize dbspace for VII-based indexes instead.
Related Errors / Related Topics
- -26019 — "Purpose function am_truncate not defined for table or index." A related Virtual-Index Interface restriction, on a missing purpose function rather than pagesize.
A VII-based index (e.g. R-Tree) was created on a non-default-pagesize dbspace — use a default-pagesize dbspace instead.