In this blog post, let’s learn about the error message “6020 Optimizer has reached its memory threshold; the query plan generated might not be optimal.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
6020 Optimizer has reached its memory threshold; the query plan generated might not be optimal.
Reason for the Error
The defaults attribute MEMORY_USAGE_SAFETY_NET is set and the MXCMP process memory reached the set threshold.
Solution
None