Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-5187

OOM happening when querying large datasets and using distinct

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      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.)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Atsushi Kugimiya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.