Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Won't Fix
-
22.08.1, 6.4.6
-
ububts 20.04 LTS
Description
I set TotalUmMemory to 25%, but ExeMgr use far beyond usage memory.
Finally ExeMgr was killed by oom-killer.
I tried two sql on large datasets.
1. select distinct columnA, columnB, columnC from table.
2. select columnA, columnB, columnC from table group by columnA, columnB, columnC.
1. is OOM,
but 2. is MCS-2003: Aggregation/Distinct memory limit is exceeded.
I think 1. and 2. are similar query.
I think that 1. should return same message (MCS-2003: Aggregation/Distinct memory limit is exceeded.)
Thx for your suggestion. We will look into implementing it.
JFYI SELECT DISTINCT is not a simple rename for GROUP BY and it is completely different comparing to GROUP BY processing-wise. I suggest you to prefer GROUP BY than DISTINCT.
Did you try to enable disk-based aggregation to manage with the error message?