Informix Error -26513: Data mart is virtual but the AVOID_EXECUTE directive is not set
Cause and resolution
Data mart is virtual but the AVOID_EXECUTE directive is not set
This query was not accelerated because the data mart it matches to is a virtual data mart. To match against virtual data marts, the AVOID_EXECUTE optimizer directive or explain setting must be set.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26513 fires when a query isn't accelerated because it matches a virtual data mart
without the AVOID_EXECUTE directive set — per the official guidance.
- The matched data mart is virtual, and
AVOID_EXECUTEisn't set, per the official guidance — the direct, only cause; matching virtual data marts requires theAVOID_EXECUTEoptimizer directive or explain setting.
Solutions / Resolution
- Set the
AVOID_EXECUTEoptimizer directive (or explain setting), per the official guidance, to match against virtual data marts.
Examples
N/A
No specific triggering statement is documented beyond a virtual-data-mart match without
AVOID_EXECUTE.
Diagnostic Checks
- Check whether the matched data mart is virtual, and set
AVOID_EXECUTEif matching against it is intended.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26513 in this set yet.
A query matched a virtual data mart without AVOID_EXECUTE set — set the directive to
match against virtual data marts.