Informix Error -533: Extent size too small, minimum size is number k.
Cause and resolution
Extent size too small, minimum size is number k.
The size that is specified for a disk extent (either the EXTENT SIZE or the NEXT SIZE clause) must be at least four times the disk page size, as shown. Generally, set EXTENT SIZE large enough to hold all of the rows as you initially estimate them, and set NEXT SIZE at an eighth or a quarter of that.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-533 is a hard floor on extent sizes: an EXTENT SIZE or NEXT SIZE clause on CREATE TABLE
must specify at least four times the dbspace's disk page size, per the official guidance, and a
value below that floor is rejected.
- An
EXTENT SIZE/NEXT SIZEvalue copied from a different environment with a smaller page size, where the same number no longer clears the four-page-size floor. - A very small extent size chosen deliberately for a tiny table, without accounting for the platform's minimum.
- A page-size change on the dbspace (moving to a larger page size) that raised the minimum extent size above a value that used to be valid.
Solutions / Resolution
- Raise the
EXTENT SIZE/NEXT SIZEvalue to at least four times the dbspace's page size, per the official guidance — the error message itself states the exact minimum in kilobytes for this platform/dbspace. - Size
EXTENT SIZEfor the table's actual expected row count, per the official guidance's broader recommendation — large enough to hold the initially estimated rows — rather than just clearing the minimum. - Set
NEXT SIZEto roughly an eighth or a quarter ofEXTENT SIZE, per the official guidance's rule of thumb, onceEXTENT SIZEitself is sized appropriately.
Examples
Below the floor
CREATE TABLE small_lookup (id INT, label CHAR(10))
EXTENT SIZE 4 NEXT SIZE 2;
-- -533: extent size too small; minimum is (4 * dbspace page size) k
Corrected, sized per the guidance
CREATE TABLE small_lookup (id INT, label CHAR(10))
EXTENT SIZE 64 NEXT SIZE 16;
Diagnostic Checks
- Check the dbspace's page size (via
onstat -d) to compute the actual minimum extent size for this table's target dbspace. - Compare the requested
EXTENT SIZE/NEXT SIZEagainst that computed minimum before retrying theCREATE TABLE.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -533 in this set yet.
A hard floor of four times the dbspace's page size — the error text itself states the exact minimum for this platform, so raise the value to at least that.