Implement a fast row container reader to dump rows from disk #45125
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Enhancement
The current implementation of reading rows from
RowContainer
is not fast enough. The following function is used to dump a chunk:It would be better to pipeline the
format.ReadFrom
(which is blocked by disk) and theformat.toRow
(which is blocked by CPU).Also, with the assumption that a whole chunk is stored together tightly, we can get the first row offset and use it for the whole chunk.
The text was updated successfully, but these errors were encountered: