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

Speed up RowGroup data access methods reducing level of indirection.

    XMLWordPrintable

    Details

      Description

      RowGroup is the unit of the data sent around CS cluster. It is basically a set of records for fixed size data types + additional storage area for binary data, e.g. strings.
      Right now there are lots of RowGroup methods that access RowGroup fixed size data using extra level of inderection. Here is the example:

      return *((int64_t*) &data[offsets[colIndex]]);
      

      This expression uses extra assembly instruction to calculate the effective address.
      We want to remove offsets[colIndex] part of this and similar expressions in RowGroup code.

        Attachments

          Activity

            People

            Assignee:
            drrtuy Roman
            Reporter:
            drrtuy Roman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: