Optimize read iops caused by delta compact #6460
Labels
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
component/storage
severity/moderate
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Currently, delta compact can cause a lot of disk read ops. Because
readBlockForMinorCompaction
usePageReader::read(const std::vector<PageStorage::PageReadFields> & page_fields)
to read all columns data of the cftiny. And this read api does not combine the continuously reads together (another optimization opportunity).And write amplification is also very high, especially the write workload is distributed and the data volume is large.
The text was updated successfully, but these errors were encountered: