Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39652

Parallel Query: Query Plan: parallel table scan + group

    XMLWordPrintable

Details

    Description

      DRAFT

      We need to start making parts of the query plan parallel.

      A good first step would be:

      If we have a query plan in form:

        large table scan;
        temp-table-based grouping;
      

      We can parallelize it like so:

        Distribute-to-workers(large table scan);
        Merge group-by-table(workers);
      

      A parallel worker would get

      • a table to scan (MDEV-39638, MDEV-39489)
      • Scan chunk bounds (MDEV-39491)
      • an Item* condition to apply
      • .. todo something that copies data from source fields into temptable fields.
      • a group-by temporary table to put result into
      • Aggregate functions whose values to update.

      Attachments

        Activity

          People

            oleg.smirnov Oleg Smirnov
            psergei Sergei Petrunia
            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.