Skip to content

Bulk doc value loading at codec level #128445

@martijnvg

Description

@martijnvg

Implement bulk doc values implementations that push down value loading to doc values codec level. This should be possible for our custom doc value codec that we use for logsdb and tsdb and with the compute engine would allow for bulk loading.

  • Make use of low level implementations details of the codec when loading blocks. The tsdb doc value codec is organized values / ordinals in blocks of 128 values each. Today this gets decoded into an array which gets used in intermediate calls to public doc value apis. We could chose to append all 128 values in one operation to block loader builder when possible.
  • Take another look at explicit vectorization and see whether this can be applied to value loading. Today we rely on auto vectorization, which maybe doesn't get applied all the time.

A first step is to push down doc value loading to the es819 doc values codec and add bulk loading support to es819 doc value codec. This is a relative large tasks but can be divided into smaller tasks:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions