You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug #27659490 : SELECT USING DYNAMIC RANGE AND INDEX
MERGE USE TOO MUCH MEMORY(OOM)
Issue:
While creating a handler object, index-merge access
creates it in statement MEM_ROOT.
However when this is used with "Dynamic range access method",
as range optimizer gets invoked multiple times, mysql ends up
consuming a lot of memory.
Solution:
Instead of using statement MEM_ROOT to allocate the handler
object, use the local MEM_ROOT of the range optimizer which
gets destroyed at the end of range optimizer's usage.
0 commit comments