Informix Error -25820: Cannot attach two non-fragmented tables to create an interval or list fragmented table. For interval and list fragmentation, the surviving table in attach operation must be fragmented by interval or list. If you want to attach two non-fragmented tables, initialize the framentation scheme for one of the non-fragmented tables to interval or list and then attach the second one to it.
Cause and resolution
Cannot attach two non-fragmented tables to create an interval or list fragmented table. For interval and list fragmentation, the surviving table in attach operation must be fragmented by interval or list. If you want to attach two non-fragmented tables, initialize the framentation scheme for one of the non-fragmented tables to interval or list and then attach the second one to it.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25820 fires when an ATTACH operation tries to combine two non-fragmented tables into an
interval/list fragmented one — per the official guidance, the surviving table in an attach
operation must already be fragmented by interval or list.
- Attaching two non-fragmented tables together to produce interval/list fragmentation, per the official guidance — the direct, only cause.
Solutions / Resolution
- First initialize one table's fragmentation scheme to interval or list, then attach the second table to it, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond attaching two non-fragmented tables.
Diagnostic Checks
- Check whether the surviving table in the
ATTACHis already interval/list fragmented, and initialize it first if not.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -25820 in this set yet.
Two non-fragmented tables were attached to try to create interval/list fragmentation — initialize one table's scheme first, then attach.