Evaluate using Row-Major Storage instead of RowRef/RowRefList in Hash Table · Issue #97883 · ClickHouse/ClickHouse · GitHub
Skip to content

Evaluate using Row-Major Storage instead of RowRef/RowRefList in Hash Table #97883

Description

@m-selmi

Company or project name

ClickHouse

Use case

Build-side rows are stored via RowRef/RowRefList that hold pointers to build side columns. During probe, retrieving a matched row's projected columns requires touching each build side column separately. With many projected columns this might cause some overhead.

Describe the solution you'd like

Experiment with storing build-side rows inline in the hash table in row-major format, packing all projected column values into a single contiguous buffer per row. Evaluate if this could improve hash table probe performance.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Fields

No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions