lance-format / lance-format/lance
Combine mini-block metadata into a single buffer
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.1k
- Forks
- 852
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 272
Description
The metadata for mini-blocks is very small (typically less than 64 bytes per 8MiB disk page). At initialization time we often have to issue many small reads to read the metadata. In practice this isn't quite as bad as it seems since we default to 1Mi rows per fragment and so most columns will never have more than one disk page. Still, we do have to perform one read per column. It might be worth it to either store the metadata in the fragment metadata or in some shared global buffer to reduce the number of IOPS that must be performed to initialize the search cache.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating mini-block metadata initialization and search-cache reads, then compare storing metadata in fragment metadata with a shared global buffer. Done means reducing initialization I/O operations without losing metadata access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100