databend icon indicating copy to clipboard operation
databend copied to clipboard

chore: basic segment info at snapshot level

Open dantengsky opened this issue 1 year ago โ€ข 0 comments

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Introduces basic segment information like the number of blocks/ rows at the snapshot level. aims to improve scan task partitioning, and also offers potential benefits for the scheduling of compaction tasks.

Tests

  • [ ] Unit Test
  • [x] Logic Test
  • [ ] Benchmark Test
  • [ ] No Test - Explain why

Type of change

  • [ ] Bug Fix (non-breaking change which fixes an issue)
  • [x] New Feature (non-breaking change which adds functionality)
  • [ ] Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • [ ] Documentation Update
  • [ ] Refactoring
  • [ ] Performance Improvement
  • [ ] Other (please describe):

This change isโ€‚Reviewable

dantengsky avatar Feb 19 '24 00:02 dantengsky