Informix Error -26514: Query contains more tables than data mart reference definitions
Cause and resolution
Query contains more tables than data mart reference definitions
This query was not accelerated because it contains more tables than the number of references in the data mart definitions. Informix offloads only queries fully contained in a single data mart.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26514 fires when a query isn't accelerated because it references more tables than any data mart's reference definitions cover — per the official guidance.
- The query has more tables than the data mart definitions' reference count, per the official guidance — the direct, only cause; Informix only offloads queries fully contained in a single data mart.
Solutions / Resolution
- No action needed to "fix" this — per the official guidance, such a query runs on the database server instead; broadening the data mart's reference definitions may help if acceleration is desired.
Examples
N/A
No specific triggering statement is documented beyond a query exceeding a data mart's table count.
Diagnostic Checks
- Compare the query's tables against the data mart's reference definitions, and broaden the data mart if acceleration is desired.
Related Errors / Related Topics
- -26512 — "No data marts are defined on this database" A related data-mart-matching diagnostic, on no data marts existing at all rather than one existing but not covering enough tables.
- -26515 — "Query does not contain a fact table of any data mart" A related data- mart-matching diagnostic, on the fact table not matching rather than table count.
- -26516 — "Query contains combination of tables not contained in any data mart" A related data-mart-matching diagnostic, on the table combination not matching rather than simply exceeding the count.
A query referenced more tables than any data mart's definitions cover — such queries run on the database server instead.