Informix Error -26544: Query does not contain a table from the data mart definition and there is no unique index defined on that table
Cause and resolution
Query does not contain a table from the data mart definition and there is no unique index defined on that table
This query was not accelerated because it does not contain a table that is present in the data mart definition with a reference defined on it, and there is no unique index defined on that table. If a reference in the data mart definition contains a table that is not present in the query, this table can be omitted from the query only if there is a unique index defined on it. Otherwise, the accelerator does not preserve the correct number of rows.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26544 fires when a query isn't accelerated because it omits a table the data mart definition references, without a unique index protecting row counts — per the official guidance.
- The query omits a table the data mart's reference definition includes, and no unique index is defined on that table, per the official guidance — the direct, only cause; a referenced table can only be omitted from the query if it has a unique index (otherwise the accelerator can't preserve the correct row count).
Solutions / Resolution
- Add the missing table to the query, per the official guidance, or
- Define a unique index on the omitted table, per the official guidance, if it's intentionally omitted.
Examples
N/A
No specific triggering statement is documented beyond an omitted, unprotected data-mart table.
Diagnostic Checks
- Check the data mart definition's referenced tables against the query's actual tables, and add the missing table or a unique index.
Related Errors / Related Topics
- -26543 — "Query does not contain an equality join from the data mart definition and none of the columns in the equality join has a unique index" The same class of unique-index-protected omission restriction, for a missing join rather than a missing table.
- -26546 — "Query contains equality joins that are not present in the data mart definition" The mirror-image restriction, on extra joins rather than missing tables.
- -26547 — "Query does not contain an equality join from the data mart definition and none of the columns in the equality join from the data mart definition have a unique index" A closely related restriction covering n:m data mart references specifically.
A data mart's referenced table was omitted from the query with no protecting unique index — add the table or a unique index.