speed up the merge global topn for partitioned table
Open
component/statistics
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
It costs minutes even hours when the user has 8000 partitions.
We need to speed up this process.
Contributor guide
Research direction
The issue only identifies the merge-global-top-N process for partitioned tables and reports minutes-to-hours with 8,000 partitions; no files, tests, or entry points are named. First locate the implementation and its tests, then determine the current bottleneck. Done means the process is measurably faster for tables with many partitions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100