Informix Error -19850: Invalid OPT_SEEK_FACTOR value specified.
Cause and resolution
Invalid OPT_SEEK_FACTOR value specified.
The value for OPT_SEEK_FACTOR must range from 0 to 25.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-19850 fires when OPT_SEEK_FACTOR is set outside its valid range — per the official
guidance: 0 to 25.
- An
OPT_SEEK_FACTORvalue outside0to25, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set
OPT_SEEK_FACTORto a value between0and25, per the official guidance.
Examples
An out-of-range OPT_SEEK_FACTOR
SET OPTIMIZATION ENVIRONMENT OPT_SEEK_FACTOR '50';
Corrected
SET OPTIMIZATION ENVIRONMENT OPT_SEEK_FACTOR '20';
Diagnostic Checks
- Check the
OPT_SEEK_FACTORvalue against the0to25valid range.
Related Errors / Related Topics
- -19851 — "Invalid OPT_CPUCOST_FACTOR value specified." A related optimization
environment-variable error, about
OPT_CPUCOST_FACTOR's0-20range instead.
OPT_SEEK_FACTOR was set outside 0 to 25 — use a value in that range.