Informix Error -26404: The query cannot be accelerated. Fallback to running the query on the database server is disabled.
Cause and resolution
The query cannot be accelerated. Fallback to running the query on the database server is disabled.
Is is not possible to accelerate the query and the query cannot be sent to the database server for processing.
ACTION To enable the query to run on the database server, run the following statement and then run the query again: set environment use_dwa 'fallback on'
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26404 fires when a query can't be accelerated and fallback to the database server is disabled — per the official guidance.
- The query can't be accelerated, and
use_dwafallback is disabled, per the official guidance — the direct, only cause.
Solutions / Resolution
- Run
SET ENVIRONMENT use_dwa 'fallback on', per the official guidance, then run the query again.
Examples
Enabling fallback
SET ENVIRONMENT use_dwa 'fallback on';
Diagnostic Checks
- Check the current
use_dwafallback setting, and enable it if the query needs to run on the database server when acceleration isn't possible.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26404 in this set yet.
A query couldn't be accelerated and fallback was disabled — enable fallback with
SET ENVIRONMENT use_dwa 'fallback on'.