[MCOL-3759] Speed up RowGroup data access methods reducing level of indirection. Created: 2020-02-04  Updated: 2022-03-29  Resolved: 2021-07-03

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc, writeengine
Affects Version/s: None
Fix Version/s: 6.1.1

Type: New Feature Priority: Minor
Reporter: Roman Assignee: Roman
Resolution: Won't Do Votes: 0
Labels: None


 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.


Generated at Thu Feb 08 02:45:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.